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

src name sex a,male b,female c,male d,female Required output : male female a,b c,d tried pivot but was not successfull select * from src pivot (max(name) for sex in ('MALE','FEMALE'));

0 Answers   IBM,


how to get count of tables in particular database in Oracle?

3 Answers  


what are the default admin accounts in Oracle 10g ?

0 Answers   MCN Solutions,


Which dictionary view(s) would you first look at to understand or get a high-level idea of a given Advanced Replication environment?

0 Answers  


Can u please explain me the Discussion on Except ,using cast like type cast. Question in the context of difference between two tables

0 Answers   Microsoft,






what are the diffeenes between oracle 9i,oracle 10g

2 Answers  


can we pass two out parameters at a time in function?please answer to my question

3 Answers   Wipro,


What is trigger associated with the timer ?

1 Answers   Oracle,


How to commit the current transaction in oracle?

0 Answers  


Can a formula column referred to columns in higher group ?

0 Answers   Oracle,


List the various oracle database objects?

0 Answers  


What is index in Oracle?

0 Answers   MCN Solutions,


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)