Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check the number of bytes passed in a binary parameter
Message
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01076220
Message ID:
01076381
Views:
22
Sergey,
Thank you very much. That will work.

Einar

>If you declare parameter varbinary(8000) than you can check what is the lenghth of the value passed in.
>
>>I pass a binary parameter to a SP something like this:
>>
>>@Data binary(254)
>>
>>
>>I have noticed that if I from my application pass a byte array with more bytes (more than 254 bytes) an exception is not raised (as I would expect.
>>Is there a function I can use to check the number of bytes in a passed binary parameter?
Semper ubi sub ubi.
Previous
Reply
Map
View

Click here to load this message in the networking platform