本文介紹了“授予所有角色"在 SQL Server 中的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
請有人解釋以下語句在 SQL Server 2005 中的作用:
Please can someone explain what the following statement does in SQL Server 2005:
GRANT ALL TO pax_writer
pax_writer 是之前使用語句創建的數據庫角色
pax_writer is a database role previously created using the statement
CREATE ROLE pax_writer AUTHORIZATION dbo
推薦答案
授予數據庫權限
這是您唯一一次可以將 ON ThingsAndStuff
子句排除在外的情況.
This is the only time you can leave the ON ThingsAndStuff
clause out.
全部
此選項不會授予所有可能的權限.授予 ALL 是相當于授予以下權限:備份數據庫,備份記錄,創建數據庫,創建默認值,創建函數,創建程序,創建規則、創建表和創建查看.
This option does not grant all possible permissions. Granting ALL is equivalent to granting the following permissions: BACKUP DATABASE, BACKUP LOG, CREATE DATABASE, CREATE DEFAULT, CREATE FUNCTION, CREATE PROCEDURE, CREATE RULE, CREATE TABLE, and CREATE VIEW.
這篇關于“授予所有角色"在 SQL Server 中的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!