| SELECT * FROM DBA_SQL_PROFILES;
|
| BEGIN
DBMS_SQLTUNE.CREATE_STGTAB_SQLPROF (
table_name => 'TMP_SQL_PROFILES'
, schema_name => 'SYSTEM'
);
END;
|
| BEGIN
DBMS_SQLTUNE.PACK_STGTAB_SQLPROF (
profile_name => 'SYS_SQLPROF_02701ab7b57c0000'
, staging_table_name => 'TMP_SQL_PROFILES'
, staging_schema_owner => 'SYSTEM'
);
END;
|
Export/Import this table between both databases
| BEGIN
DBMS_SQLTUNE.UNPACK_STGTAB_SQLPROF(
replace => true
, staging_table_name => 'TMP_SQL_PROFILES'
);
END;
|