Skip to main content
deleted 1 character in body; edited title
Source Link
user1822
user1822

Not all colulmnscolumns show up on select * on DB2 for IBM i

My client has a table on their IBM iIBMi with a foreign key to another table. It's not showing up with a SELECT * FROM lib.table. However, if I specifically mention it in the column list. It does show up.

SELECT col1, col2.col3, fxcolid FROM lib.table 

I'm using the jt400 driver to query from SQLWorkbench/J.

Not all colulmns show up on select * on DB2 for IBM i

My client has a table on their IBM i with a foreign key to another table. It's not showing up with a SELECT * FROM lib.table. However, if I specifically mention it in the column list. It does show up.

SELECT col1, col2.col3, fxcolid FROM lib.table 

I'm using the jt400 driver to query from SQLWorkbench/J.

Not all columns show up on select * on DB2 for IBM i

My client has a table on their IBMi with a foreign key to another table. It's not showing up with a SELECT * FROM lib.table. However, if I specifically mention it in the column list. It does show up.

SELECT col1, col2.col3, fxcolid FROM lib.table 

I'm using the jt400 driver to query from SQLWorkbench/J.

Source Link
Justin Dearing
  • 2.7k
  • 6
  • 36
  • 52

Not all colulmns show up on select * on DB2 for IBM i

My client has a table on their IBM i with a foreign key to another table. It's not showing up with a SELECT * FROM lib.table. However, if I specifically mention it in the column list. It does show up.

SELECT col1, col2.col3, fxcolid FROM lib.table 

I'm using the jt400 driver to query from SQLWorkbench/J.