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 / senthil kumar.m
select convert(varchar,getdate(),106)
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What are the advantages of partitioning?
explain different types of backups avaialabe in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration
How to delete multiple rows with one delete statement in ms sql server?
How does a profiler work?
What is a schema in ms sql server 2005?
System variable and temporary variables
Explain about integration services of Microsoft SQL server?
What is isolation levels?
What is the use of floor function in sql server?
How to access the deleted record of an event?
Explain unique key in sql server?
What is the purpose of grouping data in a report?
What the different components in replication and what is their use?
What is the use of sign function?
Does windows server 2016 come with sql server?