Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FoxPro SQL Tables and testing dates for Empty or Null
Message
De
06/12/1998 14:24:13
Andy Roth
Neyenesch Printers
Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
FoxPro SQL Tables and testing dates for Empty or Null
Divers
Thread ID:
00164563
Message ID:
00164563
Vues:
107
I am attempting to work with the SQLEXEC() command and test a SQL table for an empty or Null value in a Date-Time field

I have tried
SQLEXEC(1,'SELECT bbjthead where closedate=NULL','test')
SQLEXEC(1,'SELECT bbjthead where ISNULL(closedate)','test')
SQLEXEC(1,'SELECT bbjthead where closedate={}','test')
SQLEXEC(1,'SELECT bbjthead where closedate=.NULL.','test')

all return -1

However this works so I know my connection opening the table is correct
SQLEXEC(1,'SELECT bbjthead where ljob >"12000"','test')

I realize I must test for Null and {} in SQL Tables where only
EMPTY()was needed in 2.6 FoxPro Tables

Any suggestions?
Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform