Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Length of Text Field
Message
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Titre:
Length of Text Field
Divers
Thread ID:
00922564
Message ID:
00922564
Vues:
60
I am trying to create a Select statement to get any records where a text field is not blank. For a character field, I can do:

SELECT field1 FROM table1 WHERE LEN(field1) > 0

but if I try to do the same thing with a text field, I get:

"Argument data type text is invalid for argument 1 of len function."

How do I test the length or not empty of a text field? Thanks in advance for any assistance.

Kind Regards,

Mat
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform