Mimer SQL Documentation TOC PREV NEXT INDEX

Mimer SQL Developer Site


EXECUTE STATEMENT


Executes a precompiled statement.



Usage

Embedded/Interactive/ODBC/JDBC

Description

The precompiled statement specified is executed. That is, the precompiled statement identified by statement-name is executed.

In dynamic SQL the application can inquire about the type of statement and information about input and output host variables. I.e. the precompiled statement is handled like any other statement where the actual content of the SQL statement is not known.

A precompiled statement belongs to a schema.

Restrictions

The ident executing the EXECUTE STATEMENT command must have execute privilege on the precompiled statement.

Examples

Interactive

 EXECUTE STATEMENT user2.seltaba;
 
 updtaba;

Embedded SQL

 exec sql EXECUTE STATEMENT user2.seltaba;
 
 exec sql updtaba;

ODBC

 SQLPrepare(hStmt, "EXECUTE STATEMENT user2.seltaba", SQL_NTS);
 ...

Standard Compliance

Standard
Compliance
Comments

Mimer SQL extension
The EXECUTE STATEMENT command is a Mimer SQL extension.


Mimer
Mimer Information Technology AB
Voice: +46 18 780 92 00
Fax: +46 18 780 92 40
info@mimer.se
Mimer SQL Documentation TOC PREV NEXT INDEX