connected
SQL_CURSOR_COMMIT_BEHAVIOR: SQL_CB_PRESERVE
SQL_CURSOR_ROLLBACK_BEHAVIOR: SQL_CB_PRESERVE

fetched: foo1
fetched: foo2
fetched: foo3
fetched: foo4
fetched: foo5
fetched: foo6
fetched: foo7
fetched: foo8
fetched: foo9
fetched: foo10
Testing SQL_FETCH_NEXT...
fetched: foo11
fetched: foo12
Testing SQL_FETCH_PRIOR...
fetched: foo11
Testing SQL_FETCH_ABSOLUTE (5)...
fetched: foo5
Testing SQL_FETCH_RELATIVE (+2)...
fetched: foo7
Testing SQL_FETCH_RELATIVE (-2)...
fetched: foo5
Testing SQL_FETCH_RELATIVE (+1)...
fetched: foo6
Testing SQL_FETCH_RELATIVE (0, no movement)...
fetched: foo6
Testing SQL_FETCH_FIRST...
fetched: foo1
Testing SQL_FETCH_PRIOR before first row...
Fetch: no data found
Fetch: no data found
Testing SQL_FETCH_NEXT...
fetched: foo1
Testing SQL_FETCH_LAST...
fetched: foo3210
Testing SQL_FETCH_LAST...
fetched: foo3210
Testing SQL_FETCH_NEXT at the end of result set
Fetch: no data found
Testing SQL_FETCH_NEXT at the end of result set
Fetch: no data found
And SQL_FETCH_PRIOR...
fetched: foo3210
Testing SQL_FETCH_RELATIVE (+10)...
Fetch: no data found
And SQL_FETCH_PRIOR...
fetched: foo3210
Testing negative SQL_FETCH_ABSOLUTE (-5)...
fetched: foo3206
Testing negative SQL_FETCH_ABSOLUTE, before start...
got SUCCESS_WITH_INFO
01S06=fetch absolute and before the beginning
fetched: foo1
Testing  SQL_FETCH_ABSOLUTE, beoynd end...
Fetch: no data found
disconnecting
