Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date default value in sqlserver
Message
From
07/09/2007 16:16:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/09/2007 13:02:39
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
01253060
Message ID:
01253130
Views:
25
>i use sqlserver 2000 and i noticed that when date is empty, sqlserver fills it with 01/01/1900
>how to have vfp " / / " empty date when receving datas from sqlserver ?

You can't have empty datetimes on other backends. Instead change your datetime field to accept nulls and send/receive null to mean empty.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform