Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server 2008 Date Field
Message
De
05/02/2009 10:23:07
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
05/02/2009 09:24:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01379346
Message ID:
01379497
Vues:
56
>>>Does anyone have any experience with the date field that was added to SQL Server 2008?
>>
>>What is the question that requires experience? It is a date field (like date only version of datetime).
>>If you would ask:
>>-Why you get it back as a character value then I would say my guess would be that you are using and older version's driver.
>>-If it supports 'empty' no it doesn't, defaults to 1/1/1900.
>>-Its range, from Jan 1, 1 to Dec 31,9999.
>>-Accuracy, one day, storage 3bytes.
>>
>>Nothing else special about it I think.
>>Cetin
>
>Thanks for responding.
>When you say older driver are you refering to the ODBC driver?

No not specifically ODBC but the ODBC or OLEDB for SQL2000, 2005. ie:
handle = SQLSTRINGCONNECT('Driver={SQL Server Native Client 10.0};'+;
   'Server=.\sql2008;Database=myDb;Trusted_Connection=yes;')
works while
Driver={SQL Server Native Client}
Driver={SQL Server}

do not. Older drivers have problems with new data types.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform