Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I am writing a ODBC driver for Athena. When I try to fetch data by Power BI through ODBC driver, I get lots of continuous SQLMoreResults without fetching any data. I attached some loggers, and don't understand why POWER BI call SQLMoreResults so frequently without fetching any data??
Microsoft.Mashu 41a0-2fd4 EXIT SQLMoreResults with return code 0 (SQL_SUCCESS)
HSTMT 0x00000270A09B3670
Microsoft.Mashu 41a0-2fd4 ENTER SQLMoreResults
HSTMT 0x00000270A09B3670
Microsoft.Mashu 41a0-2fd4 EXIT SQLMoreResults with return code 0 (SQL_SUCCESS)
HSTMT 0x00000270A09B3670
Microsoft.Mashu 41a0-2fd4 ENTER SQLMoreResults
HSTMT 0x00000270A09B3670
Microsoft.Mashu 41a0-2fd4 EXIT SQLMoreResults with return code 0 (SQL_SUCCESS)
HSTMT 0x00000270A09B3670
Microsoft.Mashu 41a0-2fd4 ENTER SQLMoreResults
HSTMT 0x00000270A09B3670
Microsoft.Mashu 41a0-2fd4 EXIT SQLMoreResults with return code 0 (SQL_SUCCESS)
HSTMT 0x00000270A09B3670
Microsoft.Mashu 41a0-2fd4 ENTER SQLMoreResults
HSTMT 0x00000270A09B3670
Microsoft.Mashu 41a0-2fd4 EXIT SQLMoreResults with return code 0 (SQL_SUCCESS)
HSTMT 0x00000270A09B3670
Microsoft.Mashu 41a0-2fd4 ENTER SQLMoreResults
HSTMT 0x00000270A09B3670
Microsoft.Mashu 41a0-2fd4 EXIT SQLMoreResults with return code 100 (SQL_NO_DATA_FOUND)
HSTMT 0x00000270A09B3670
Make sure the SQL statement only returns one result set.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 10 | |
| 10 | |
| 4 | |
| 3 | |
| 3 |