Dev::SQL Server

SQL Server 에서 Base64 Decoding

bluemong 2011. 5. 12. 16:54
반응형

declare @xmlData XML

 

set @xmlData = cast('<data>' + 'Base64 data'  + '</data>'as xml)

 

select convert(varchar(MAX),  @xmlData.value('(data)[1]', 'varbinary(max)'))

'Dev::SQL Server' 카테고리의 다른 글

DB 미러링 제거  (0) 2012.09.04
추가 인스턴스 TCP Port 변경 및 접속  (0) 2012.09.04
Index 조각화된 상태 조회  (0) 2010.11.30
Index Rebuild, Reorgnize  (0) 2010.11.30
I/O 비용이 가장 높은 Query 조회  (0) 2010.11.30