nickdaniels
MIS
I have the following piece of SQL which takes a datetime database column containing values like 13/11/2001 07:25:23
and attempts to convert it into a date 13/11/2001.
SELECT
convert(smalldatetime,(convert(varchar,qrepository.dbo.contact.createtime,103)))
FROM
qrepository.dbo.contact
I get the message '[Microsoft][ODBC SQL Server Driver]Error in row0'. Does anyone have any suggestions?
cheers,
Nick
and attempts to convert it into a date 13/11/2001.
SELECT
convert(smalldatetime,(convert(varchar,qrepository.dbo.contact.createtime,103)))
FROM
qrepository.dbo.contact
I get the message '[Microsoft][ODBC SQL Server Driver]Error in row0'. Does anyone have any suggestions?
cheers,
Nick