Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.3 KB

File metadata and controls

32 lines (27 loc) · 1.3 KB
title SQLExecute | Microsoft Docs
ms.custom
ms.date 03/06/2017
ms.prod sql-server-2016
ms.reviewer
ms.suite
ms.technology
docset-sql-devref
ms.tgt_pltfrm
ms.topic reference
helpviewer_keywords
SQLExecute function
ms.assetid 4d7db8b6-611f-4fe4-be85-2a407059de45
caps.latest.revision 14
author JennieHubbard
ms.author jhubbard
manager jhubbard

SQLExecute

[!INCLUDESNAC_Deprecated]

If the statement attribute SQL_SOPT_SS_PARAM_FOCUS is not set to 0, SQLExecute 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.

Remarks

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

See Also

SQLExecute
ODBC API Implementation Details