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 / bipin singh
Try this this will works fine.
select convert(varchar,dateadd(day,2,getdate()),106)
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How to convert character strings into numeric values?
Why is replication required on the sql server?
How can we migrate from SQL server to SQL Azure?
What are the features of Embedded SQL
How to attach adventureworkslt physical files to the server?
What is pessimistic concurrency?
Explain what are magic tables in sql server?
Explain rdbms?
What is the difference between varchar and varchar types?
Can you explain what are various ways to enhance the ssrs report?
What is the latest version of microsoft sql server?
How to compose an inquiry to demonstrate the points of interest of an understudy from students table whose name begins with k?
Mention the differences between local and global temporary tables.
What is the difference between a stored procedure and a user defined function?
What is simple indexing method?