》》》》》》》》》》》》数据库表的导入导出《《《《《《《《《《
导出:
用户登录之后,可对数据库表导出保存,Tools–Export Tables…–选择要导出的表【不选的话默认选择全部表】–勾选上Create Tables–选择要保存的位置
导入:
Tools–Import Tables…;
选择您要导入的sql文件–import;
导入成功
》》》》》》》》》》》》SQL语句《《《《《《《《《《
prompt PL/SQL Developer import file
prompt Created on 2018年7月28日 by ZQZ
set feedback off
set define off
prompt Creating DEPT…
create table DEPT
(
deptno NUMBER(2) not null,
dname VARCHAR2(14),
loc VARCHAR2(13)
)
tablespace USERS
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
alter table DEPT
add constraint PK_DEPT primary key (DEPTNO)
using index
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
prompt Creating EMP…