Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if field in SQL Server table support NU
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00173848
Message ID:
00174168
Vues:
25
And, in case you find yourself using ADO, here is how you can test to see if a column supports nulls:

#DEFINE ADFLDISNULLABLE 32
nAttributes = oRecordset.Fields("myfield").Attributes
If Bittest(nAttributes,5)
*/ Field supports nulls
Else
*/ Field does not support nulls
Endif
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform