what diffrence between function and procedure?

Answer Posted / raj dhar

Function :- Function always return one value.
Procedure :- Procedure may or may not be return value.

Function :- Function always required " RETURN " key word.
Procedure :- Procedure doesn't require " RETURN" key word.

Function :- Function we use parameter IN.
Procedure :- Procedure we use parameter IN,OUT,INOUT.

etc.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write a left outer join with the where clause in oracle?

829


What is max rowid in oracle?

762


Why do we need integrity constraints in a database?

761


How to use "startup" command to start default instance?

729


What is oracle and what are its different editions?

782


How to define a variable of a specific record type?

841


what is the difference between substr and instr function in oracle?

802


Is postgres faster than oracle?

778


How to do paging with oracle?

749


How to rename an index in oracle?

810


1) What is ONE_SIZE_FITS_ALL approach? 2) Explain the Common & Variable Header of DATA FILE? 3) What are the Drawbacks to using OMF DB? and the Advantages? 4) List out the Advantages of Undo T.spaces over the Undo SEGMENT? 5) Difference between the Temporary tablespace with TEMPFILE and the Tablespace with TEMPORARY Keyword? 6) What are the situation extents are freeing for reuse.

1801


Can we protect our pl/sql source code?

773


How to define a variable to match a table column data type?

751


What is query image?

739


What are the execution control statements in oracle?

817