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
What is the minimum and maximum number of partitions required for a measure group? : sql server analysis services, ssas
Can truncate be rolled back?
How many types of relations are there between dimension and measure group? : sql server analysis services, ssas
Define outer join in sql server joins?
What is the security principal at the server level that represents your session?
Why union all is faster than union?
Do you know concepts and capabilities of sql server?
How to backup encryption key ?
How to maintain a fill factor in existing indexes?
Can you explain important index characteristics?
What is difference between rollback immediate and with no_wait during alter database?
In what three ways is the return statement used in a stored procedure?
What is data source object?
Can a database be shrunk with users active?
What is sql server profiler trace data file?