Forum Discussion

comish4lif's avatar
comish4lif
Icon for Helper II rankHelper II
8 years ago
Solved

"Unable to Connect" to IBM DB2 Database via SQLStatement

I am trying to pull data from a DB2 data warehouse. I have set up the connection string and database name. I am using the following very simple query:   select * from AEHRDW.FEMPRFDEM where FEMPR...
  • comish4lif's avatar
    comish4lif
    8 years ago

    Thanks for all of the comments and suggestions. The SQL that I begin with was written and tested in IBM Data Studio.

     

    But here's what solved it for me - I removed the semi-colon at the end of the SQL, and it works just fine now.