Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.47 KB

File metadata and controls

28 lines (23 loc) · 1.47 KB
title SQLExecDirect | 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
SQLExecDirect function
ms.assetid e7c2a5b5-83f4-4c72-9aca-7b9fb4748b11
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

SQLExecDirect

[!INCLUDEappliesto-ss-asdb-asdw-pdw-md]

If the statement attribute SQL_SOPT_SS_PARAM_FOCUS is not 0, SQLExecDirect will return SQL_ERROR and generate a diagnostic record with SQLSTATE=HY024 and the message "Invalid attribute value, SQL_SOPT_SS_PARAM_FOCUS (must be zero at execution time)". For more information about SQL_SOPT_SS_PARAM_FOCUS, see SQLSetStmtAttr.

For more information about table-valued parameters, see Table-Valued Parameters (ODBC).

See Also

SQLExecDirect
ODBC API Implementation Details