Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
T-SQL find all records with a text field which is = ' '
Message
De
24/08/2006 15:34:57
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
À
24/08/2006 15:16:50
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01148331
Message ID:
01148343
Vues:
25
>I need to find all records in a table in which a text field contains only spaces. Any suggestions?
>
>Thanks
>
>Glenn



Select * from table where LEN(LTRIM(RTRIM(field))) = 0
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform