USE AdventureWorks;

GO
EXEC sp_depends @objname="HumanResources.vEmployeeDetails";
GO
EXEC sp_helptext @objname="HumanResources.vEmployeeDetails";