Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using LEN on a Text field
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Application:
Web
Divers
Thread ID:
01380482
Message ID:
01519237
Vues:
31
>>>>How can we use LEN() on a Text field in SQL Server? I see this works for a Char field but what about a Text field?
>>>
>>>Do not use Text fields. use n/varchar(max) instead.
>>
>>What will you use in SQL 2000 to get length of the Text field?
>
>DATALENGTH
>
>
>BTW in these very rare cases when I have Text fields in the table I don't care about its length :-)

Thanks.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform