Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many bytes in a varbinary field?
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01284601
Message ID:
01284679
Views:
11
>>How can I find out how many bytes there are in a varbinary field using T-SQL code?
>
>I would use DATALENGTH() function.

Thanks Sergey. In my case DATALENGTH() returned the same value as LEN(), but I noticed that BOL also sugested to use DATALENGTH().

Einar
Semper ubi sub ubi.
Previous
Reply
Map
View

Click here to load this message in the networking platform