Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default Value Zero Issue
Message
From
08/02/2003 05:08:50
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00750794
Message ID:
00750998
Views:
21
>I have a table with an int column and a default value set to zero.
>Table is in a DBC.
>
>I do SQL-Insert on the table and never mention the int column. But if I SQL-Select "select * from mytable where intcol=0" I get no results. Manually entering a zero in the column gets the rows returned, but it's like VFP is ignoring the default value. The table column has a regular index on it, accepts NULLs and just has 0 as a default value.
>
> ?

I can't reproduce this (returns all with no value entered).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform