Give the structure of the function ?
Answers were Sorted based on User's Feedback
Answer / kiran
CREATE [OR REPLACE] FUNCTION function_name
[(parameter_name [IN | OUT | IN OUT] type [, ...])]
RETURN return_datatype
{IS | AS}
BEGIN
< function_body >
Return value()
END [function_name];
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / tulsi
FUNCTION name (argument list .....) Return datatype is
local variable declarations
Begin
executable statements
Exception
execution handlers
End;
Is This Answer Correct ? | 2 Yes | 2 No |
What is oracle sql called?
4. Select sum(A.salary) +sum(B.salary) as TOT_SAL from ( select LEVEL emp_id,level*100 salary,case when mod (level,2)=0then 2 else null end dept_id from dual connect by level<6 )A right outer join (select level emp_id ,level*200 salary ,case when mod (level,3)=0 then 2 else null end dept_id from dual connect by level<6)B On A.dept_id=B.dept_id And A.emp_id=B.emp-id;
Enlist some predefined exceptions?
What pl/sql package consists of?
How to remove duplicate rows from a table?.
How do I truncate a word?
what is row? : Sql dba
how would you get the current date in mysql? : Sql dba
What is the best strategy to use COMMIT in a pl/sql loop?
suppose u hav 1 book with set...page 1-100 n 101 -200 now print page from 2-100 n 102 -200... how we will do..?
Is left join and outer join same?
What is error ora-12154: tns:could not resolve the connect identifier specified?