Book Image

Oracle SQL Developer

By : Susan Harper
Book Image

Oracle SQL Developer

By: Susan Harper

Overview of this book

At times, DBAs support 100s of databases at work. In such scenarios, using a command-line tool like putty adds to the difficulty, while SQL Developer makes the life of a developer, DBA, or DB architect easier by providing a graphical user interface equipped with features that can bolster and enhance the user experience and boost efficiency. Features such as DBA panel, Reports, Data Modeler, and Data Miner are just a few examples of its rich features, and its support for APEX, REST Services, timesten, and third-party database drivers demonstrate its extensibility. You may be a newbie to databases or a seasoned database expert, either way this book will help you understand the database structure and the different types of objects that organize enterprise data in an efficient manner. This book introduces the features of the SQL Developer 4.1 tool in an incremental fashion, starting with installing them, making the database connections, and using the different panels. By sequentially walking through the steps in each chapter, you will quickly master SQL Developer 4.1.
Table of Contents (21 chapters)
Oracle SQL Developer
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
11
Working with Application Express
Index

Chapter 7. Importing, Exporting, and Working with Data

Working with one or more databases during development cycles will invariably mean that developers need to replicate schemas between different databases, such as test and production, or they need to test data based on a subset of instance data. To do this, developers need to produce easily replicable scripts that copy and move data from one database instance to another, or from one schema to another.

"Data" means many things to people. Here, data is both the instance data (rows in a table) and metadata (object definitions, such as tables, stored in the Data Dictionary). In this chapter we look at the variety of options offered in SQL Developer, specifically, exporting instance data and metadata, and importing instance data. You will see the different options available when copying instance and metadata from one schema to another and when comparing metadata between two schemas. We'll look at how to create and then use the scripts produced...