Entering content frame

Function documentation Creating an SQL statement Locate the document in the library structure

Use

You want to create an SQL statement.

Prerequisites

You need to open a database session.

Activities

You enter your SQL statements in the SQL dialog window.

Note

The SQL Tutorial provides a brief introduction to SQL. The Reference Manual describes SQL syntax in detail.

The following options are available in the SQL dialog window:

·        To comment out a row, use // or –– at the start of the row.

·        To separate several SQL statements from one another, enter a commented-out separator line.

Example

CREATE SCHEMA hotel
//
SET CURRENT_SCHEMA = hotel

·        To delete all the contents of the SQL dialog window, choose Clear.

·        To display statements that have already been executed in this database session, choose Prev Statement or Next Statement.

See also:

·        Executing an SQL Statement

·        Setting Parameters for an SQL Statement

·        Saving an SQL Statement

 

Leaving content frame