Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.2 KB

File metadata and controls

26 lines (21 loc) · 1.2 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
ICommand (Native Client OLE DB provider)
ICommand (Native Client OLE DB provider)
markingmyname
maghan
03/14/2017
sql
native-client
reference
ICommand [SQL Server Native Client]

ICommand (Native Client OLE DB Provider)

[!INCLUDESQL Server Azure SQL Database Synapse Analytics PDW]

Important

[!INCLUDEsnac-removed-oledb-only]

This topic discusses OLE DB behavior that is specific to [!INCLUDEssNoVersion] Native Client.

ICommand::Execute

Inserting data that is greater than the size of a column typically results in an error. However, there are situations where S_OK will be returned but the dwStatus will be set to DBSTATUS_S_TRUNCATED. This generally occurs when inserting data with parameters, where the column is not large enough to hold the data, and ICommandWithParameters::SetParameterInfo has not been called.

See Also

Interfaces (OLE DB)