system date format is "yy-mm-dd"
"select getdate()" ----> 2009-01-24 20:03:28.513
if i write "select dateadd(dd,2,getdate())
".it returns "2009-01-26 19:59:38.340"...my question is dat
could it be possible to retrive da date in da format "26
jan 2009 ...."??

Answer Posted / moid

select convert(varchar(20),getdate(),100)

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to skip remaining statements in a loop block using continue statements?

535


Sql studio em braces a variety of capabilities, but will I need them all? Is there a simpler product ? : sql server management studio

515


Relational calculus is what type of language?

569


Can an entity have two primary keys?

516


Explain about SQLOS?

576






What are the approximate numeric data types?

527


What xml support does the sql server extend?

520


Explain mixed authentication mode of sql server?

539


Explain what are the basic functions for master, msdb, model, tempdb databases?

524


What is SQL Azure Fabric?

92


Differentiate between truncate vs delete in mssql?

518


Differentiate between a having clause and a where clause.

515


Which Model uses the SET concept

573


How you can change the database name in SQL SERVER?

660


Can you explain powershell included in sql server 2008?

499