Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change SQL Server 2005/Reporting services Datetime display format

Status
Not open for further replies.

JtheRipper

IS-IT--Management
Oct 4, 2002
274
GB
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top