Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ The driver offers a suite of Pythonic enhancements that streamline database inte
Connect to SQL Server and execute a simple query:

```python
import mssql_python
from mssql_python import connect

# Establish a connection
# Specify connection string
connection = connect("SERVER=<your_server_name>;DATABASE=<your_database_name>;UID=<your_user_name>;PWD=<your_password>;Encrypt=yes;")
connection_string = "SERVER=<your_server_name>;DATABASE=<your_database_name>;UID=<your_user_name>;PWD=<your_password>;Encrypt=yes;"
connection = mssql_python.connect(connection_string)

# Execute a query
cursor = connection.cursor()
Expand Down