Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mssql date
Message
 
To
30/11/2007 00:45:42
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01272330
Message ID:
01272356
Views:
15
>In Ms Sql Server, what is the value to put for empty date?
>
>In VFP, we put UPDATE stock SET receivedOn = {}
>
>But in Ms Sql, it seem did not work.
>
>TIA.

There is no "Empty Date" concept in MS SQL Server. There is DATETIME and SMALLDATETIME, storage type of 2-byte and 4-byte integers respectively.

They can either have value or not (NULL or Valid date).

As far as Mapping to FoxPro is concerned, they always map to DATETIME FoxPro type and if you update RemoteView column with {} you will end up with date value of "01/01/1900" or "31/12/1899" (depends on other vfp and SQL settings)


Cheers,

Zoran
Previous
Reply
Map
View

Click here to load this message in the networking platform