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 / moid
select convert(varchar(20),getdate(),100)
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Can anyone tell that the extra features are there in SQL SERVER 2008 that are not available in previous versions .
What is the importance of concurrency control?
What is the difference between a primary key and a unique key? Are they the same?
What is the use of group by clause?
How to update a field in SQL after ALTERING a row?
What are the advantages of partitioning?
How do I edit a stored procedure in sql server?
What is shrink log file?
What are triggers? How many triggers you can have on a table? How to invoke a trigger on demand?
How to convert numeric values to integers in ms sql server?
What is an etl file?
Why Master database is required?
How to move database physical files in ms sql server?
How to change the password of a login name in ms sql server?
What are the benefits of normalization?