chairyuan Posted August 14, 2003 Posted August 14, 2003 Looks like I have a million questions. I'm running VS.net. I try to connect to an AS/400 database. I drag the OldDbDataAdapter, then the Data Adapter Configuration wizard pops up. I choose New connection. I want to connect to a DB2 database on AS/400 (iSeries), so I choose 'IBM DB2 UDB for iSeries OLE DB Provider', entering IP address on the server name text box, enter the user name, add the library I wants to access in default collection, test Connection - succeeded. Using Query Builder, it shows all the table (physical file) and view (logical file) in the library. I select the 'temp' table, select * (all columns) - SELECT MYLIB.TEMP.* FROM MYLIB.TEMP. Now, next to View Wizard Results. Error: Generated SELECT statement. Failed to get schema for this query. What cause that? Does iSeries has to has the SQL package installed? Quote
laredo512 Posted January 19, 2006 Posted January 19, 2006 No, it's because (in my opinion) IBM can't bring themselves to make something compatible with the rest of the planet. Your query should look like this => SELECT * FROM MYLIB."TEMP" For some idiotic reason, that's the only way I can access specific tables Quote Laredo512 * using VS.NET Pro 2003 *
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.