What is difference between a PROCEDURE & FUNCTION ?

Answer Posted / surajit pathak

We can use in,inout,out parameters in functions also.
The most important difference is we can use functions in
normal sql queries if it is not containing any out
parameters.
but we cann't use procedures in sql queries....

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the example of procedure?

678


How do I view output in sql developer?

804


How to run pl/sql statements in sql*plus?

756


How to avoid using cursors?

766


Are ddl triggers fired for ddl statements within a pl/sql code executed using the dbms.sql package?

835






What is sql keyword?

755


How do I run a program in pl sql?

697


What is #table in sql?

704


What is the primary use of normalization?

699


What is plpgsql language?

713


What are the different ddl commands in sql?

739


How many sql core licenses do I need?

681


What is pl sql architecture?

681


what are rollup and cube in t-sql? : Transact sql

819


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

800