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
can we have a nested transaction? : Sql server database administration
Write a SQL query to make a column as unique?
Tell me the use of keyword with encryption. Create a store procedure with encryption?
What is the full form of dql?
What is checkpoint in sql server?
What is the meaning of resultset type_scroll_insensitive?
What is role playing dimension with two examples? : sql server analysis services, ssas
What is use of except clause?
What is create command?
Name few endpoints exposed by ssrs 2012?
How to return the top 5 rows from a select query in ms sql server?
What are the differences between “row_number()”, “rank()” and “dense_rank()”?
Can we join two tables without primary key?
What is an identity?
What is correlated subquery in sql server?