首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

Oracle 创设表空间、用户、用户授权

2012-07-27 
Oracle 创建表空间、用户、用户授权create tablespace wan_lin datafile D:\oracle\product\10.1.0\oradata

Oracle 创建表空间、用户、用户授权
create tablespace wan_lin datafile 'D:\oracle\product\10.1.0\oradata\orcl\wan_lin.dbf' size 500M;

create user dwl identified by "123456" default tablespace wan_lin;

grant connect to dwl;
grant dba to dwl;
grant sysdba to dwl;


# tnsnames.ora Network Configuration File: D:\oracle\product\10.1.0\Db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

ORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 6da5a8f048084e7)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)
    )
  )

热点排行