Grant view definition in SQL Server 2000
How to grant view definition for all objects on a database 开发者_StackOverflow社区in SQL Server 2000
A user can see all objects in SQL Server 2000: there is no metadata visibility.
They may not have EXECUTE or SELECT permissions though.
Unfortunately, there are no fine-grained permissions in SQL Server 2000 so you'll have to grant ddl_admin, db_owner or query syscomments.
精彩评论