Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FoxPro SQL Tables and testing dates for Empty or Null
Message
De
07/12/1998 13:38:15
Andy Roth
Neyenesch Printers
Californie, États-Unis
 
 
À
07/12/1998 02:56:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00164563
Message ID:
00164864
Vues:
30
>The correct SQL syntax is usually :
>
>SQLEXEC(1,'SELECT bbjthead where closedate is null','test')
>
>SQL Server/Oracle

Thanks. That worked.

Now I'm trying to test for and empty date time field
and getting a -1 on the SQLEXEC()

SQLEXEC(1,'SELECT bbjthead where closedate is null OR closedate ={}','test')

Once I get that I will test for clsedate is null Or closedate={} and
the same 2 possible conditions for another field cancldate

SQLEXEC(1,'SELECT bbjthead where (closedate is null OR closedate ={}) AND(cancldate is null OR cancldate ={}) ','test')

Along those lines is it possible to open a SQL Database and use the
Query build native to FoxPro to build queries then edit them later?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform