Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default Value Zero Issue
Message
De
08/02/2003 05:08:50
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00750794
Message ID:
00750998
Vues:
16
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform