puneet:

Rather than describe how you want to do it, please provide more detail of the functionality you seek. Do you, for example want code that will:

1. Look up data values in one table based upon those values existing in another table?

2. Check the data dictionary to determine if columns exist in a table, and select the values in those columns if they do exist?

3. Something else?

Please elaborate.

Thanks!