Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie question on Tinyint type field
Message
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01031069
Message ID:
01031071
Views:
12
This message has been marked as the solution to the initial question of the thread.
>I added a field of type Tinyint (which will be used as logical .T./.F. in VFP app) to an existing table. When I retrieve a bunch of records, all existing records have value .T.. In SQL Server table they are all .NULL. I am thinking about deleting this field and entering it again to make all existing records to be value .F.. How would I do it? That is, when I add a new field to the SQL Server table, what should I do to make the existing fields 0 and not .NULL.?

You can specify DEFAULT for the column to be 0.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform