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

SQL Worksheet "hints" for formatting output


You can use special SQL Worksheet "hints" to generate output in several formats, such as CSV and SQL INSERT statements. (These hints do not work in SQL*Plus but do work in SQLcli.) You must use Run Script (F5), not Execute Statement, to see the formatted output. The hints must be in lowercase. Some example statements showing the available special SQL Worksheet hints are as follows:

SELECT /*ansiconsole*/ * FROM EMPLOYEES; — Best appearance for ANSI terminal.

SELECT /*csv*/ * FROM EMPLOYEES; — Comma-separated values

SELECT /*delimited*/ * FROM EMPLOYEES; — (Same as csv)

SELECT /*fixed*/ * FROM EMPLOYEES; — Fixed-width fields with trailing blanks

SELECT /*html*/ * FROM EMPLOYEES; — Marked-up HTML table

SELECT /*insert*/ * FROM EMPLOYEES; — SQL INSERT statements

SELECT /*json*/ * FROM EMPLOYEES; — JSON object format

SELECT /*loader*/ * FROM EMPLOYEES; — Pipe-delimited format for SQL*Loader

SELECT /*text*/ * FROM EMPLOYEES; — Plain text

SELECT /*xml...