DATALENGTH (1) 썸네일형 리스트형 [SQLServer] varbinary 컬럼 용량확인함수 - datalength datalength 함수를 이용하면 varbinary 컬럼의 용량을 byte 로 확인할 수 있다. select id , file_data -- varbinary column , datalength(file_data) as file_byte_size -- 용량확인 from [dbo].[tb_file] order by id desc 환경정보 SQL Server 2012 이전 1 다음