Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting exact datetime form sql database table
Message
From
30/05/2005 07:19:56
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01018497
Message ID:
01018507
Views:
10
>Hey all,
>
>I've got an sql table containing a datetime field yyyy-mm-dd hh:mi:ss.mmm. When I do a query form VFP I get the datetime in format yyyy-mm-dd hh:mi:ss but now I realy need to get the milliseconds too. Is there a way ??
>
>Greetz,
>Hans
SELECT CAST(GETDATE() AS DECIMAL(19,12)) DAYS
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform