Subject | Re: Revoke |
---|---|
Author | fabiano_bonin |
Post date | 2003-05-02T10:53:41Z |
--- In ib-support@yahoogroups.com, "Michael Vilhelmsen"
<Michael.Vilhelmsen@M...> wrote:
delete from rdb$user_privileges where rdb$user = 'PUBLIC' and
rdb$relation_name in ( select rdb$relation_name from rdb$relations
where ( rdb$system_flag is null or rdb$system_flag <> 1 ) and
rdb$relations.rdb$view_blr is null )
This will revoke on tables (except system tables).
<Michael.Vilhelmsen@M...> wrote:
> HiI think you can use this:
>
> Can I revoke on all tables at one time ?
>
> I know I can do this:
>
> Revoke all on MyTable from public
>
>
> But can I do something like
>
> Revoke all on "AllTables" from public
>
delete from rdb$user_privileges where rdb$user = 'PUBLIC' and
rdb$relation_name in ( select rdb$relation_name from rdb$relations
where ( rdb$system_flag is null or rdb$system_flag <> 1 ) and
rdb$relations.rdb$view_blr is null )
This will revoke on tables (except system tables).
>
> Mihcael