Share this page

# 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);

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: