Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server Using ADO
Message
 
 
To
01/06/2004 21:12:44
Maltin Lacsina
Angeles Electric Corporation
Angeles, Philippines
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00909093
Message ID:
00909107
Views:
12
This message has been marked as a message which has helped to the initial question of the thread.
Hi Maltin,

The 01/01/1900 is "empty" date because SQL Server stores all dates as offset from that date. It's common practice in SQL Server to use Null values to represent unknown/missing dates.

>I'am using a ADO to access the database and when I use the statement/command to insert a record like this;
>
>oRS = oCon.Execute("Insert Into Sample (Name, BDate, TranDate) Values ('Name', '01/20/1975', '')")
>
>then when I view that record the TranDate has a value of 01/01/1900 how can I control that I want the TranDate to be empty not 01/01/1900.
>
>Is there a way that an empty date should store an empty date instead of 01/01/1900?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform