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

Script Runner/Running scripts


Possibly, one of the most commonly used group of SQL*Plus commands are those that run scripts: @, @@, and start. The script runner emulates a limited set of SQL*Plus features. You can often enter SQL and SQL*Plus statements and execute them by clicking the Run Script icon, which is shown in the next screenshot. The Script Output pane displays the output.

You need to use @@ when running one script that calls a second or third script. In this case, it is necessary to set the path for the top-level file.

For either, set the path navigating to Database | Worksheet. Press F5 to run the script.

Tip

Set the default path for executing SQL scripts

To set the default path for scripts, invoke the Preferences dialog and set the path by navigating to Database | Worksheet. Click on Browse to locate or enter the path.

As with SQL*Plus, if you use @ or start to run a single SQL script file, you can either enter the full path (for example @C:\Performance_Issues\MyScript.sql) or...