iSQL*Plus User's Guide and Reference
Release 9.0.1

Part Number A88826-01
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to beginning of chapter Go to next page

Command Reference, 18 of 38


EXECUTE

EXEC[UTE] statement

Executes a single PL/SQL statement. The EXECUTE command is often useful when you want to execute a PL/SQL statement that references a stored procedure. For more information on PL/SQL, see your PL/SQL User's Guide and Reference.

Terms | Usage | Examples | Top

Refer to the following for a description of the term or clause:

statement

Usage | Terms | Examples | Top

If your EXECUTE command cannot fit on one line because of the PL/SQL statement, use the SQL*Plus continuation character (a hyphen).

The length of the command and the PL/SQL statement cannot exceed the length defined by SET LINESIZE.

Examples | Terms | Usage | Top

If the variable :n has been defined with:

Keyboard icon
VARIABLE n NUMBER

The following EXECUTE command assigns a value to the bind variable n:

Keyboard icon
EXECUTE :n := 1

Screen icon
PL/SQL procedure successfully completed.

For information on how to create a bind variable, see the VARIABLE command in this chapter.


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 2001 Oracle Corporation.

All Rights Reserved.
Go To Table Of Contents
Contents
Go To Index
Index