Skip to content

Commit a435f10

Browse files
authored
Update README.md
Updating code sample.
1 parent cb3b6c6 commit a435f10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ import mssql_python
5151

5252
# Establish a connection
5353
# Specify connection string
54-
connection = ("SERVER=<your_server_name>;DATABASE=<your_database_name>;UID=<your_user_name>;PWD=<your_password>;Encrypt=yes;")
54+
connection = connect("SERVER=<your_server_name>;DATABASE=<your_database_name>;UID=<your_user_name>;PWD=<your_password>;Encrypt=yes;")
5555

5656
# Execute a query
5757
cursor = connection.cursor()

0 commit comments

Comments
 (0)