Skip to navigation
Check if a mssql server is online with python
08.02.17
import pymssql conn = pymssql.connect( server="192.168.1.230", port=1433, user="foo", password="bar", database="bar") cursor = conn.cursor() cursor.execute("SELECT @@VERSION") print(cursor.fetchone()[0])
http://pymssql.org/en/latest/faq.html
Reply
Anonymous
Information Epoch 1747214101
Save trees.
Home
Notebook
Contact us