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
What is scope of pl sql developer in future?
What information is needed to connect sql*plus an oracle server?
Is sql harder than python?
Advantages and disadvantages of stored procedure?
Can you have a foreign key without a primary key?
How consistent is the view of the data between and within multiple sessions, transactions or statements ?
What is rownum?
Can we create index on primary key?
What is the purpose of a secondary key?
What are the properties of a transaction?
what is a join? : Sql dba
What is the reports view in oracle sql developer?
How to return multiple rows from the stored procedure?
What is acid property in a database?
How to write html code in pl sql?