what is difference between procedure and function
Answer Posted / nannesaheb chinthalacheruvu
Procedure :
->Procedure is a Named PL/SQL Block which can be stored in
Database in compile form.
->Procedure is used to execute the Perticular task.
->Procedure Does not required RETURN clause.
->Procedure Does not Return value
->It is not posible to execute using SQL statements.
->Procedures can be execute using a)Execute/Call,b)Anonymous
Block
Function :
->Function is a Named PL/SQL Block Which can be Stored in
Database in Compile Form.
->Function is used for Calculation Perpose.
->Fuction Does Contains RETURN Type
->Fuction Can Return only One Value.
->Fuction can Execute using SQL Statements when We can not
Perform any DML Operations in Function.
->Using Out Mode Parameters we can Return Multiple Records
in Function.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what is bdb (berkeleydb)? : Sql dba
how to create a new view in mysql? : Sql dba
Differentiate pl/sql and sql?
What is use of package in pl sql?
What is constant in pl sql?
What is the difference between sql and isql*plus?
What is the difference between partition and index?
What are the types of variables use in pl sql?
How many tables can you join in sql?
Explain cursor types?
explain the difference between myisam static and myisam dynamic. : Sql dba
What is the syntax to add a record to a table?
What is embedded sql in db2?
how to add a new column to an existing table in mysql? : Sql dba
what is normalization? : Sql dba