refactoring parse_xsqlda()
parse_xsqlda() return stmt_type and xsqlda