📄 createuser.sql
字号:
SET ECHO ON
/*************************************************************************
* The contents of this file are subject to the Compiere License. You may
* obtain a copy of the License at http://www.compiere.org/license.html
* Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
* express or implied. See the License for details. Code: Compiere ERP+CPM
* Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved.
*************************************************************************
* $Id: CreateUser.sql,v 1.3 2002/12/05 05:42:26 jjanke Exp $
***
* Title: Drop User and re-create new
* Description:
* Parameter: UserID UserPwd
* Run as system
************************************************************************/
DROP USER &1 CASCADE
/
CREATE USER &1 IDENTIFIED BY &2
DEFAULT TABLESPACE USERS
TEMPORARY TABLESPACE TEMP
PROFILE DEFAULT
ACCOUNT UNLOCK
/
GRANT CONNECT TO &1
/
GRANT DBA TO &1
/
GRANT RESOURCE TO &1
/
GRANT AQ_ADMINISTRATOR_ROLE TO &1
/
GRANT JAVAUSERPRIV TO &1
/
GRANT JAVASYSPRIV TO &1
/
GRANT EXECUTE ON DBMS_AQ TO &1
/
GRANT EXECUTE ON DBMS_AQADM TO &1
/
GRANT UNLIMITED TABLESPACE TO &1
/
ALTER USER &1 DEFAULT ROLE AQ_ADMINISTRATOR_ROLE, CONNECT, RESOURCE, DBA, JAVAUSERPRIV, JAVASYSPRIV
/
GRANT CREATE TABLE TO &1
/
EXIT
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -