2012年4月17日
摘要: 经常用Python写demo来验证方案的可行性,最近遇到了Python访问SqlServer的问题,这里总结下。一、Windows下配置Python访问Sqlserver环境:Windows 7 + Sqlserver 20081、下载并安装pyodbc下载地址:http://code.google.com/p/pyodbc/downloads/list 2、访问SqlServer>>> import pyodbc>>>cnxn = pyodbc.connect('DRIVER={SQL Server};SERVER=192.168.1.100\\s 阅读全文
posted @ 2012-04-17 16:13 Mike_Zhang 阅读(14283) 评论(5) 推荐(0) 编辑