MINI MINI MANI MO

Path : /opt/oracle/product/18c/dbhomeXE/ord/admin/
File Upload :
Current File : //opt/oracle/product/18c/dbhomeXE/ord/admin/ordisysc.sql

Rem
Rem $Header: ordim/common/admin/ordisysc.sql /main/9 2013/03/28 10:26:13 smavris Exp $
Rem
Rem ordisysc.sql
Rem
Rem Copyright (c) 2002, 2013, Oracle and/or its affiliates. 
Rem All rights reserved. 
Rem
Rem    NAME
Rem      ordisysc.sql - Create schema script for ORD components
Rem
Rem    DESCRIPTION
Rem      Creates the schemas needed to run Oracle Multimedia and Spatial.   
Rem      
Rem      Run this script like this:
Rem        ordisysc.sql <ORDIM_TABLESPACE> <SPATIAL_TABLESPACE> 
Rem
Rem    NOTES
Rem      Must be run connected as SYSDBA 
Rem      
Rem    MODIFIED   (MM/DD/YY)
REM
REM

@@?/rdbms/admin/sqlsessstart.sql

define ordim_tbs    = &1
define spatial_tbs  = &2

-- 
-- Make sure we don't echo passwords in logs
--
set echo off
set verify off

-- 
-- Create and lock ORDSYS 
--
create user ordsys identified by ordsys default tablespace &ordim_tbs 
       account lock password expire;

--
-- Create and lock ORDData
-- ORDData contains the DICOM repository
--
create user orddata identified by orddata default tablespace &ordim_tbs
       account lock password expire;

--
-- Create and lock ORDPLUGINS 
--
create user ordplugins identified by ordplugins default tablespace &ordim_tbs
       account lock password expire;

--
-- Create and lock SI_INFORMTN_SCHEMA
--
create user SI_INFORMTN_SCHEMA identified by si_informtn_schema default
   tablespace &ordim_tbs account lock password expire;

--
-- Create and lock MDSYS
--
create user MDSYS identified by mdsys default tablespace &spatial_tbs
       account lock password expire;


--
-- Restore verify, assume echo was already off
--
set verify on

@?/rdbms/admin/sqlsessend.sql

OHA YOOOO