Result-Generating and Result-Free Statements
SQL statements in the first two categories are collectively known as result-generating statements. SQL statements in the latter three categories are collectively known as result-free statements. ODBC defines the semantics of batches that include only result-generating
statements. The semantics of batches that include result-free statements vary
widely and are therefore data source
Result set
Row count
Data Definition Language (DDL) statements. These are SQL statements that modify the structure of the database. For
example, CREATE TABLE or DROP INDEX.
Context changing statements. These are SQL statements that change the context of a database. For example,
the USE and SET statements in SQL Server.
Administrative statements. These are SQL statements used for administrative purposes in a database. For
example, GRANT and REVOKE.