in procedure how to return a value
Answers were Sorted based on User's Feedback
Answer / amit
In a procedure, we can return a value using OUT PARAMETER
or EVEN USING IN OUT PARAMETER.
For Eg:
CREATE OR REPLACE PROCEDURE add_num(a IN NUMBER, b IN OUT
NUMBER) IS
BEGIN
b:= a + b;
END add_num;
The IN OUT / OUT parameters can be modified within PLSQL
block and the updated values of this parameter can be
refered using a actual paramter once the execution of this
procedure is completed.
| Is This Answer Correct ? | 8 Yes | 0 No |
In procedure we can return value using Out Parameter,
| Is This Answer Correct ? | 1 Yes | 3 No |
What is Pragma Autonomous transaction. It's Real time Example
Matrix Report: Simple, Group above, Nested
What is ERP? Architecture of apps?
while registering executable and concurent program we register both with application name|<oracle purchasing>? so my question is why we are defining in both concurent program and executable?
Can you have two functions with the same name in a pl/sql block?
The Task is that to register a Form into Oracle Apps on a particular responsiblity. - First i moved the FMX & FMB file into the custom_top through FTP - Using Application Developer i registered the Form through Form menu then Function then Menu..... as we do regularly.. - When i get into the particular responsiblity i can see the Form name getting listed. But when i click that to open..... i cant able to see the form. I need any one your help in advicing me...what would be the problem.
In 11i we didn't have AP_Invoice_Lines Table, but in R12 this table is available, what is reason, advantage?
where to define interorganization transaction charges and what are the different options?
where we will put the control file ,where we will run sql star loader what is the cmd?
what is the purpose of standard cost update?
can we execute one concurrent program through another concurrent program?
There are set of records to be processed from staging table into interface table. If one record fails the entire set of data should be rejected.