Home >Database >Mysql Tutorial >Oracle建立帐号SQL

Oracle建立帐号SQL

WBOY
WBOYOriginal
2016-06-07 17:10:561062browse

# 建立用户 create user username identified by password; 建立了用户:username,密码为:password # 对用户授权 grant conne

# 建立用户
create user username identified by password;
建立了用户:username,密码为:password


# 对用户授权
grant connect,resource to username;
对用户username授予了连接数据库和访问资源的权限

CONNECT自动建立,包含以下权限:ALTER SESSION、CREATE CLUSTER、CREATE DATABASELINK、CREATE SEQUENCE、CREATE SESSION、CREATE SYNONYM、CREATE TABLE、CREATEVIEW。

RESOURCE自动建立,包含以下权限:CREATE CLUSTER、CREATE PROCEDURE、CREATE SEQUENCE、CREATE TABLE、CREATE TRIGGR。

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn