sql date
Is there a sql way to convert data "01/04/2008 1430" to appear as 2008/04/01?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Preeja P PrabhakarPosted May 22, 2009, 4:29 AM
Try this query
select convert (varchar (10),getdate(),102)as[YYYY.MM.DD]