12.07.2015 Views

Oracle SQL Developer

Oracle SQL Developer

Oracle SQL Developer

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using the <strong>SQL</strong> WorksheetRelated TopicsUsing Snippets to Insert Code FragmentsRun/Debug PL/<strong>SQL</strong> (dialog box)Debugging a PL/<strong>SQL</strong> Procedure (tutorial)Subprograms and Packages: Usage Information<strong>SQL</strong> <strong>Developer</strong> Concepts and Usage1.6 Using the <strong>SQL</strong> WorksheetYou can use the <strong>SQL</strong> Worksheet to enter and execute <strong>SQL</strong>, PL/<strong>SQL</strong>, and <strong>SQL</strong>*Plusstatements. You can specify any actions that can be processed by the databaseconnection associated with the worksheet, such as creating a table, inserting data,creating and editing a trigger, selecting data from a table, and saving that data to a file.When you connect to a database, a <strong>SQL</strong> Worksheet window for that connection isautomatically opened. You can also display a <strong>SQL</strong> Worksheet by selecting Tools andthen <strong>SQL</strong> Worksheet, or by clicking the Use <strong>SQL</strong> Worksheet icon under the menu bar.In the Select Connection dialog box, select the database connection to use for yourwork with the worksheet. (You can also use that dialog box to create and edit databaseconnections.)The <strong>SQL</strong> Worksheet has the user interface shown in the following figure:<strong>SQL</strong> Worksheet toolbar (under the <strong>SQL</strong> Worksheet tab): Contains icons for thefollowing operations:■Execute Statement executes the statement at the mouse pointer in the Enter <strong>SQL</strong>Statement box. The <strong>SQL</strong> statements can include bind variables (but notsubstitution variables) of type VARCHAR2 (although in most cases, VARCHAR2is automatically converted internally to NUMBER if necessary); a pop-up box isdisplayed for entering bind variable values.1-16 <strong>SQL</strong> <strong>Developer</strong> Online Help

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!