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
Under what condition it is possible to have a page level lock and row lock at the same time for a query? : Transact sql
What is bulk collect in pl sql?
what is the functionality of the function htmlentities? : Sql dba
What is the difference between a primary key and a unique key?
What are transaction and its controls?
How do I create a sql database?
what is 'mysqlshow'? : Sql dba
what is schema? : Sql dba
What is the advantage of index in sql?
How do I run a script in sql developer?
What are system versioned tables?
Do we need commit after truncate?
How many databases can sql express handle?
What does truncate mean in sql?
How can I delete duplicate rows?