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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.

Top Solution Authors