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 / swapan

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

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to list all objects in a given schema?

558


What is sql server programming?

541


Can you explain important index characteristics?

518


Explain the database you used in your final year project?

532


Different types of keys in SQL?

616






What is the use of keyword with encryption. Create a store procedure with encryption?

573


Explain the functionalities that views support?

684


How to recreate an existing index in ms sql server?

540


Your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files?

607


Where are sql server usernames and passwords stored in the sql server?

605


Tell me the use of keyword with encryption. Create a store procedure with encryption?

542


What are the authentication modes in sql server? How can it be changed?

591


explain databases and sql server databases architecture? : Sql server database administration

511


What is the full form of ddl?

499


Why I have to use stored procedures?

586