MINI MINI MANI MO
Rem
Rem $Header: ordim/common/admin/ordinst.sql /main/12 2016/09/28 19:03:55 smavris Exp $
Rem
Rem ordinst.sql
Rem
Rem Copyright (c) 2000, 2016, Oracle and/or its affiliates.
Rem All rights reserved.
Rem
Rem NAME
Rem ordinst.sql - Install script for ORD components
Rem
Rem DESCRIPTION
Rem Creates the schemas and grants the privs needed to run
Rem Oracle Multimedia and Spatial.
Rem
Rem Run this script like this:
Rem ordinst.sql <ORDIM_TABLESPACE> <SPATIAL_TABLESPACE>
Rem
Rem NOTES
Rem Must connected as SYSDBA before invoking this script.
Rem
Rem If ORDIM and SPATIAL tablespaces names must be supplied. These
Rem tablespaces must exist prior to invoking this script. We
Rem recommend that you use the SYSAUX tablespace as follows:
Rem
Rem ordinst.sql SYSAUX SYSAUX
Rem
Rem MODIFIED (MM/DD/YY)
Rem smavris 09/28/16 - Add set nls length semantics
REM
REM
@@?/rdbms/admin/sqlsessstart.sql
Rem
Rem Set NLS_LENGTH_SEMANTICS - bug 24738044
Rem
ALTER SESSION SET NLS_LENGTH_SEMANTICS=BYTE;
define ordim_tbs = &1;
define spatial_tbs = &2;
--
-- Steps that must be executed as SYSDBA
-- Create schemas and grant privs
--
@@ordisysc.sql &ordim_tbs &spatial_tbs
@@ordisys.sql
@?/rdbms/admin/sqlsessend.sql
OHA YOOOO