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
which backup strategy you are following at ur company
What is sleeping status in sql server?
What are sub reports?
What is sql or structured query language?
Name some of the open source software that you can use in alternative to SSR?
Explain transaction server explicit transaction?
What is the name of the system variable that returns the number of rows affected by a SQL statement?
What are dml triggers and types of dml triggers?
Explain SSRS Architecture?
What command is used to create a database in the sql server and how?
How many types of triggers in sql server?
can any body tell me how to know the password of current user in sql server
what is the difference between openrowset and openquery?
What are the differences between left join and inner join in sql server?
How do I trace a query in sql server?