Share this page

# Example: lrd_bind_cols

In the following example, a SELECT statement retrieves all of the database records from the emp table. a value of 1000 or greater in their SAL column. lrd_exec executes the statement and lrd_bind_cols binds all of the columns to host variables.

    lrd_stmt(Csr1, "select * from emp", -1, 1, 1, 0);

    lrd_bind_cols(Csr1, BCInfo_D26, 0);

    lr_think_time(214);

    lrd_exec(Csr1, 0, 0, 0, 0, 0);

    lrd_fetch(Csr1, -14, 14, 0, PrintRow12, 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: