hello everyone
i want to know if there is a way to get the table name for a column from a resultSet
thers a method getTableName(int) in ResultSetMetaData but tht doesnt seem to work in ORACLE.i havnt tested it in SQL SERVER.
its returning empty
string!!!
my prob is tht is in sql query there is a ambigous column, is there any way to know the table name with help of ResultSet returned by the query???
eg. select * from EMP,EMPPROJECT
EMP{ID,AGE} PROJECT{ID,STARTDATE}
In this case Resultset returned contains to column with name ID so is there any way tht i can differentiate these columns except the order in which they are returned???
Thaking in advance
regards
Saurabh