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 / praveen kumar.dandu
select to_char('sysdate',dd mon yyyy)from dual
convert the date format to chars and retrive the the system
date in the format what eve r u like
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is NOT NULL Constraint in sql server 2012?
How many instances per computer are there in sql server 2000?
What is database mirroring?
Does group by or order by come first?
Differentiate between a primary key and a unique key.
What is the default port for SQL Server over a firewall?
How do I run a trace in sql server?
what is a self join? Explain it with an example? : Sql server database administration
What happens when converting big values to numeric data types?
What is open database communication (odbc)?
Do you know what is similarity and difference between truncate and delete in sql?
What happens to a statement batch if there is a compilation error?
How do you improve the performance of a SQL Azure Database?
What is the maximum size of a dimension? : sql server analysis services, ssas
Can we do dml on views?