what diffrence between function and procedure?
Answers were Sorted based on User's Feedback
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 |
Answer / manu sankar
Functions can be called inside a sql but procedures cannot
Is This Answer Correct ? | 1 Yes | 0 No |
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 |
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 |
Is oracle the best database?
How do you increase the OS limitation for open files (LINUX and/or Solaris)?
What is different bet native dynamic sql and Dbms_Sql?
How to create a new view in oracle?
How to set a transaction to be read only in oracle?
What do you mean by a database transaction & what all tcl statements are available in oracle?
State any two functions of oracle?
How do I find the database name in oracle?
How to select an oracle system id (sid)?
What is flashback in Oracle?
how to join query for one source type is oracle another source type is sql server ?
what is the difference between table and veiw?