If you are the owner of a table or view and you create a public synonym for the table
or view, when you grant select on the synonym mane you are in effect granting select
on the table or view. The synonym eliminates the need to clarify the table or view
with the schema.table name.
And here is how yo create public synonym
CREATE public SYNONYM [table/view name] FOR [owner].[table/view name];
and then you can grant select/insert/update/delete on this object to the role which will apply to any user who was assigned that role. Without the role assigned to that specific user he/she would still not be able to access that object event it was create as public synonym
Counting my Zero Days
-
I have decided to start keeping track of how many Zeroes I am able to
accumulate in a day.
My "Zero Day" is not the same as the hacker zero day concept.
I...
8 years ago
0 comments:
Post a Comment