This chapter documents SQL statements in Mimer SQL.
In SQL there are different types of statements:
•Procedural statements, including DML (Data Manipulation Language), see Procedural SQL Statements.
•Data definition (DDL) statements, see Data Definition Statements.
•Access control statements, see Access Control Statements.
•Connection statements, see Connection Statements.
•Declarative statements, see Declarative Statements.
•Embedded SQL statements, see Embedded SQL Statements.
•Embedded SQL control statements, see Embedded SQL Control Statements.
•System administration statements, see System Administration Statements.
Access control statements can be divided into two categories: GRANT and REVOKE.
For information on GRANT statements, see:
For information on REVOKE statements, see:
For information on connection statements, see:
For information on data definition (DDL) statements, see:
•DROP.
Declarative statements, denoted as declarative-statement in syntax diagrams, include the following statements:
Embedded SQL statements include the following statements:
Embedded SQL Control Statements
Embedded SQL control statements include the following statements:
•WHENEVER.
Procedural SQL statements (including DML), denoted procedural-sql-statement in syntax diagrams, include the following statements:
•CALL
•CASE
•FOR
•IF
•LOOP
•OPEN
•SET
•WHILE.
System Administration Statements
System administration statements include the following statements:
The following usage modes apply for SQL statements in Mimer SQL:
•Embedded
You can embed the statement in an embedded SQL application.
•Interactive
You can use the statement in interactive SQL tools such as Mimer BSQL and DbVisualizer.
•JDBC
You can use the statement via the Java Database Connectivity (JDBC) interface.
•Module
You can embed the statement in a Module SQL application.
•ODBC
You can use the statement via the Microsoft Open Database Connectivity (ODBC) interface.
•Procedural
You can use the statement in a function, procedure, trigger or method.