Rem  Copyright (c) Oracle Corporation 2014. All Rights Reserved.
Rem
Rem    NAME
Rem      ords_manual_install_db_def_tbs.sql
Rem
Rem    DESCRIPTION
Rem      Manual installation for the Oracle REST Data Services (ORDS).
Rem      Uses the database default tablespaces when creating the ORDS schema and ORDS Public User.
Rem
Rem    NOTES
Rem      Assumes user with SYSDBA privilege is connected.
Rem      The ORDS schema and ORDS Public User will be created using the database default tablespaces.
Rem      If installing into a CDB, then must be run locally to the database and the
Rem      ORACLE_HOME environment variable must be set.
Rem
Rem    REQUIREMENTS
Rem      - Oracle Database 11.1 or later
Rem
Rem    Arguments:
Rem      1  : Log folder (must include the forward slash at the end)
Rem
Rem    Example:
Rem      sqlplus "sys as sysdba" @ords_manual_install_db_def_tbs /logs/
Rem
Rem
Rem    MODIFIED    (MM/DD/YYYY)
Rem     epaglina    12/10/2015 User has the option to use the database default tablespaces for the 
Rem                            default tablespace and temporary tablespace. 
Rem                            These changes are for Bug 22336058.
Rem
Rem
spool off
set verify off
set termout on
set serveroutput on
set define '^'

DEFINE LOGFOLDER = ^1

@ords_manual_install ^LOGFOLDER -DEFAULT -DEFAULT -DEFAULT -DEFAULT  