How to retrieve data using view?

Questions by arreddy   answers by arreddy

Showing Answers 1 - 8 of 8 Answers

devesh288

  • Sep 22nd, 2006
 

you want to retrive the data by using view, so its depend that which type of data you want. find some query below:

1. select * from view_name;

2. select column_name from view_name;

3.  select column_name from view_name where column_name =/like '';

view is nothing just like as a table.

  Was this answer useful?  Yes

Anil Reddy

  • Oct 9th, 2006
 

What devesh said is True for fetching but when it comes to its Definition and other storage its much different from Table.

View stores only its definition in Data Base, but where as Table store all its contents.

When a view is queried, the data is available and the data is not stored any where in Data Base.

  Was this answer useful?  Yes

ratnakar

  • Jan 23rd, 2007
 

View is a virtual table we can create view by using following query Create view view_name as select * from table_namewe can select data from view by using following query.select * from view_name;we can update view if view is created based on single table.we can't update view if it is based on more than one table.Ratnakar Reddy

  Was this answer useful?  Yes

shwetac

  • May 2nd, 2007
 

In Oracle Apps, to get data from views we have to set the org id for the application so that we can fetch relevant data. This can be done using the following block :

begin
fnd_client_info.set_org_context( <org_id> ) ;
end;

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions