This looks to be very good SP.
I have small problem creating this sp , get following message
Cannot add rows to sysdepends for the current stored procedure because it depends on the missing object 'usp_DisplayTableRelation'. The stored procedure will still be created.
Still, I continued but not resulting anything else then tblname that is input.
Will appriciate your help to resolve the problem..
Thanks,
Sameer
Kindest Regards,
Sameer Raval [Sql Server DBA]
Geico Insurance
RavalSameer@hotmail.com