Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
INSERT DateTime
Message
 
 
To
30/04/2004 15:22:49
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00899909
Message ID:
00899913
Views:
16
>Hi,
>
>I'm having trouble using an SQL INSERT statement to insert the time into a DATETIME field in a FoxPro table. ANy ideas of the syntax? Thanks!
>
Tim,

What seems to be a problem? Here're some examples.
INSERT INTO mytable (dtField) VALUES (DATETIME(2004,01,12,12,45,00))
INSERT INTO mytable (dtField) VALUES ({^2004/01/12 12:45:00})
INSERT INTO mytable (dtField) VALUES (ltDateTimeVar)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform