January 18, 2005 at 4:57 am
Hi, im fairly new to SQL, and as such I am having problems with the DATETIME fields and especially inserting data into them. I have a intranet site running ASP pages sending data to the SQL database, the dates are in the '25-01-2005' format and the time in '12:00' format, but they are not entering into the DATETIME fields, what do i need to do to get them to enter??
help 😮
January 18, 2005 at 5:32 am
Try submitting the data in the format
'yyyy-mm-dd hh:mm:ss'
Phil
January 18, 2005 at 5:58 am
See, if this helps:
http://www.karaszi.com/sqlserver/info_datetime.asp
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply