Hello,
In my database, there is a table named "table1" with columns col1, col2, and col3. This table is referenced by multiple views:

So as per the above example the column "Col1" from table1 is being used directly or indirectly in below components
dbo.view1
dbo.view2
dbo.view3
xyz.view4
Now, I want to determine the column lineage specifically for "Col1" in "table1" within the database. Is it possible to retrieve this information using metadata tables or any other means?
Nandan HegdePosted Jan 5, 2024, 6:41 AM
Hey,
Based on my understanding unfortunately directly via TSQL getting end to end column lineage is not possible.
It has to be manually validated or use some 3rd party tools.
Reason : in case if column has alias or is being used in some case/calculaed logics, we need to further track those columns lineage as well.
So for end to end lineage, directly is not possible as per my 2 cents worth
Amit MohantyPosted Jan 4, 2024, 12:40 PM
Check this:
Sachin SinghPosted Jan 4, 2024, 12:34 PM
Yes,
Please follow this