Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Help with Error: IBM DB2: ERROR [42704] [IBM][DB2] SQL0204N

I am able to connect to DB2 database from Power BI Desktop (SSL connection) and see the tables. But when I try to select a table I get the below error. Has anyone come across this error. Kindly help....
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi v-cgao-msft

     

    Thanks for your response. The issue is resolved now. I tried options suggested from various threads on connecting Power BI to DB2. The version of Power BI that I had was latest. Also, I couldn't get anywhere with the IBM documentation on the error. I even tried selecting Microsoft driver instead of IBM driver. But nothing worked for me.

     

    Finally the resolution was to select ODBC as the data source instead of IBM database and use SSL connection in order to connect to DB2. I was able to access the DB2 tables in mainframe successfully. 

     

    Thank you.