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

Does sql use python?

559


how is exception handling handled in mysql? : Sql dba

549


what is log shipping? : Sql dba

607


What is difference between sql function and stored procedure?

503


what are the advantages and disadvantages of views in a database? : Sql dba

529






discuss about myisam index statistics collection. : Sql dba

523


What are aggregate and scalar functions?

521


explain primary keys and auto increment fields in mysql : sql dba

518


What happens when a trigger is associated to a view?

499


What does the sign mean in sql?

505


What is a variable in sql?

511


Explain what is sql*plus?

666


Write a sql query to convert all character to uppercase after hypen.

957


Which join condition can be specified using on clause?

512


which types of join is used in sql widely? : Sql dba

537