GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Oracle Apps  >  Scope and Application

 Print  |  
Question:  What is the result of following query 'select * from po_headers'?



January 01, 2006 07:10:31 #3
 poojar   Member Since: January 2006    Total Comments: 4 

RE: what is the result of following query 'select * fr...
 

It will not return any row because it is just a view. Usually the difference between tables and views are tables are suffixed with 'ALL' like po_headers_all. If you wanna select from the view then you need to setup the Org_id and then you can get the data

You have to set the org_id to retrive data from this view..

begin fnd_client_info.set_org_context('XX'); end;

where 'XX' is the relevant ORGANIZATION_ID for which you want to retrive data from hr_operating_units

     

 

Back To Question