2017年12月21日

Python连接SQL Server执行存储过程1

摘要: 简单的执行一个查询存储过程。带一个参数 没有参数直接写 cursor.execute("exec test") 阅读全文

posted @ 2017-12-21 17:35 _峻熙 阅读(816) 评论(0) 推荐(0) 编辑

Python连接SQL Server数据获取2

摘要: # -*- coding:utf-8 -*- import pymssql import json class MSSQLTABEL: def __init__(self,host,user,pwd,db): self.host = host self.user = user self.pwd = pwd self.db... 阅读全文

posted @ 2017-12-21 17:26 _峻熙 阅读(227) 评论(0) 推荐(0) 编辑

Python连接SQL Server获取数据转JSON

摘要: 头部文件 阅读全文

posted @ 2017-12-21 16:37 _峻熙 阅读(539) 评论(0) 推荐(0) 编辑

Python连接SQL Server数据获取

摘要: # -*- coding: utf-8 -*-'''不同的SQL server版本对应的DRIVER字段不同。对应关系如下{SQL Server} - released with SQL Server 2000{SQL Native Client} - released with SQL Serve 阅读全文

posted @ 2017-12-21 14:39 _峻熙 阅读(2598) 评论(1) 推荐(0) 编辑

导航