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 are sql commands?
what are the security recommendations while using mysql? : Sql dba
What is the difference between microsoft access and sql server?
Explain select statements in sql?
Is pl sql better than sql?
What is rank () in sql?
What is the difference between an inner and outer join?
what is innodb? : Sql dba
which operator is used in query for pattern matching? : Sql dba
Whis is not false in primary key?
What is meant by <> in sql?
define sql insert statement ? : Sql dba
How do I start sql profiler?
Is mariadb a nosql database?
how is myisam table stored? : Sql dba