ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> ERP CRM >> Oracle Apps >> Oracle Apps Technical
 
 


 

 
 Oracle Apps Technical interview questions  Oracle Apps Technical Interview Questions (488)
 Oracle Apps Financial interview questions  Oracle Apps Financial Interview Questions (601)
 Oracle Apps Manufacturing interview questions  Oracle Apps Manufacturing Interview Questions (51)
 Oracle Apps HRMS interview questions  Oracle Apps HRMS Interview Questions (77)
 Oracle Apps CRM interview questions  Oracle Apps CRM Interview Questions (9)
 Oracle Apps SCM interview questions  Oracle Apps SCM Interview Questions (105)
 Oracle Install Base interview questions  Oracle Install Base Interview Questions (62)
 Oracle Service Contracts interview questions  Oracle Service Contracts Interview Questions (101)
 Oracle Apps AllOther interview questions  Oracle Apps AllOther Interview Questions (11)
Question

How to pass data into EXECUTE_IMMEDIATE statement in plsql 
body ?
 Question Submitted By :: Oracle-Apps-Technical
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
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 ?    10 Yes 1 No
Eldho
 
Answer
# 2
declare
v_query VARCHAR2 (200);
v_inv_item_id VARCHAR2 (50);
BEGIN
v_query := 'SELECT inventory_item_id from
mtl_onhand_quantities_detail where inventory_item_id =107';
EXECUTE IMMEDIATE v_query
INTO v_inv_item_id;
DBMS_OUTPUT.put_line ('inventory_item_id ' ||
v_inv_item_id);
exception
when others then
DBMS_OUTPUT.put_line ('inventory_item_id ' ||
v_inv_item_id);
END;
 
Is This Answer Correct ?    4 Yes 1 No
M.n
 
 
 

 
 
 
Other Oracle Apps Technical Interview Questions
 
  Question Asked @ Answers
 
how i can create temporary table? Zensar 1
wht is difference between is and as varibales,while declaring procedure which is better? Wipro 2
Explain the multi-organization structure. Accenture 1
What is cursor?   3
IN WHICH MODULE THE LEGAL ENTITY COMES?   5
is UOM maintained at master level or organization level or both? Scan-Steel 3
In a package have predefined exception and user defined exception. while execution which exception will be executed first? why?   1
In SQL Loader i have 100 Records to be loaded into my table. How do i load the first 30 Records and skip the last 10 Records within a single .ctl file ? So my total no.of records to be loaded would be 60. Could anybody help me in this ?   2
Which module is not in multiorg Wipro 6
how to call report from oracle oracle apps11i? Genpact 2
any one can expalin report registration steps? Infosys 5
What is Value Set?   2
 
For more Oracle Apps Technical Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com