Using SQL Alchemy and pyodbc with IronPython 2.6.1

后端 未结 4 2033
孤城傲影
孤城傲影 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:23

    You could try using SQLAlchemy's adodbapi support instead; the latest version of adodbapi (2.3.0) supports IronPython.

    You should only have to make sure the adodbapi package is on sys.path, and then use 'mssql+adodbapi://' instead of 'mssql://' in your connection string.

提交回复
热议问题