Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass an empty Date to SmallDatetime in SQL
Message
From
11/11/2003 08:22:09
 
 
To
11/11/2003 07:49:54
Peter Wagner
Point Informática Ltda.
Limeira, Brazil
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00848564
Message ID:
00848654
Views:
15
Hi Peter,
try this:
IF !EMPTY(cDado)	&& p/ campo sem data ficar sem data no SQL
    cDado = DTOC(cDado)
ELSE
    cDado = 'NULL'
ENDIF
FABIO
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform