Hi,
Would require help in transposing row values to single column values
The below query provides the list of indexes and the index columns.
In case of composite indexes, multiple index column is appearing in seperate rows.
select a.INDEX_NAME, b. column_name
from all_indexes a, all_ind_columns b
where a.index_name = b.index_name
would like to have query which would display index name and all of the index columns together.
To be more precise,
Index_name:
IDX_XXXX_T1
Column_name:
FLD1
FLD2
FLD3
Result should be
IDX_XXXX_T1.(FLD1,FLD2,FLD3)
Need your help in framing the query.
Thanks & Regards,
Shantha.
Talent is what you possess;
genius is what possesses you
Would require help in transposing row values to single column values
The below query provides the list of indexes and the index columns.
In case of composite indexes, multiple index column is appearing in seperate rows.
select a.INDEX_NAME, b. column_name
from all_indexes a, all_ind_columns b
where a.index_name = b.index_name
would like to have query which would display index name and all of the index columns together.
To be more precise,
Index_name:
IDX_XXXX_T1
Column_name:
FLD1
FLD2
FLD3
Result should be
IDX_XXXX_T1.(FLD1,FLD2,FLD3)
Need your help in framing the query.
Thanks & Regards,
Shantha.
Talent is what you possess;
genius is what possesses you