Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HOLY CRAP! Is no one using VFP and SQL2008?
Message
 
To
14/02/2009 13:58:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01381680
Message ID:
01381825
Views:
67
>>I've been asking this question for awhile now and have yet to receive any good answers.
>>
>>So, now I've finally installed SQL2008 on my machine and I built a table and used the new DATE datatype.
>>
>>In VFP I ODBC'd the table down and GUESS WHAT?
>>
>>Right! Exactly!
>>
>>The DATE datatype gets brought down to VFP as, wait for drum roll... A FREAKING VARCHAR.
>>
>>A VARCHAR!
>>
>>It's a GD VARCHAR.
>>
>>Boyz, we are screwed now. I'm running VFP 9 SP2, so there's nowhere to go to get this one fixed.
>
>Jeff,
>I have missed your question particularly but I have posted various times to various forums that it is the fault of VFP not to interpret return values right. Use SQLNCLI10 and you should be good to go. If you use ODBC driver (SQL Native Client 10.0) then you get the date right but fail on some other new types like xml, varchar(max). Best driver is SQLNCLI10 IMHO. If you use it along with a cursoradapter you wouldn't have problems.
>Cetin

Cetin,

Can you post the exact connection string that you use? I can't make it work with "SQLNCLI10".
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform