Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Hi,Is there a way to convert the date time column to MM/DD/YY HH:MM AM/PM format.I triedSelect Convert(varchar , Getdate(),100). But this is not in MM-DD-YY format..Thanks in advance..
RyanRandall
Master Smack Fu Yak Hacker
1074 Posts
Posted - 2008-04-07 : 11:15:52
No doubt there are better ways, but here's one way...
Or the stock answer is that you should do formatting like this in your front-end.Ryan Randall Solutions are easy. Understanding the problem, now, that's the hard part.
Hi Ryan! Nice to have you back.Where have you been?E 12°55'05.25"N 56°04'39.16"
RyanRandall
Master Smack Fu Yak Hacker
1074 Posts
Posted - 2008-04-08 : 04:39:36
Hi PesoWorking too hard is the short answer. I had a quiet period and was a bit bored yesterday - I'm a bit rusty when it comes to answering questions though Back to the grindstone today, I fear... Ryan Randall Solutions are easy. Understanding the problem, now, that's the hard part.