Getting date string from getdate method

Posted by Muhammad Akhtar on Stack Overflow See other posts from Stack Overflow or by Muhammad Akhtar
Published on 2010-06-08T20:38:24Z Indexed on 2010/06/08 20:42 UTC
Read the original article Hit count: 306

Hi, I need date string using sql statement like..

select getDate()

this will return 2010-06-08 16:31:47.667

but I need in this format 201006081631 = yyyymmddhoursmin

How can I get this?

Thanks

© Stack Overflow or respective owner

Related posts about sql

Related posts about sql-server