Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many bytes in a varbinary field?
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01284601
Message ID:
01284641
Vues:
13
>>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)
>
Thanks Borislav.
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform