what is difference between procedure and function
Answer Posted / p.rajasekar
Function:
1.Function Always Return values
2.We can call the function in select Query
3.We can return more than one values using Out put
paramaetes
4.Genrally we can use function as calculatevalues
5.We can insert,update or delte value with the help
function in a select query
Procedure:
1.Procedure doesnot always return value
2.We can't call procedure in Select query
3.We can return more than one value using Out put
parameters in procedure
4.Genarally procudures are using as business logic
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How to use sql statements in pl/sql?
How can check sql version from command line?
How to return multiple rows from the stored procedure?
What are triggers in sql?
What is sql partition function?
What is a join query?
How to read xml file in oracle pl sql?
what are the join types in tsql? : Transact sql
What is difference between db2 and sql?
Which are the different character-manipulation functions in sql?
Can we use ddl statements in stored procedure?
Why commit is not used in triggers?
Is grant a ddl statement?
What is the use of index in sql?
What is use of term?