>How can I find out how many bytes there are in a varbinary field using T-SQL code?
>Thanks,
>Einar
DECLARE @test varbinary(max)
SET @test = CAST('aaaa' as varbinary(max))
SELECT LEN(@test)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.