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 / srini

select * from sysibm.syscolumns where name = <name you 3
columns here>

The above query to metadata will show you the list of table
names where these 3 columsn present

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you simulate the explain of an embedded sql statement in spufi/qmf?

637


What is a db2 cursor?

626


What is the difference between bind and rebind in db2?

858


What are the benefits of using the db2 database?

662


What is the max length of sqlca?

768






Mention the different locking levels that are available in db2.

645


What is copy pending and check pending in db2?

578


What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?

714


How will you return the number of records in table?

518


What is bufferpool in db2?

580


What is the maximum length of sqlca?

869


Is schema the same as database?

631


How to find primary key of a table in db2?

615


Is db2 a mainframe?

589


Explain about rct in db2?

640