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 / swapan
select convert(varchar(20),getdate()+int,100)
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Write a SQL query to delete a table?
What is user defined stored procedures?
What are difference between Cluster index and Non-Cluster index?
What is snapshot replication?
What are horizontal and vertical scaling?
What are the advantages of user defined function?
What the different types of Replication and why are they used?
Do you know the capabilities of cursors?
How do I start sql server agent automatically?
How to create a stored procedure with a statement block in ms sql server?
What is blocking and how would you troubleshoot it? : sql server database administration
What is rtm version in sql server?
What options are there to delete rows on the publisher and not on the subscriber? : sql server replication
What extended events?
What happens to a trigger with multiple affected rows?