Register  ::  Login
 
Update : February 06, 2012
Google AdSense Minimize
  
Welcome to Asbuilt-DBA forum ! Minimize

Here you can find a community of professionals who work with INtools® (SPI) and want to interact and exchange information, including problems encountered, offer solutions, and raise new topics.

This forum is composed of two main sections:
1.      Discussions, which is an open discussion forum where you can talk about any related topic to INtools.
2.      FAQ section that offers a variety of questions and answers regarding INtools.
We hope that you will enjoy participating in this forum. Participation in the forum is free of charge.
If you want to start a new forum, please contact the Webmaster.
Add to Google
INtools is trademark of Intergraph corporation
Forum Groups Minimize
SearchForum Home
  Aggregated  Discussions  Intools (SPI) Ver 7  Creating VIEW i...
 Creating VIEW in system level
 
 7/23/2009 12:30:40 PM
User is offlinefba_sen57
73 posts
www.shell.com


Creating VIEW in system level

Hi,

I have created a VIEW (say MY_METER) to retrieve data from various tables. Now I also have created same VIEW name (MY_METER with same structure) to all the domains so I can use a combine sql query statement like:

select * from domain1.MY_METER union all

select * from domain2.MY_METER etc and so on until the very last domain name

Now * can be replaced with any column name I specify in my create VIEW statement. My wish now is how can I create a VIEW say ALL_MY_METER in the system level with the same structure as MY_METER. Anyone can help me here?

 12/25/2009 7:30:09 AM
User is offlineadmin
177 posts
5th


Re: Creating VIEW in system level

Hi,

You should advice with Oracle expert.

I think you need to create a grant for these views from the domain to the system level and then the system can retrieve data from these views however I think the views should be unique.

Regards

Ilan Hills

 


Ilan Hills ihills@asbuilt-dba.com www.asbuilt-dba.com
 12/29/2009 7:31:49 AM
User is offlinefba_sen57
73 posts
www.shell.com


Re: Creating VIEW in system level

Hi Ilan,

I use the sql below.

GRANT SELECT ANY TABLE to IN_DBAMN;

 12/29/2009 7:53:13 AM
User is offlineadmin
177 posts
5th


Re: Creating VIEW in system level

Hi,

 

After you ran this command did you succeed to get the records from all the domains from the system level?

Regards

 

Ilan Hills

 


Ilan Hills ihills@asbuilt-dba.com www.asbuilt-dba.com
  Aggregated  Discussions  Intools (SPI) Ver 7  Creating VIEW i...
Intools
 Search   Forum Home     

Search Engine Optimization and SEO Tools
My Google Pagerank