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 the difference between union and union all
14 Answers IBM, Luxoft, Oracle,
Can we alter stored procedure?
What is data type in database?
How to call DDL statements from pl/sql?
What is time based sql injection?
How does cross join work?
Explain isolation levels. : Transact sql
Do ddl statements need commit?
How to retrieve a second highest salary from a table? Note:Suppose salaries are in duplicate values eg: Name Sal Malli 60000 Pandi 60000 Rudra 45000 Ravi 45000
10 Answers Mind Tree, Polaris, Sonata,
How you improve the performance of sql*loader? : aql loader
What are % type and % rowtype?
What is sqlservr exe?