Hi guys,
I need to find out the actual columns used in the view ( and not the aliased one ) from query.
for ex.
Customer table has columns = Id , Name , Address
CustomerView has all the columns from customer table with alias as follows
Id -> CustomerId , Name -> CustomerName , Address -> CustomerAddress
I need a query which will give me result as follows
ViewName TableName TableColumns Alias Column Name
-----------------------------------------------------------------------
CustomerView Customer Id CustomerId
CustomerView Customer Name CustomerName
CustomerView Customer Address CustomerAddress
Is there any table which holds this information ?
In SQL there is sys.sql_dependencies table which holds this information, Is there any equivalent table present in oracle by which I can achieve this objective ?
I need to find out the actual columns used in the view ( and not the aliased one ) from query.
for ex.
Customer table has columns = Id , Name , Address
CustomerView has all the columns from customer table with alias as follows
Id -> CustomerId , Name -> CustomerName , Address -> CustomerAddress
I need a query which will give me result as follows
ViewName TableName TableColumns Alias Column Name
-----------------------------------------------------------------------
CustomerView Customer Id CustomerId
CustomerView Customer Name CustomerName
CustomerView Customer Address CustomerAddress
Is there any table which holds this information ?
In SQL there is sys.sql_dependencies table which holds this information, Is there any equivalent table present in oracle by which I can achieve this objective ?