I have a view which is selecting rows from a table in a different database. I\'d like to grant select access to the view, but not direct access to the base table. The view
Create view Schema1.viewName1 as (select * from plaplapla)
Schema1
has all the tables
Create view Schema2.viewName2 as (select * from schema1.viewName1)
schema2
has no tables(only views schema)
In this case you can execute (select * from viewName2
) in schema2 , BUT .. If you deleted viewNmae1 from Schema1
, Then ViewName2
will not work..
Amani El Gamal aljamalaisj81@gmail.com