--主.外键约束 create table t( id int primary key); create table t1( id int references t(id)); 或者create table t( id int constraint pk_t_id primary key); create table t1(id int constraint fk_t1_id references t(id)); 修改列为主.外键约束 create table emp1( id num…
oracle基础教程(8)oracle修改字符集 1.用dba连接数据库 -->sqlplus / as sysdba 2.查看字符集 -->SELECT parameter, value FROM v$nls_parameters WHERE parameter LIKE '%CHARACTERSET'; 好像结果: PARAMETER ---------------------------------------------------------------- VALUE -------…