I am working in a DB2
environment using Oracle SQL Developer, I know I can find the structure of a table using:
SELECT * FROM Sysibm.syscolumns WHERE tbname = '[NOMBRE_TABLA]';
but this only shows me the rows of the table and its information, but it does not give me the concrete information of the rows that are foreign keys, that is, I can know what rows are foreign keys of this way:
SELECT * FROM Sysibm.syscolumns WHERE tbname = '[NOMBRE_TABLA]' AND FOREIGNKEY='S';
but not to which tables they point.
How can I show the relational structure of a table with others?
I have tried these solutions, but without success, (I think) because they are answers Oracle
and not DB2