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 |
|
[!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.
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.