Give the structure of the function ?

Answers were Sorted based on User's Feedback



Give the structure of the function ?..

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

Give the structure of the function ?..

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

Post New Answer

More SQL PLSQL Interview Questions

what is the difference between union and union all

14 Answers   IBM, Luxoft, Oracle,


Can we alter stored procedure?

0 Answers  


What is data type in database?

0 Answers  


How to call DDL statements from pl/sql?

5 Answers  


What is time based sql injection?

0 Answers  






How does cross join work?

0 Answers  


Explain isolation levels. : Transact sql

0 Answers  


Do ddl statements need commit?

0 Answers  


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

0 Answers  


What are % type and % rowtype?

0 Answers  


What is sqlservr exe?

0 Answers  


Categories