Get Root value from a Hierarchical query
I am trying to write a hierarchical query for one of my tables.
I need to find out the root value by inputting a leaf value of any level.
for example: I am inputting a value which is at 4th level. I need to find the root value without displaying the other levels.
Please help.
Thanks.