sql - Creating VIEW in system level -


I created a create or change statement using VIEW At Domain Schema level

  Select Loop.Loop_services service, Component.cmpnt_id, Component from Component.Drop_Id, Change or replace service as component, where component. Loop_id = loop.loop_id union separate " , 0,0 from the component, loop;  

So if I login to the domain schema and run the query - then from select * to domain1.SERV then I have to get all the results.

I have reused the above statement for all domain schemas, and if I want to see the same results in one result then I will use the query with "union selection" because since It is possible that the format of the scene has the same format.

contact * domain from * Select Union All * Domain names from domain Select from server all * from domain 3 Select Union * * from all domain names. All

and so on to the previous domain schema.

Now, how can I create the same view in the system level by knowing that this is my view ( object_type = 'VIEW' ) in the " all_object And object_name = 'SERV' ) and "Owner" columns will see all my Domain Schema inventory. Look at this system level eg The name says ALL_SERV where I run the query, it will list all the records of all domain schemas.

Can you help?


I'm not creating an object at all I want to make the same view in the system level. The structure of the scene will be similar to what I have made at the Dominion level. I think I will create VIEW by pointing to each domain and that means I have X numbers as the number of domains.

Any other easy way to do this?

To put that view on "system level" (as you put it) The option is required I think that these are Oracle with the names you are using. Try:

  Create or change public SYNONYM service for domain 1.serv;  

You need the appropriate privileges for it, i.e. create public SYNONYM . The user will need object privileges on the goal (i.e., the synonyms do not allow a person to reach something they can not otherwise do).

It is being said, you are a very very unions. I have to be careful of that.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -