We Help You To Renovate Your Blogger Blog With Awesomeness!

Showing posts with label Convert DateTime to Date. Show all posts
Showing posts with label Convert DateTime to Date. Show all posts

Sunday, October 26, 2014

  • How to convert DateTime to Date VarChar





    This line of code do the job


    CONVERT(varchar(10), [MyDateTimecolumn], 20)
     
     
    eg: select PKID,CONVERT(varchar(10), createdDate, 20) from tempTable
     
     
     
     
     
  • Copyright @ 2013 Code Snippets.