Skip to Content
0
Jun 08, 2011 at 06:59 PM

Dynamic table in select statement

3570 Views

Hi All,

I have a requirement where i have a select option in which the input is table name , i need to use this input in my select statement and fetch entries in the table where bname is eq to ' ' or uname eq ' '.

the challenge that i am facing is not all the tables have both the fields (uname and Bname).

Request your help on how to code the above requirements.

Thanks,

Bhanu.