Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which Date Type in SQL Server?
Message
From
30/04/2018 08:59:36
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01659629
Message ID:
01659641
Views:
51
>
>Notice for DATETIME datatype on MSSQL - mininal value is 1753-01-01.
>If values of datetime on VFP side is less then 1753-01-01, then datatype on MSSQL must be DATE or DATETIME2.
>
>MartinaJ

Oh yes good point. I didn't have a need for times before 1996 ever so I always forget that. Speaking of that, I would suggest absolutely setting the DateTime(2), Date to accept NULL.
Ç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