How to pass data into EXECUTE_IMMEDIATE statement in plsql
body ?
Answer Posted / eldho
Hope this pice of code explains:
declare
v_query VARCHAR2 (200);
v_employee_name VARCHAR2 (50);
BEGIN
v_query := 'SELECT emp_name from employees where emp_id =
102';
EXECUTE IMMEDIATE v_query
INTO v_employee_name;
DBMS_OUTPUT.put_line ('Emp Name is ' || v_employee_name);
END;
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
What is a value set? List its various types.
Tell me how to find the custom directory in front end?
what is global tempory table?
Can you define an erp system?
A program must be written which accepts date parameter. The date parameter will accept data in the format DD/MM/YYYY. This data has to be validated and post validation, the following details have to be displayed for this date parameter 1. Input date must be defaulted to sysdate, It can be overridden by any other date. 2. Financial year should be displayed for this date parameter. Eg: If the input date is 30/11/2010, the financial year must be displayed as 1. From Date : 01-Aprr-2010 To Date: 31-Mar-2011 3. Calendar year and Calendar month must also be displayed. 4. The next payment cycle (say for EB), must be displayed based on this date parameter. 5. The previous payment must also be displayed based on this date.
how do you describe O2C along with tables
In sequence i want to 11 and 15th values how we will write?
How many schemas we have? how many you have used?
How can a process be deployed in soa?
is it possible to run the interface without using oracle apps?
Can u give the Documentation of Custom.pll in oracle apps
How is choreography different from orchestration?
List of all the modules under Manufacturing, Finance and Distribution in oracle applications?
Explain what are the tables of auto invoice?
If we have a repeated record in a table. But the repeated record how i can transfer from table to nested table?