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 |
I have a table called 'test' on source and target with same name, structure and data type but in a different column order. How can you setup replication for this table?
What is java oracle used for?
How to convert raw data type into text in oracle? Explain
Q1:code to connect to sql server(database) through jdbc application. Q2:code to connect to Mysql(database) through jdbc application. Q3:code to connect to oracle(database) through jdbc application.
How do I call oracle stored procedures that take no parameters?
Can group functions be mixed with non-group selection fields?
can you call insert/update/delete in select statements. If yes how? If no what is the other way?
where do i find oracle interview questions.
What are synonyms used for ?
15. Display the item_cost and then truncate it to the nearest hundred, ten, unit, tenth and hundredth.
Which Department has MOST NUMBER of employees?
8 Answers IBM, LeadSquared, Mastek,
How to display First 4 rows From Database Table?