Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
GFFD
New Member

SQL_MAX_TABLE_NAME_LEN from SQLGetinfo (18)

Trying to acces a table in a database using ODBC, I'm getting an error [HY090] stating that a table name was larger than SQL_MAX_TABLE_NAME_LEN from SQLGetinfo (18).

 

The software supplier said this is a PowerBI problem and not a connection error. Now I'm wondering how to change the SQLGerinfo (18) so table names larger than 18 can be processed. Does anyone know where to find the correct info?

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @GFFD,

 

Per my research, there is no such an option in Power BI that can control the SQL_MAX_TABLE_NAME_LEN allowed to be loaded. It looks like a property setting in ODBC. Please test whether you can connect to the same database and same data tables in Excel. Besides, update the desktop to latest version to have a try.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello Yuliana,

 

Thanks for your reply.

I think your right assuming the problem is a property setting in ODBC. Connecting in Excel, using the same ODBC connecting, results in the same error when reading the same database tables.

We already updated the desktop to the latest version so that shouldn't be the problem.

 

Now I have to find out what property setting in ODBC causes the error,... 😕

 

Regards,

Danny

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.