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

Is oracle the best database?

0 Answers  


How do you increase the OS limitation for open files (LINUX and/or Solaris)?

0 Answers  


What is different bet native dynamic sql and Dbms_Sql?

4 Answers   Thermotech,


How to create a new view in oracle?

0 Answers  


How to set a transaction to be read only in oracle?

0 Answers  






What do you mean by a database transaction & what all tcl statements are available in oracle?

0 Answers  


State any two functions of oracle?

0 Answers   Aricent,


How do I find the database name in oracle?

0 Answers  


How to select an oracle system id (sid)?

0 Answers  


What is flashback in Oracle?

0 Answers   MCN Solutions,


how to join query for one source type is oracle another source type is sql server ?

0 Answers   iGate,


what is the difference between table and veiw?

4 Answers   IBM,


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • 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)