Example: lrd_print

In the following example, lrd_print prints the results of the lrd_exec operation.

/* Set up and execute the SQL statement.*/ 
lrd_stmt(Csr1, "select ename from employee where (sal>=1000)\n", -1, 1, 1, 0); 
lrd_bind_col(Csr1, 1, &D21_ENAME, 0); 
lrd_exec(Csr1, 0, 0, 0, 0); 
lrd_print(Csr1, PrintRow24);