Example: lrd_row_count

In the following example, lrd_row_count indicates the number of affected rows after the execution of an UPDATE command.

int jRowCount; 
lrd_open_cursor(&Csr1, Con1, 0);
lrd_stmt(Csr1, "update TestTable set col = 150 where col = 140", -1, 1, 0, 0);
lrd_row_count(Csr1, &jRowCount, 0);
lrd_close_cursor(&Csr1,0);