oracle建表?
SQL> create tablespace longs datafile 'D:\long.dbf' size 100M autoextend on;
SQL> create user hll identified by hll default tablespace longs;
SQL> grant dba to hll;
SQL> create table stu(
2 id int primary key not null,
3 name char(20) not null,
4 age int);
SQL> commit;
提交完成。
我在sqlplus下建立了上面的表
用户hll授予dba权限
这时候我在 plsql下 用system/oracle orcl normal 登陆可以看到表stu
hll/hll orcl normal 登陆后, tables下是空的??是不是还要在配置向导下建立个数据库 ??
这个orcl是数据库名字,监听名字也可以是orcl?
plsql 用hll怎么连??表空间和数据库,表之间的关系还是很乱啊
用惯了sql server,mysql转不过了弯了
大侠给理顺理顺吧。。。