Subject | Re: [ib-support] Revoke |
---|---|
Author | Martijn Tonies |
Post date | 2003-05-01T09:49:59Z |
Hi,
SELECT 'REVOKE <stuff> ON ' || RDB$RELATION_NAME || ' FROM PUBLIC;'
FROM RDB$RELATIONS
WHERE (RDB$SYSTEM_FLAG IS NULL or RDB$SYSTEM_FLAG = 0)
This will generate a script in the output.
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com
See you at the First European Firebird Conference in May in Fulda, Germany
http://www.firebird-conference.com
> Can I revoke on all tables at one time ?PS: What you CAN do, however, is something like this:
>
> I know I can do this:
>
> Revoke all on MyTable from public
>
>
> But can I do something like
>
> Revoke all on "AllTables" from public
SELECT 'REVOKE <stuff> ON ' || RDB$RELATION_NAME || ' FROM PUBLIC;'
FROM RDB$RELATIONS
WHERE (RDB$SYSTEM_FLAG IS NULL or RDB$SYSTEM_FLAG = 0)
This will generate a script in the output.
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com
See you at the First European Firebird Conference in May in Fulda, Germany
http://www.firebird-conference.com