what is difference between procedure and function

Answer Posted / a.jyothsna

1) function can be executed using the sql command
(Ex: select functin_name(args)from dual;)
Procedure can be executed using sql+ command
(Ex: exec procedure_name(args))

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

give the syntax of grant and revoke commands? : Sql dba

619


What is the main difference between sql and pl/sql?

567


Why commit is not used in triggers?

586


What does pragma mean?

511


Why do we create views in sql?

561






What is asqueryable?

533


Can you do multiple joins in sql?

550


Can you have more than one trigger on a table?

532


Is it possible to remove child records without removing master table records...the two having pk,fk relationship?

809


Are stored procedures faster than queries?

524


What is mutating table error?

666


What is autocommit sql?

540


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

587


What is a join?

628


Where the sql database files are stored?

496