Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine # of nonblank text fields
Message
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Determine # of nonblank text fields
Divers
Thread ID:
00951741
Message ID:
00951741
Vues:
47
I'm trying to get a count of records in a table where one field is not empty of null. The problem is that field is a text field and it I can't use the following:
Select count(procID) from coProc where coProc.isactive=1 and PatientInstr is not null and patientInstr > ' '
Anybody know another way, I tried datalength(patientInstr)>0 but that returned all rows.

Thanks

Kirk
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform