Oracle SQL Developer 相关
2011-06-22 17:31
316 查看
Oracle SQL Developer 界面语言设成英文
在软件目录中搜索找到sqldeveloper.conf,加入
其它的虚拟参数参数也可以通过这种方式传递。
使用Oracle Sql Developer工具导出数据
原文地址:http://www.oracle.com/technetwork/developer-tools/sql-developer/export-intro-1-161239.html
How to Export Data using SQL Developer
Updated: Nov 2009 for SQL Developer 2.1
After completing this How-To, you should be able to understand:
How to export data to various file formats using SQL Developer
How to export the object definitions in your schema
Table of Contents
Introduction
Software Requirements
Export Data
Export Object Definitions
Additional Resources
SQL Developer provides utilities to export both the definitions of the
objects in a schema and the data stored in those objects. In this
How-To we start by exporting the data and then move onto exporting object definitions.
Oracle Database 9.2.0.1 or later
Access to the Sample User Account HR (See Step 2 of this Getting Started: Oracle SQL Developer Guide)
Developer provides the ability to export some or all of your object
definitions to script files. You can use these as a backup of the object
definitions or run them in another schema. In this exercise, you export
all the object definitions and the data for the Departments table.
Discuss this how-to in the OTN SQL Developer Forum.
在软件目录中搜索找到sqldeveloper.conf,加入
AddVMOption -Duser.language=en AddVMOption -Duser.country=US
其它的虚拟参数参数也可以通过这种方式传递。
使用Oracle Sql Developer工具导出数据
原文地址:http://www.oracle.com/technetwork/developer-tools/sql-developer/export-intro-1-161239.html
How to Export Data using SQL Developer
Updated: Nov 2009 for SQL Developer 2.1
After completing this How-To, you should be able to understand:
How to export data to various file formats using SQL Developer
How to export the object definitions in your schema
Table of Contents
Introduction
Software Requirements
Export Data
Export Object Definitions
Additional Resources
1. Introduction
OracleSQL Developer provides utilities to export both the definitions of the
objects in a schema and the data stored in those objects. In this
How-To we start by exporting the data and then move onto exporting object definitions.
2. Software Requirements
Oracle SQL DeveloperOracle Database 9.2.0.1 or later
Access to the Sample User Account HR (See Step 2 of this Getting Started: Oracle SQL Developer Guide)
3. Exporting Data
SQL Developer provides the ability to export user data to a variety of formats: CSV, XML, LOADER, TEXT, INSERT, HTML and XLS.1. | In order to export the data from a table you can either use the SQL Worksheet and write a SQL query to retrieve the required data (See Step 5 of the Getting Started: Oracle SQL Developer Guide) or you can Click on the Data tab of a table definition. We'll use this latter approach. Expand the Connections Navigator and the Tables node. Click on DEPARTMENTS. Select the Data tab. |
2. | Right-click anywhere on the data to invoke the context menu. Select insert from the Export Data context menu. This will produce a file of insert statements. |
3. | Choose an appropriate directory and name for the file. You can also fine tune what is exported by selecting the columns and adding a where clause to reduce the number of records returned. In this example, we'll take the default of all the records and columns. |
4. | Click Apply to create the file. |
5. | To review the file created, click the Open Folder icon . Select the new file DEPARTMENTS.sql from your file directory. The sql file will open into a SQL Worksheet. |
4. Exporting Object Definitions
SQLDeveloper provides the ability to export some or all of your object
definitions to script files. You can use these as a backup of the object
definitions or run them in another schema. In this exercise, you export
all the object definitions and the data for the Departments table.
1. | Using the main menu, select Tools->Database Export. |
2. | An Export wizard will open. At the top of the screen, enter a directory and file name. e.g. C:\Working\exportDept.sql. and select the Connection. |
3. | Set the DDL Options for this Export. e.g. check Include Drop Statement. Click Next. |
4. | In this step, you can slect what Object Types to export. We will take the default for all object types. Click Next. |
5. | In this step, you can specify the objects to export. Instead of querying all objects by immediately selecting Go, you can enter a restriction criteria. Enter D% and then click Go. |
6. | You can restrict the list of choices further by using the drop list on the right.. Select Table from the list of object types. Click Go. The list now displays tables that start with "D". |
7. | Select the table Departments and shuttle to the right hand panel. Click Next. |
8. | In this step, you can specify the data that gets exported. Click Go and a list of tables will be listed. Shuttle Departments to the right hand panel.. Click Next. |
9. | In this final step, you can review your Export Summary. Click Finish. |
10. | To review the file created, go to the main menu and select View-> Files to open the Files Navigator tab. Select the new file exportDept.sql from your file directory. The sql file will open into a SQL Worksheet. |
5. Additional Resources
There are many SQL examples in the Database Documentation on OTNDiscuss this how-to in the OTN SQL Developer Forum.
相关文章推荐
- Oracle SQL Developer相关
- PL/SQL Developer连接本地Oracle 11g 64位数据库
- Oracle 笔记(三)、SQL*PLUS 相关
- PL/SQL Developer跑在Oracle 64位数据库上初始化错误
- 不安装Oracle客户端,透过PL/SQL Developer连接Server DB
- Oracle 11g数据库使用pl/sql developer进行数据导入与导出
- Oracle中在pl/sql developer修改表的两种语句
- Oracle等待事件之五——SQL*NET相关等待事件
- Oracle第三方工具PL/SQL Developer使用一
- 本机不安装Oracle客户端,使用PL/SQL Developer连接远程数据库
- Oracle 11g_64位连接32位PL/SQL Developer
- ORACLE pl/sqldeveloper 客户端乱码--修改Oracle客户端字符集
- PL/SQL Developer配置免安装Oracle客户端
- PL/SQL Developer连接Win7上安装的Oracle(64Bit)图解
- Oracle SQL developer Unable to create an instance of the Java Virtual Machine
- Oracle 11g XE 与 Oracle SQL Developer 的配置与使用(重制版)
- PL/SQL Developer连接Oracle 登录
- PL/SQL Developer在64位系统下连接Oracle
- 安装Oracle SQL Developer时遇到的问题
- Oracle 10g绿色客户端 plus PL/SQL Developer-搭建方便的Oracle客户端使用环境