Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / rajnish kumar

SELECT R.TABSCHEMA , R.TABNAME FROM
(select TABSCHEMA,TABNAME,COLNAME from syscat.columns where
COLNAME='ROLL') R
INNER JOIN
(select TABSCHEMA,TABNAME,COLNAME from syscat.columns where
COLNAME='NAME') N
ON R.TABNAME=N.TABNAME AND R.TABSCHEMA= N.TABSCHEMA

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between cursor stability and repeatable read isolation levels?

1131


How and when does the db2 enforces the unique key?

1046


How to rename a table in DB2 ?

1039


What is the difference between plan and package in db2?

1055


How can you validate Sql errors during cursor operation in db2 pgms and where do you code?

2180


How to check table size in db2 sap?

988


How can you classify the locks in db2?

1041


Explain about open switch business continuity software?

1083


What is a storage group (stogroup)?

1199


Explain about dbrm.

997


What do you mean by between and in? Is between inclusive of specified range values?

1052


what is utility for parm lib

2322


Is db2 a database?

923


What is the use of predicate?

996


What is rct?

1183