The create in tablespace a datafile '/home/data/a. d. bf'
The size 100 m reuse autoextend on next 100 m maxsize unlimited
The create user a identified by a default in tablespace a
Grant connect, the resource to the
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
The create in tablespace b datafile '/home/data/b.d bf'
The size 100 m reuse autoextend on next 100 m maxsize unlimited
The create user b identified by b default in tablespace b
Grant connect, the resource to b
------------------------------------------------------------------------------
CodePudding user response:
This class only needs to execute a statement, do not recommend using shell script to execute#!/bin/bash
Up sqlplus -s system/mima @ sh & lt;
SQL statement
The exit
EOF
CodePudding user response: