Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.07 KB

File metadata and controls

24 lines (18 loc) · 1.07 KB
title Using the OUTPUT Clause with OLE DB in OLE DB Driver for SQL Server
description Learn about using the OUTPUT clause in an INSERT, UPDATE, DELETE, or MERGE command in OLE DB Driver for SQL Server.
author David-Engel
ms.author davidengel
ms.date 06/14/2018
ms.service sql
ms.subservice connectivity
ms.topic reference
ms.custom
ignite-2025

Using the OUTPUT Clause with OLE DB in OLE DB Driver for SQL Server

[!INCLUDE SQL Server Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics PDW FabricSQLDB]

[!INCLUDEDriver_OLEDB_Download]

If you use an OUTPUT clause in an INSERT, UPDATE, DELETE, or MERGE command, the count of affected rows is not available. The application must count the number of rows in the rowset that is returned by the OUTPUT clause.

See Also

Creating an OLE DB Driver for SQL Server Application