Home > Database > Mysql Tutorial > Oracle的外部表,或者备份单个表到外部文件

Oracle的外部表,或者备份单个表到外部文件

WBOY
Release: 2016-06-07 17:08:20
Original
1341 people have browsed it

这是Tom的深入数据库体系结构的例子,学习了 备份表到外部文件 create table gftuserorganization external(type Oracle_datapump

这是Tom的深入数据库体系结构的例子,学习了

备份表到外部文件

create table gftuser
organization external
(type Oracle_datapump
default directory tmp
location('test0801.dmp')
)
as
 select * from all_objects


从外部文件到数据库
 create table t
( OWNER VARCHAR2(30),
OBJECT_NAME VARCHAR2(30),
SUBOBJECT_NAME VARCHAR2(30),
OBJECT_ID NUMBER,
DATA_OBJECT_ID NUMBER,
OBJECT_TYPE VARCHAR2(19),
CREATED DATE,
LAST_DDL_TIME DATE,
TIMESTAMP VARCHAR2(19),
STATUS VARCHAR2(7),
TEMPORARY VARCHAR2(1),
GENERATED VARCHAR2(1),
SECONDARY VARCHAR2(1)
)
organization external
( type oracle_datapump
default directory TMP
location( 'test0801.dmp' )
)

linux

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template