Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Varchar(max) column not being updated from Windows XP
Message
De
04/04/2015 16:18:50
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01617499
Message ID:
01617788
Vues:
61
>>I can't remember all the details, but I seem to recall issues with dates, varchar(max), xml not being propagated to FoxPro.
>
>Right, varchar(max) does not work with the Native SQL driver (10 and 11). You need to use Text columns instead.
>
>Simple date column works with Native (10 and 11), but comes across as a string in the SQL ODBC driver. It looks like a date, but your code will barf on it.
>
>SQL ODBC driver works with Datetime and Smalldatetime and varchar(Max).
>Native 10 and 11 driver works with Datetime and Smalldatetime and Date.

And in SQL2012 there's a datetime2 with resolution to milliseconds (or better, don't remember how many decimals I saw), which comes down as string (c(20) IIRC) unless I cast it as old datetime.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform