--- description: "Executing Statements ODBC" title: "Executing Statements ODBC | Microsoft Docs" ms.custom: "" ms.date: "01/19/2017" ms.prod: sql ms.prod_service: connectivity ms.reviewer: "" ms.technology: connectivity ms.topic: conceptual ms.assetid: 09063f43-f5f0-4cf0-baa9-12fec8898997 author: David-Engel ms.author: v-daenge --- # Executing Statements ODBC ODBC applications perform almost all database access by executing SQL statements. The general sequence of events is to allocate a statement handle, set any statement attributes, execute the statement, retrieve any results, and free the statement handle. This section contains the following topics. - [Allocating a Statement Handle](../../../odbc/reference/develop-app/allocating-a-statement-handle-odbc.md) - [Statement Attributes](../../../odbc/reference/develop-app/statement-attributes.md) - [Executing a Statement](../../../odbc/reference/develop-app/executing-a-statement.md) - [Statement Parameters](../../../odbc/reference/develop-app/statement-parameters.md) - [Asynchronous Execution (Polling Method)](../../../odbc/reference/develop-app/asynchronous-execution-polling-method.md) - [Asynchronous Execution (Notification Method)](../../../odbc/reference/develop-app/asynchronous-execution-notification-method.md) - [Freeing a Statement Handle](../../../odbc/reference/develop-app/freeing-a-statement-handle-odbc.md)