Skip to content

Commit 626ee51

Browse files
Merge pull request #34551 from dlevy-msft-sql/patch-3
Update python-sql-driver-mssql-python-quickstart.md
2 parents 6f4c54a + 7909a4e commit 626ee51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/connect/python/mssql-python/python-sql-driver-mssql-python-quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This quickstart describes installing Python, and mssql-python then
44
author: dlevy-msft-sql
55
ms.author: dlevy
66
ms.reviewer: vanto, randolphwest
7-
ms.date: 06/18/2025
7+
ms.date: 06/26/2025
88
ms.service: sql
99
ms.subservice: connectivity
1010
ms.topic: quickstart-sdk
@@ -161,7 +161,7 @@ Use a SQL query string to execute a query and parse the results.
161161
```python
162162
records = cursor.fetchall()
163163
for r in records:
164-
print(f"{r[0]}\t{r[2]}\t{r[1]}")
164+
print(f"{r.CustomerID}\t{r.OrderCount}\t{r.CompanyName}")
165165
```
166166
167167
1. **Save** the `app.py` file.

0 commit comments

Comments
 (0)