Using SQL Alchemy and pyodbc with IronPython 2.6.1

后端 未结 4 2036
孤城傲影
孤城傲影 2021-01-03 15:45

I\'m using IronPython and the clr module to retrieve SQL Server information via SMO. I\'d like to retrieve/store this data in a SQL Server database using SQL Alchemy, but am

4条回答
  •  无人及你
    2021-01-03 16:39

    SQLAlchemy can not directly run under IronPython, because pyodbc currently is not compatible with IronPython.

    However, you can use pypyodbc under IronPython as a dbi-2.0 complaint library, which is similar to pyodbc,and enables running sqlalchemy under Ironpython, this How-to describes the 4 steps to enable it.

    Disclaimer: I'm the maintianer of pypyodbc.

提交回复
热议问题