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 / shailesh s. deshmukh

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

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is executereader?

727


Why the trigger fires multiple times in single login?

884


What is raid? : SQL Server Architecture

807


What are the different types of stored procedures?

803


Define synonym?

908






What is the function of sql server agent windows service?

753


Explain contrast amongst grouped and non-bunched records?

716


what is the sql equivaent of the dataset relation object ?

1730


What stored by the model?

719


What is the cartesian product of table?

733


How to create function with parameter in sql server?

771


How to use “drop” keyword in sql server and give an example?

862


how you can get the list of largest tables in a database? : Sql server administration

725


what are the reporting service components in SSRS?

139


What is the difference between migration and upgradation in sql server?

801