Grant Select on a view not base table when base table is in a different database

前端 未结 10 1906
广开言路
广开言路 2020-11-30 07:28

I have a view which is selecting rows from a table in a different database. I\'d like to grant select access to the view, but not direct access to the base table. The view

10条回答
  •  眼角桃花
    2020-11-30 08:19

    You can grant permissions on a view and not the base table. This is one of the reasons people like using views.

    Have a look here: GRANT Object Permissions (Transact-SQL)

提交回复
热议问题