I have two databases - database1, database2
userid: abc
when I logged into database1 with userid, am not able to see database2 view scripts. Those are showing locked.
My requirement - Basically, I want to see all the objects, query tables & view and see view scripts and tables structure in database2. What permission I should assign to userid on database2?