I have some 3 particular fields ..i want to know which all
tables have those 3 fields. Is there any way to identify..
can we know by quering system tables..
Answer Posted / ratheesh nellikkal
select name ,tbname ,typeschema,source_tabname from
sysibm.syscolumns where name='coloumn name'
This statement will work.
You can try this command also.
select tabname,colname
from syscat.columns
where COLNAME='ID'
and tabschema='MYSCHEMA'
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is reorg?
Explain about cursor stability?
What are the prerogatives?
How can you do the explain of a dynamic sql statement?
What is db2 bind?
Where do you specify them?
Why do we use cursor?
What are the benefits of using the db2 database?
What is the cobol picture clause of the db2 data types date, time, timestamp?
Is ibm db2 free?
What is precompiler in db2?
can all users have the privilage to use the sql statement select * (dml)?
What is bind plan?
How can we read records for specific member in CL? AND rpg?
What is catalog database in db2?