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
How to list all tables in the database using odbc_tables()?
What is snapshot report?
How to use subqueries in the from clause in ms sql server?
How secure is sql server database?
How to set the current database in ms sql server?
Explain about integration services of Microsoft SQL server?
How do I clean up sql server transaction log?
What is the difference between NOROW and LOCKROW?
How to find table changes in sql server?
What are the 3 types of schema?
How to use old values to define new values in update statements in ms sql server?
Explain primary key, foreign key and unique key?
How to get the definition of a user defined function back?
What is the process of indexing?
What are the fixed server level roles? : sql server security