what is the differnce between procedure and function?
in both dml operations can work and in procedure through out
parameter you can return value ,then what is the differce?

Answer Posted / dinakar

Though Procedure returns a value through OUT parameter, it
cannot be used in SELECCT statement. Whereas a function can
be called in SELECT statement.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql keyword?

657


How do I find duplicates in the same column?

635


Can unique keys be null?

577


What pl/sql package consists of?

732


explain the difference between bool, tinyint and bit. : Sql dba

604






What is java sql driver?

636


how to rename an existing table in mysql? : Sql dba

655


Can you load data into multiple tables at once? : aql loader

700


Why having clause is used in sql?

637


Is it possible to create startup or shutdown trigger for on-schema?

674


Does view contain data?

697


Does truncate need commit?

587


how to check server status with 'mysqladmin'? : Sql dba

674


Can 2 queries be executed simultaneously in a distributed database system?

747


What are the ddl commands?

624