Unix and Linux Discussions Tagged with statement |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
10,741 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
3,659 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
4,284 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
3,725 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,222 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
3,222 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
1,437 |
Shell Programming and Scripting |
|
|
|
4 |
3,559 |
Shell Programming and Scripting |
|
|
|
2 |
2,362 |
Shell Programming and Scripting |
|
|
|
6 |
37,499 |
Shell Programming and Scripting |
|
|
|
3 |
2,126 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,065 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,723 |
Shell Programming and Scripting |
|
|
|
8 |
4,036 |
Programming |
|
|
|
7 |
5,102 |
Shell Programming and Scripting |
|
|
|
3 |
3,458 |
Shell Programming and Scripting |
|
|
|
5 |
3,457 |
AIX |
|
|
|
1 |
1,953 |
Shell Programming and Scripting |
|
|
|
2 |
7,626 |
Shell Programming and Scripting |
|
|
|
6 |
5,144 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,252 |
Shell Programming and Scripting |
|
|
|
2 |
1,653 |
Shell Programming and Scripting |
|
|
|
4 |
2,564 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
29,327 |
Shell Programming and Scripting |
|
|
|
4 |
6,513 |
UNIX for Dummies Questions & Answers |
|
|
|
16 |
10,676 |
Linux |
|
|
|
4 |
5,959 |
Shell Programming and Scripting |
|
|
|
2 |
4,412 |
Shell Programming and Scripting |
|
|
|
2 |
18,577 |
Shell Programming and Scripting |
|
|
|
3 |
11,250 |
Shell Programming and Scripting |
|
|
|
1 |
8,033 |
Shell Programming and Scripting |
|
|
|
3 |
3,317 |
Shell Programming and Scripting |
|
|
|
1 |
8,032 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
13,542 |
Shell Programming and Scripting |
|
|
|
3 |
3,072 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,527 |
Shell Programming and Scripting |
|
|
|
1 |
2,119 |
Shell Programming and Scripting |
|
|
|
3 |
2,883 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,564 |
Shell Programming and Scripting |
|
|
|
7 |
131,855 |
Shell Programming and Scripting |
EXECUTE(7) SQL Commands EXECUTE(7)
NAME
EXECUTE - execute a prepared statement
SYNOPSIS
EXECUTE name [ ( parameter [, ...] ) ]
DESCRIPTION
EXECUTE is used to execute a previously prepared statement. Since prepared statements only exist for the duration of a session, the pre-
pared statement must have been created by a PREPARE statement executed earlier in the current session.
If the PREPARE statement that created the statement specified some parameters, a compatible set of parameters must be passed to the EXECUTE
statement, or else an error is raised. Note that (unlike functions) prepared statements are not overloaded based on the type or number of
their parameters; the name of a prepared statement must be unique within a database session.
For more information on the creation and usage of prepared statements, see PREPARE [prepare(7)].
PARAMETERS
name The name of the prepared statement to execute.
parameter
The actual value of a parameter to the prepared statement. This must be an expression yielding a value that is compatible with the
data type of this parameter, as was determined when the prepared statement was created.
OUTPUTS
The command tag returned by EXECUTE is that of the prepared statement, and not EXECUTE.
EXAMPLES
Examples are given in the Examples [prepare(7)] section of the PREPARE [prepare(7)] documentation.
COMPATIBILITY
The SQL standard includes an EXECUTE statement, but it is only for use in embedded SQL. This version of the EXECUTE statement also uses a
somewhat different syntax.
SEE ALSO
DEALLOCATE [deallocate(7)], PREPARE [prepare(7)]
SQL - Language Statements 2010-05-14 EXECUTE(7)