Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datetime size
Message
 
À
20/07/2009 11:21:20
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01413375
Message ID:
01413502
Vues:
51
Hi Dragan,

>From what I knew and what I just re-read, the datetime field in a SQL server table has the same structure as in VFP - 4 byte integer to represent the date, 4 bytes integer for the milliseconds.

SQL server stored the milliseconds. VFP only stores seconds. That's the reason why you get an update conflict error when you change a datetime field from VFP and use the "modified fields and key fields" WHERE clause for the view or cursor adapter.

BTW <g>, there isn't _the_ datetime format in VFP. VFP uses at least two different formats, one in DBF files and one for MEM files.
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform