Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Questions re planning for SQL server
Message
De
22/05/2018 11:12:13
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
22/05/2018 11:02:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Divers
Thread ID:
01660042
Message ID:
01660251
Vues:
68
>So date type data comes down from SQL server as a string literal? so if pulling down data, the where clause would be something like (for the last 10 years):
>
>...and funding_date > '2008-05-22'
>
>and if funding_date is one of the resulting columns, does it get converted to date format by the ODBC driver or is it also a string literal?

Datetime. Other date formats... not so good, specially datetime2 which comes down as, IIRC, a memo.

The use of string literals is required in the SQL commands only, because there are no special date constants, so SQL takes these and converts them while parsing the statement.

(only this, dunno about the rest - the tricky part is what is traveling over the wire, is that encrypted or not?)

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform