CREATE SCRIPT Statement

Creates a script in the notebook.

Syntax

CREATE SCRIPT script-name AS sql-commands;

Parameters

Remarks

The CREATE SCRIPT statement creates a new script in the notebook with the specified name and content. Script names are case-insensitive.

If a script with the specified name already exists, an error is thrown.

Once created, the script can be executed using the EXECUTE statement.

Examples