What will be the output of this Query?
select to_char(trunc(add_months(sysdate-3),mm),mm/dd/yyyy) from dual

Answer Posted / welcomeashwin

ORA-00909 invalid number of arguments

Cause: An Oracle function was referenced with an incorrect
number of arguments. All Oracle functions, except for
SYSDATE, require at least one argument.

Action: Correct the syntax of the function by entering the
required number of arguments.

Is This Answer Correct ?    33 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are field types?

537


how do you know the version of your mysql server? : Sql dba

503


table structure: ---------------- col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10 01-mar-2012 11:12:46 01-mar-2012 11:11:23 Write a query to display the result as shown below: col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

3340


What is faster join or subquery?

510


How to run sql functions in pl/sql?

536






What is prepared statement in sql?

543


What is primary and foreign key?

591


what are the different index configurations a table can have? : Sql dba

568


What is on delete set null?

563


When is a declare statement required?

673


How do rank () and dense_rank () differ?

516


Explain dml and ddl?

548


How many unique keys can a table have?

554


What is difference between procedure and trigger?

512


what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba

502