Skip to content

Commit 30e861f

Browse files
authored
Update ODBC driver version
1 parent 5a7feec commit 30e861f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/connect/python/pyodbc/step-3-proof-of-concept-connecting-to-sql-using-pyodbc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ server = 'tcp:myserver.database.windows.net'
3333
database = 'mydb'
3434
username = 'myusername'
3535
password = 'mypassword'
36-
cnxn = pyodbc.connect('DRIVER={ODBC Driver 17 for SQL Server};SERVER='+server+';DATABASE='+database+';UID='+username+';PWD='+ password)
36+
cnxn = pyodbc.connect('DRIVER={ODBC Driver 18 for SQL Server};SERVER='+server+';DATABASE='+database+';UID='+username+';PWD='+ password)
3737
cursor = cnxn.cursor()
3838

3939
```

0 commit comments

Comments
 (0)