what diffrence between function and procedure?

Answers were Sorted based on User's Feedback



what diffrence between function and procedure?..

Answer / deepu

functions and procedures are both pl/sql programs.
procedures performs a specific task,it takes parameters and
performs the actions.
functions are same as procedures except they wil return a
value.

Is This Answer Correct ?    1 Yes 0 No

what diffrence between function and procedure?..

Answer / manu sankar

Functions can be called inside a sql but procedures cannot

Is This Answer Correct ?    1 Yes 0 No

what diffrence between function and procedure?..

Answer / pr@$@d

Hi Raj ,

Nice answer,

We can use OUT,INOUT also in function but it is not
suggested by Oracle.

Thanks,
-Pr@$@d.
prasadreddi@ymail.com

Is This Answer Correct ?    1 Yes 0 No

what diffrence between function and procedure?..

Answer / 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

More Oracle General Interview Questions

How to calculate date and time differences in oracle?

0 Answers  


How do I start tns listener?

0 Answers  


Is there an oracle sql query that aggregates multiple rows into one row?

0 Answers  


How to convert csv to table in oracle?

0 Answers  


What is different types of joins?

0 Answers  


Explain oracle’s server parameter file.

0 Answers  


19. Display all clients whose name begins with the letter J or contains the letter M anywhere or contains E as the third letter.

2 Answers   Wipro,


Is there any way to find out when one specific table/view/M-view is used last time. i.e. when one specific object is used in any SELECT statement.

0 Answers   Infosys,


What is Network Database link ?

1 Answers  


Where do you use decode and case statements?

0 Answers  


How to call a stored function with parameters?

0 Answers  


What is an oracle data file?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1808)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)