need an sql query to extract results in the attached format
Database
1
Posts
1
Posters
0
Views
1
Watching
-
Hi Everyone,
I need a help in sql.
Below is the details:
from the front end, i will select few sql objects
for eg,
i am selecting
a) ProcedureName1, View_1 from Company_BAT and
b) GetEmpByProjID,GetAllProj, samplefunction from Company_DEVhere
ProcedureName1,GetEmpByProjID,GetAllProj are procedures.
View_1 is a view.
samplefunction is a function.ProcedureName1 uses a) View_1 (View_1 uses Table_1)
b) Table_1
c) Table_2View_1 uses a) Table_1
GetEmpByProjID uses a) Employee
GetAllProj uses a) Employee
b) Projectsamplefunction a) it doesnt uses any objects
i need the output in the format as in the below screenshot in the below link:
PLease advise, how to obtain result in this format.