Home > Database > Mysql Tutorial > body text

Oracle数据库表和数据分开导出导入的方法

WBOY
Release: 2016-06-07 17:03:17
Original
953 people have browsed it

1.导出 用PLSQL导出 导出表结构: Tools--gt;Export User Objects(导出用户对象) --gt;选择要导出的表(包括Sequence等

1.导出

用PLSQL导出

导出表结构:

Tools-->Export User Objects(导出用户对象) -->选择要导出的表(包括Sequence等)-->.sql文件,导出的都为sql文件

导出表数据:

Tools-->Export Tables-->选择表,选择SQL Inserts-->.sql文件

导入表结构:

执行刚刚导出的sql文件,如果表空间和用户名不同记得要修改掉.

导入表数据:

执行刚刚导出的sql文件

2.导入

首先建立用户,然后用命令行进入,执行 start  + 文件地址 如:start d:\XX.sql

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!