D
D
Denis Verbin2015-05-22 18:51:21
linux
Denis Verbin, 2015-05-22 18:51:21

How to connect python to SQL Server?

Interested in the simplest possible way to connect a python script to a Microsoft SQL Server database.
The option with pyodbc + FreeTDS (indicating the connection in the /etc/odbc.ini, /etc/odbcinst.ini, /etc/freetds/freetds.conf files) is passed and very dull. Are there options for connecting in one line in the py script itself?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey K, 2015-05-22
@rez0n

pymssql.org/en/latest/pymssql_examples.html

E
Elios, 2015-05-23
@strelov1

toly-blog.ru/programming/python-receptive-druzhim-py...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question