We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d94ac7 commit 3eaf899Copy full SHA for 3eaf899
README.md
@@ -47,12 +47,12 @@ The driver offers a suite of Pythonic enhancements that streamline database inte
47
Connect to SQL Server and execute a simple query:
48
49
```python
50
-import mssql_python
+from mssql_python import connect
51
52
# Establish a connection
53
# Specify connection string
54
connection_string = ("SERVER=<your_server_name>;DATABASE=<your_database_name>;UID=<your_user_name>;PWD=<your_password>;Encrypt=yes;")
55
-connection = mssql_python.connect(connection_string)
+connection = connect(connection_string)
56
57
# Execute a query
58
cursor = connection.cursor()
0 commit comments