def _get_run_sql():
try:<EOL><INDENT>from invenio.dbquery import run_sql<EOL><DEDENT>except ImportError:<EOL><INDENT>from invenio.legacy.dbquery import run_sql<EOL><DEDENT>return run_sql<EOL>
Import ``run_sql``.