--- title: "Executing Queries How-to Topics (ODBC) | Microsoft Docs" ms.custom: "" ms.date: "03/06/2017" ms.prod: sql ms.prod_service: "database-engine, sql-database, sql-data-warehouse, pdw" ms.reviewer: "" ms.technology: native-client ms.topic: "reference" helpviewer_keywords: - "queries [ODBC]" ms.assetid: 3594c908-192e-41ea-9db0-7045da8812b5 author: markingmyname ms.author: maghan monikerRange: ">=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current" --- # Executing Queries How-to Topics (ODBC) [!INCLUDE[appliesto-ss-asdb-asdw-pdw-md](../../../includes/appliesto-ss-asdb-asdw-pdw-md.md)] Executing an SQL statement in an ODBC application requires allocating a statement handle, setting statement attributes, and preparing and executing the SQL statement. ## In This Section - [Use a Statement (ODBC)](../../../relational-databases/native-client-odbc-how-to/execute-queries/use-a-statement-odbc.md) - [Set Cursor Options (ODBC)](../../../relational-databases/native-client-odbc-how-to/execute-queries/set-cursor-options-odbc.md) - [Execute a Statement Directly (ODBC)](../../../relational-databases/native-client-odbc-how-to/execute-queries/execute-a-statement-directly-odbc.md) - [Prepare and Execute a Statement (ODBC)](../../../relational-databases/native-client-odbc-how-to/execute-queries/prepare-and-execute-a-statement-odbc.md) ## See Also [ODBC How-to Topics](../../../relational-databases/native-client-odbc-how-to/odbc-how-to-topics.md)