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 the differences between triggers and stored procedures?
Can two tables have the same primary key?
How many types of objects are there?
What is the difference between lock, block and deadlock? : sql server database administration
how will add additional conditions in sql?
What are the rendering extensions of ssrs?
What are .mdf files?
What is replace and stuff function in sql server?
How to rename an existing column with the "sp_rename" stored procedure in ms sql server?
What is query cost in sql server?
What do you understand by replication in sql server?
Explain the concepts and capabilities of sql server?
What's new in sql management studio for sql server? : sql server management studio
How sql server executes a statement with nested subqueries?
How to specify the collation for a character data type in ms sql server?