Open naresh561 opened 3 years ago
I found that in tds.py Line number 707
if done_count_valid:
self.rows_affected = rows_affected
else:
self.rows_affected = -1
is causing the issue
@naresh561 For your reference: MS-TDS: DONEPROC
The DONE_COUNT flag in DONEPROC message is 0, simply states that bulk insert does not returns a row count, so it's natural to have -1 as return value. 0x10: DONE_COUNT. The DoneRowCount value is valid. This is used to distinguish between a valid value of 0 for DoneRowCount or just an initialized variable.
I have a sp
I have this code
The Problem occurs when I am trying to call the SP with following code
the RowCount is -1 while it should be non negative value. Please help Me, Thank you.