Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check the number of bytes passed in a binary parameter
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01076220
Message ID:
01076381
Vues:
23
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform