[Tutor] MS SQL Connection

Mike Hansen Mike.Hansen at atmel.com
Tue May 22 00:06:11 CEST 2007


 

> -----Original Message-----
> From: tutor-bounces at python.org 
> [mailto:tutor-bounces at python.org] On Behalf Of Leon Keylin
> Sent: Monday, May 21, 2007 3:52 PM
> To: tutor at python.org
> Subject: [Tutor] MS SQL Connection
> 
> Been trying to do a very small and simple select via Python. 
> First I tried a module that looked clean but it couldn't 
> truncate tables. 
> 
> Then I started sifting through docs at python.org and 
> couldn't find a simple
> way of communicating with a MS SQL via Python program. 
> 
> Do I have to use ODBC? 
> 
> Any examples would be awesome. Thanks!
> 

I did a quick search on Google for MS SQL Python, and this came up. It
looks like it will do the trick.

http://pymssql.sourceforge.net/

Mike


More information about the Tutor mailing list