JtheRipper
IS-IT--Management
Hi there,
I have a table in SQL Server with a datetime field. I got the data from Oracle using the import wizard. The data looks as follows in SQL Server:
2006-08-07 10:40:00.000
2006-08-07 10:45:01.000
How can I change this to display as:
10:40:00.000 2006-08-07
10:45:01.000 2006-08-07
In SQL Server and SQL Reporting services (2005)
In Oracle I can use the to_char function, but am having problems with SQL's cast/convert functions.
Any help will be much appreciated.
Thanks,
Jaco
I have a table in SQL Server with a datetime field. I got the data from Oracle using the import wizard. The data looks as follows in SQL Server:
2006-08-07 10:40:00.000
2006-08-07 10:45:01.000
How can I change this to display as:
10:40:00.000 2006-08-07
10:45:01.000 2006-08-07
In SQL Server and SQL Reporting services (2005)
In Oracle I can use the to_char function, but am having problems with SQL's cast/convert functions.
Any help will be much appreciated.
Thanks,
Jaco