* This file manages the load of the Oracle system tables.


SAY --- Installing system tables for ORACLE (V7) mode ...
*
INIT SERVERDB
*

IF $RC (SHOW USER sys) = 0
THEN
     BEGIN
*
     DROP USER sys
*
     END
*

IF $RC (SHOW USER sys) <> 0
THEN
*
     CREATE USER sys PASSWORD sys DBA
*
ELSE
*
     ALTER PASSWORD sys sys
*

IF $RC (SHOW USER "PUBLIC") <> 0
THEN
*
     CREATE USER "PUBLIC" PASSWORD illegal RESOURCE
*
ELSE
*
     ALTER PASSWORD "PUBLIC" illegal
*

SQLMODE ADABAS
*
USE USER &u
*
END INIT SERVERDB
*

* The creation of the Oracle system tables, the synonyms for them
* and the comments on it
*
    INCLUDE '%DBROOT%\env\ORADDV.ins'
*
    INCLUDE '%DBROOT%\env\ORADDSYN.ins'
*
    INCLUDE '%DBROOT%\env\ORADDCOM.ins'
*
