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
What is data source document?
How to apply filtering criteria at group level with the having clause in ms sql server?
What information is maintained within the msdb database?
what is the information that can be stored inside a bit column? : Sql server database administration
What is partitioned view?
How do I edit a stored procedure in sql server?
How to list all tables in the database using odbc_tables()?
What is the difference between row_number and dense_rank?
explain different levels of normalization? : Sql server database administration
Where do you find the default Index fill factor and how to change it?
What is db stored procedure?
What are the system database in sql server 2005?
What is check constraint in sql server?
What are data regions?
Define outer join in sql server joins?