Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine if field in SQL Server table support NU
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00173848
Message ID:
00174168
Views:
24
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
Previous
Reply
Map
View

Click here to load this message in the networking platform