use dynamically compiled odbc type helper

instead of compile time functions