Im using a DB2 Database. What would be a suitable SQL query to find out if a column is exists in a table or list of tables?
e.g
if "column_name" is found in "table name" or [list of table names]
return true or the name of tables that have that column.
Many thanks.
Use
SYSCAT.COLUMNScatalog view: