Connecting to Sql Server from Python

B

bg_ie

Hi,

I have an sql server from which I'd like to read and write to. The
connection string is as follows -

"Data Source=localhost\SQLExpress;Initial Catalog=Test;Integrated
Security=True;Pooling=False"

Other properties as they appear in Visual Studio 2005 include -

Data Provider: .NET Framework Data Provider for SQL Server
State: Open
Type: Microsoft SQL Server

So my question is, how might I connect to my Test Catalog and update
data within its tables via perl,

Thanks,

Barry.
 
M

Mike Driscoll

Hi,

I have an sql server from which I'd like to read and write to. The
connection string is as follows -

"Data Source=localhost\SQLExpress;Initial Catalog=Test;Integrated
Security=True;Pooling=False"

Other properties as they appear in Visual Studio 2005 include -

Data Provider: .NET Framework Data Provider for SQL Server
State: Open
Type: Microsoft SQL Server

So my question is, how might I connect to my Test Catalog and update
data within its tables via perl,

Thanks,

Barry.

If you want to do this in Perl, then why are you asking on a Python
list? In Python, there are many ways to accomplish this task. Take a
look at SQLAlchemy, SQLObject, pymssql or the adodb package.

http://pymssql.sourceforge.net/
www.sqlalchemy.org
http://www.sqlobject.org/
http://phplens.com/lens/adodb/adodb-py-docs.htm

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top