Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Questions re planning for SQL server
Message
From
22/05/2018 11:12:13
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
22/05/2018 11:02:11
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01660042
Message ID:
01660251
Views:
67
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform