Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
使用connection.current_schema=db_name代替 cursor.execute(f' ALTER SESSION SET CURRENT_SCHEMA = "{db_name}" ') 参考 https://cx-oracle.readthedocs.io/en/latest/api_manual/connection.html?highlight=CURRENT_SCHEMA#Connection.current_schema 但是仅自测 cx-oracle 7.3.0 版本
- Loading branch information