https://www.ibm.com/docs/en/db2/12.1.x?topic=functions-sqlgetstmtattr-function-get-current-setting-statement-attribute
SQLGetStmtAttr
Returns the current setting of a statement attribute.
https://lists.ibiblio.org/sympa/arc/freetds/2002-11/msg00010.html
freetds - PATCH - handle ODBC TXN options and emulate SQLGetStmtAttr with SQLGetStmtOption - arc