达梦-DDL(数据定义语句)
初始化数据库
- 创建表空间
create tablespace sys_oa datafile ' sys_oa.dbf' size 4096;
- 创建用户为用户指定表空间
create user sys_oa_user identified by sysdba123456 default tablespace sys_oa;
- 为用户授权
grant resource,dba to sys_oa_user;
create tablespace sys_oa datafile ' sys_oa.dbf' size 4096;
create user sys_oa_user identified by sysdba123456 default tablespace sys_oa;
grant resource,dba to sys_oa_user;