Unix and Linux Discussions Tagged with statement |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
11,016 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
3,775 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
4,408 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
3,825 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,351 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
3,300 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
1,440 |
Shell Programming and Scripting |
|
|
|
4 |
3,576 |
Shell Programming and Scripting |
|
|
|
2 |
2,364 |
Shell Programming and Scripting |
|
|
|
6 |
37,634 |
Shell Programming and Scripting |
|
|
|
3 |
2,129 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,065 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,730 |
Shell Programming and Scripting |
|
|
|
8 |
4,116 |
Programming |
|
|
|
7 |
5,108 |
Shell Programming and Scripting |
|
|
|
3 |
3,460 |
Shell Programming and Scripting |
|
|
|
5 |
3,530 |
AIX |
|
|
|
1 |
1,953 |
Shell Programming and Scripting |
|
|
|
2 |
7,643 |
Shell Programming and Scripting |
|
|
|
6 |
5,145 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,253 |
Shell Programming and Scripting |
|
|
|
2 |
1,653 |
Shell Programming and Scripting |
|
|
|
4 |
2,566 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
29,329 |
Shell Programming and Scripting |
|
|
|
4 |
6,515 |
UNIX for Dummies Questions & Answers |
|
|
|
16 |
10,930 |
Linux |
|
|
|
4 |
5,969 |
Shell Programming and Scripting |
|
|
|
2 |
4,416 |
Shell Programming and Scripting |
|
|
|
2 |
18,605 |
Shell Programming and Scripting |
|
|
|
3 |
11,252 |
Shell Programming and Scripting |
|
|
|
1 |
8,034 |
Shell Programming and Scripting |
|
|
|
3 |
3,326 |
Shell Programming and Scripting |
|
|
|
1 |
8,037 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
13,544 |
Shell Programming and Scripting |
|
|
|
3 |
3,073 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,532 |
Shell Programming and Scripting |
|
|
|
1 |
2,120 |
Shell Programming and Scripting |
|
|
|
3 |
2,884 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,567 |
Shell Programming and Scripting |
|
|
|
7 |
131,892 |
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)