The ODBC API offers two ways to execute an SQL statement:
These two methods can execute a single SQL statement, a call of a stored procedure, or a batch of SQL statements.