Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HOLY CRAP! Is no one using VFP and SQL2008?
Message
 
À
14/02/2009 13:58:30
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01381680
Message ID:
01381825
Vues:
66
>>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".
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform