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 / bipin singh
Try this this will works fine.
select convert(varchar,dateadd(day,2,getdate()),106)
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
what are defaults? : Sql server database administration
How to implement one-to-one, one-to-many and many-to-many relationships while designing tables?
How to insert data into an existing table?
How can we use ConnectorJ JDBC Driver with MS SQL?
How to find the list of fixed hard drive and free space on server?
What are the advantages of paper records?
How do you use a subquery to find records that exist in one table and do not exist in another?
What are the acid properties?
Can you please differentiate between a primary key and a unique key?
What is sql server profiler?
How many types of subqueries are there in sql server?
What is the importance of three tier architecture?
What is checkpoint in sql server?
How do use Having,Group by,Group function in SQL?
How to find the second highest salary of an employee?