What is difference between a PROCEDURE & FUNCTION ?

Answer Posted / pankaj mehra

Well the main difference between procedures and function is
that the procedure may/may not return any value.it can
return more than one value also.
but functions can return only one value at a time and it
must have return keyword inside the function

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What makes a good primary key?

729


What is an ndf file?

688


Can you join a table to itself?

712


What is an exception in PL/SQL? What are the two types of exceptions?

851


How is a process of pl/sql compiled?

775






Name some usages of database trigger?

746


What is an example of translating a date into julian format?

773


Explain sql data types?

830


what is a table in a database ? : Sql dba

750


what is the difference between nested subquery and correlated subquery?

744


Can I copy :old and :new pseudo-records in/to an oracle stored procedure?

869


How can check sql version from command line?

720


how to increment dates by 1 in mysql? : Sql dba

724


what is the use of double ampersand (&&) in sql queries?

820


what is data control language? : Sql dba

746