only 1 record is being inserted
Posted
by bobobobo
on Stack Overflow
See other posts from Stack Overflow
or by bobobobo
Published on 2009-07-14T00:29:40Z
Indexed on
2010/04/01
14:03 UTC
Read the original article
Hit count: 368
oledb
I'm running an insert statement using OLE DB and an ICommandWithParameters.
In the ICommandText, I made sure to set:
params.cParamSets = n ;
Then
cmdTxt->Execute( NULL, IID_NULL, ¶ms, &rowsAffected, NULL ) ;
Where n > 1, but in my database, all I see is 1 insert happening.
But I set DBPROP_MULTIPLEPARAMSETS in my DBPROPs, and its and INSERT statement so it should not return any rowsets.
© Stack Overflow or respective owner