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 / deepa
select getdate()
select Dateadd(dd,2,getdate())
select convert(varchar(12),Dateadd(dd,2,getdate()),106)
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What encryption security is available in sql azure?
What is the minimum and maximum number of partitions required for a measure group? : sql server analysis services, ssas
Who developed sql server?
In case you have filters in your report, when filters will be applied in cached report instance?
Would you store your query in a ssrs report or a database server? State the reason why?
What is global temp table?
What is deploy, process and build? : sql server analysis services, ssas
What are some examples of schemas?
What is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure?
What is update_statistics command?
How do you clear a log file?
What is the full form of ddl?
What are a scheduled jobs?
What are recommended options to be used while using db mirroring? : sql server database administration
How to create a view on an existing table in ms sql server?