MINI MINI MANI MO

Path : /proc/self/root/opt/oracle/product/18c/dbhomeXE/R/migration/imp/
File Upload :
Current File : //proc/self/root/opt/oracle/product/18c/dbhomeXE/R/migration/imp/rqscriptmig.sql

Rem
Rem $Header: oracler/migration/imp/rqscriptmig.sql /main/2 2015/09/08 12:46:30 qinwan Exp $
Rem
Rem rqscriptmig.sql
Rem
Rem Copyright (c) 2013, 2015, Oracle and/or its affiliates. 
Rem All rights reserved.
Rem
Rem    NAME
Rem      rqscriptmig.sql - <one-line expansion of the name>
Rem
Rem    DESCRIPTION
Rem      <short description of component this file declares/defines>
Rem
Rem    NOTES
Rem      <other useful comments, qualifications, etc.>
Rem
Rem    MODIFIED   (MM/DD/YY)
Rem    qinwan      09/03/15 - add script owner and access
Rem    gayyappa    12/11/13 - Created
Rem
Rem    BEGIN SQL_FILE_METADATA 
Rem    SQL_SOURCE_FILE: oracler/migration/imp/rqscriptmig.sql 
Rem    SQL_SHIPPED_FILE: 
Rem    SQL_PHASE: 
Rem    SQL_STARTUP_MODE: NORMAL 
Rem    SQL_IGNORABLE_ERRORS: NONE 
Rem    SQL_CALLING_FILE: 
Rem    END SQL_FILE_METADATA

SET ECHO ON
SET FEEDBACK 1
SET NUMWIDTH 10
SET LINESIZE 80
SET TRIMSPOOL ON
SET TAB OFF
SET PAGESIZE 100
delete from sys.rq$script;
insert into sys.rq$script(owner, name, script) 
select owner, name, script from system.tmprqscript;

delete from sys.rq$scriptAccess;
insert into sys.rq$scriptAccess(owner, name, grantee)
select owner, name, grantee from system.tmprqscriptAccess;

drop table system.tmprqscriptAccess;
drop table system.tmprqscript;
drop directory RQMIG_TEST_DIR;
exit;


OHA YOOOO