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