We are testing Fine-Grained Access Control to export the complete schema excluding some tables. This works well for export but during import it try to import all tables. Is there any way we can restrict import of some tables using Fine-Grained Access Control .We are using function as specified in metalink as follows: CREATE or REPLACE FUNCTION exclude_table (obj_schema VARCHAR2, obj_name VARCHAR2) RETURN VARCHAR2 IS d_predicate VARCHAR2(2000); BEGIN if sys_context ('USERENV', 'SESSION_USER') = 'EXP_DB' THEN d_predicate := '1=2'; else d_predicate := ''; end if; RETURN d_predicate; END exclude_table;
Thanks --Harvinder -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Harvinder Singh INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).