Python & sql server

后端 未结 4 1281
粉色の甜心
粉色の甜心 2020-12-24 02:15

What is the best way to access sql server from python is it DB-API ? Also could someone provide a such code using the DB-API how to connect to sql server from python and exc

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-24 02:36

    Also could someone provide a such code using the DB-API 
    how to connect to sql server from python and excute query ?
    

    This hello world snippet pretty much shows you the common way how to connect with SQL server in Python with an DBI 2.0 database interface module.

    Disclaimer: I'm the developer of pypyodbc

提交回复
热议问题