pymssql是Python语言用来连接微软SQLSERVER数据库的类库,实现了PythonDBAPI2.0。示例代码:importpymssqlconn=pymssql.connect(host='SQL01',user='user',password='password',database='mydatabase')cur=conn.cursor()cur.execute('CREATETABLEpersons(idINT,nameVARCHAR(100))')cur.executemany(&quo