Create a new Application Schema
Owner account
rem Name: appown.sql
rem Purpose: Create a new Application
Schema Owner account
rem Usage: @appown
<username> <data_ts> <index_ts>
rem Subject: user
rem Attrib: sql ddl dba
rem Descr:
rem Notes:
rem SeeAlso: @appdev @approl @appusr
@setup
set feedback on
define usr="&&1"
define data_ts="&&2"
define index_ts="&&3"
create user &&usr identified
by &&usr
default tablespace &&defuserts
temporary tablespace &&deftempts;
rem grant create session to &&usr;
grant &&appownrole to &&usr;
alter user &&usr default
tablespace &&data_ts;
alter user &&usr quota
unlimited on &&data_ts;
alter user &&usr quota
unlimited on &&index_ts;
alter user &&usr profile
&&appownprof;
alter user &&usr quota
0 on users;
@setdefs
Have a Oracle Question
Do
you have an Oracle Question?
Oracle Books
Oracle
Certification, Database Administration, SQL, Application, Programming Reference
Books
Oracle Application
Oracle
Application Hints and Tips
Oracle Home
Oracle
Database, SQL, Application, Programming Tips
All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
All product names are trademarks of their respective
companies.
The site www.erpgreat.com is not affiliated with or endorsed
by any company listed at this site.
Every effort is made to ensure the content integrity.
Information used on this site is at your own risk.
The content on this site may not be reproduced
or redistributed without the express written permission of
www.erpgreat.com or the content authors.
|