Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Check Constraint for an
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00950957
Message ID:
00951257
Views:
6
>Hello everyone,
>
>I am trying to write my first check constraint in SQL server. I want to make sure that the column in question is not empty. In Fox, I would say something like :-
>
>
>And Not Empty(tablename.columnname)
>
>
>What is the best way to express this in SQL server using T-SQL ?
>
>Thank you!
>
Angie,

Look at the DATALENTH() function in SQL-DOL. Also if the field accepts null values you'd use IS NULL.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform