重庆分公司,新征程启航
为企业提供网站建设、域名注册、服务器等服务
这篇文章主要为大家展示了“数据库中必要的建表权限有哪些”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“数据库中必要的建表权限有哪些”这篇文章吧。
成都创新互联是一家集网站建设,汉寿企业网站建设,汉寿品牌网站建设,网站定制,汉寿网站建设报价,网络营销,网络优化,汉寿网站推广为一体的创新建站企业,帮助传统企业提升企业形象加强企业竞争力。可充分满足这一群体相比中小企业更为丰富、高端、多元的互联网需求。同时我们时刻保持专业、时尚、前沿,时刻以成就客户成长自我,坚持不断学习、思考、沉淀、净化自己,让我们为更多的企业打造出实用型网站。
grant create table to jirasys
grant execute on schema::dbo to jirasys
use [datayesdb]
GO
--GRANT INSERT ON SCHEMA::[dbo] TO [jirasys]
--GO
use [datayesdb]
GO
GRANT VIEW DEFINITION ON SCHEMA::[dbo] TO [jirasys]
GO
use [datayesdb]
GO
GRANT CREATE SEQUENCE ON SCHEMA::[dbo] TO [jirasys]
GO
use [datayesdb]
GO
GRANT ALTER ON SCHEMA::[dbo] TO [jirasys]
GO
use [datayesdb]
GO
--GRANT UPDATE ON SCHEMA::[dbo] TO [jirasys]
--GO
use [datayesdb]
GO
GRANT SELECT ON SCHEMA::[dbo] TO [jirasys]
GO
use [datayesdb]
GO
GRANT REFERENCES ON SCHEMA::[dbo] TO [jirasys]
GO
点击(此处)折叠或打开
-USE [master]
--GO
--CREATE LOGIN [jirasys] WITH PASSWORD=N'XXXXXXXXXXXXX', DEFAULT_DATABASE=[bigdata], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF
--GO
USE [bigdata]
DROP USER [jirasys]
CREATE USER [jirasys] FOR LOGIN [jirasys]
ALTER USER [jirasys] WITH DEFAULT_SCHEMA=[dbo]
ALTER ROLE [db_ddladmin] ADD MEMBER [jirasys]
revoke ALTER ANY ASSEMBLY from [jirasys] -- See Assembly Permissions Chart
revoke ALTER ANY ASYMMETRIC KEY from [jirasys] -- See Asymmetric Key Permissions Chart
revoke ALTER ANY CERTIFICATE from [jirasys] -- Certificate Permissions Chart
revoke ALTER ANY CONTRACT from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY DATABASE DDL TRIGGER from [jirasys] --
revoke ALTER ANY DATABASE EVENT NOTIFICATION from [jirasys] -- See Event Notifications Permissions Chart
revoke ALTER ANY DATASPACE from [jirasys] --
revoke ALTER ANY FULLTEXT CATALOG from [jirasys] -- See Full-text Permissions Chart
revoke ALTER ANY MESSAGE TYPE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY REMOTE SERVICE BINDING from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY ROUTE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY SCHEMA from [jirasys] --See Database Permissions – Schema Objects Chart
revoke ALTER ANY SERVICE from [jirasys] --See Service Broker Permissions Chart
revoke ALTER ANY SYMMETRIC KEY from [jirasys] --Symmetric Key Permissions Chart
revoke CREATE AGGREGATE from [jirasys] --
revoke CREATE DEFAULT from [jirasys] --
revoke CREATE FUNCTION from [jirasys] --
revoke CREATE PROCEDURE from [jirasys] --
revoke CREATE QUEUE from [jirasys] --
revoke CREATE RULE from [jirasys] --
revoke CREATE SYNONYM from [jirasys] --
revoke CREATE TYPE from [jirasys] --
revoke CREATE VIEW from [jirasys] --
revoke CREATE XML SCHEMA COLLECTION from [jirasys] --
revoke CHECKPOINT from [jirasys] --
revoke REFERENCES from [jirasys] --
USE [datayesdb]
DROP USER [jirasys]
CREATE USER [jirasys] FOR LOGIN [jirasys]
ALTER USER [jirasys] WITH DEFAULT_SCHEMA=[dbo]
ALTER ROLE [db_ddladmin] ADD MEMBER [jirasys]
revoke ALTER ANY ASSEMBLY from [jirasys] -- See Assembly Permissions Chart
revoke ALTER ANY ASYMMETRIC KEY from [jirasys] -- See Asymmetric Key Permissions Chart
revoke ALTER ANY CERTIFICATE from [jirasys] -- Certificate Permissions Chart
revoke ALTER ANY CONTRACT from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY DATABASE DDL TRIGGER from [jirasys] --
revoke ALTER ANY DATABASE EVENT NOTIFICATION from [jirasys] -- See Event Notifications Permissions Chart
revoke ALTER ANY DATASPACE from [jirasys] --
revoke ALTER ANY FULLTEXT CATALOG from [jirasys] -- See Full-text Permissions Chart
revoke ALTER ANY MESSAGE TYPE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY REMOTE SERVICE BINDING from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY ROUTE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY SCHEMA from [jirasys] --See Database Permissions – Schema Objects Chart
revoke ALTER ANY SERVICE from [jirasys] --See Service Broker Permissions Chart
revoke ALTER ANY SYMMETRIC KEY from [jirasys] --Symmetric Key Permissions Chart
revoke CREATE AGGREGATE from [jirasys] --
revoke CREATE DEFAULT from [jirasys] --
revoke CREATE FUNCTION from [jirasys] --
revoke CREATE PROCEDURE from [jirasys] --
revoke CREATE QUEUE from [jirasys] --
revoke CREATE RULE from [jirasys] --
revoke CREATE SYNONYM from [jirasys] --
revoke CREATE TYPE from [jirasys] --
revoke CREATE VIEW from [jirasys] --
revoke CREATE XML SCHEMA COLLECTION from [jirasys] --
revoke CHECKPOINT from [jirasys] --
revoke REFERENCES from [jirasys] --
USE [DBA_TMP]
DROP USER [jirasys]
CREATE USER [jirasys] FOR LOGIN [jirasys]
ALTER USER [jirasys] WITH DEFAULT_SCHEMA=[dbo]
ALTER ROLE [db_ddladmin] ADD MEMBER [jirasys]
revoke ALTER ANY ASSEMBLY from [jirasys] -- See Assembly Permissions Chart
revoke ALTER ANY ASYMMETRIC KEY from [jirasys] -- See Asymmetric Key Permissions Chart
revoke ALTER ANY CERTIFICATE from [jirasys] -- Certificate Permissions Chart
revoke ALTER ANY CONTRACT from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY DATABASE DDL TRIGGER from [jirasys] --
revoke ALTER ANY DATABASE EVENT NOTIFICATION from [jirasys] -- See Event Notifications Permissions Chart
revoke ALTER ANY DATASPACE from [jirasys] --
revoke ALTER ANY FULLTEXT CATALOG from [jirasys] -- See Full-text Permissions Chart
revoke ALTER ANY MESSAGE TYPE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY REMOTE SERVICE BINDING from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY ROUTE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY SCHEMA from [jirasys] --See Database Permissions – Schema Objects Chart
revoke ALTER ANY SERVICE from [jirasys] --See Service Broker Permissions Chart
revoke ALTER ANY SYMMETRIC KEY from [jirasys] --Symmetric Key Permissions Chart
revoke CREATE AGGREGATE from [jirasys] --
revoke CREATE DEFAULT from [jirasys] --
revoke CREATE FUNCTION from [jirasys] --
revoke CREATE PROCEDURE from [jirasys] --
revoke CREATE QUEUE from [jirasys] --
revoke CREATE RULE from [jirasys] --
revoke CREATE SYNONYM from [jirasys] --
revoke CREATE TYPE from [jirasys] --
revoke CREATE VIEW from [jirasys] --
revoke CREATE XML SCHEMA COLLECTION from [jirasys] --
revoke CHECKPOINT from [jirasys] --
revoke REFERENCES from [jirasys] --
USE [DBCenter]
DROP USER [jirasys]
CREATE USER [jirasys] FOR LOGIN [jirasys]
ALTER USER [jirasys] WITH DEFAULT_SCHEMA=[dbo]
ALTER ROLE [db_ddladmin] ADD MEMBER [jirasys]
revoke ALTER ANY ASSEMBLY from [jirasys] -- See Assembly Permissions Chart
revoke ALTER ANY ASYMMETRIC KEY from [jirasys] -- See Asymmetric Key Permissions Chart
revoke ALTER ANY CERTIFICATE from [jirasys] -- Certificate Permissions Chart
revoke ALTER ANY CONTRACT from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY DATABASE DDL TRIGGER from [jirasys] --
revoke ALTER ANY DATABASE EVENT NOTIFICATION from [jirasys] -- See Event Notifications Permissions Chart
revoke ALTER ANY DATASPACE from [jirasys] --
revoke ALTER ANY FULLTEXT CATALOG from [jirasys] -- See Full-text Permissions Chart
revoke ALTER ANY MESSAGE TYPE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY REMOTE SERVICE BINDING from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY ROUTE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY SCHEMA from [jirasys] --See Database Permissions – Schema Objects Chart
revoke ALTER ANY SERVICE from [jirasys] --See Service Broker Permissions Chart
revoke ALTER ANY SYMMETRIC KEY from [jirasys] --Symmetric Key Permissions Chart
revoke CREATE AGGREGATE from [jirasys] --
revoke CREATE DEFAULT from [jirasys] --
revoke CREATE FUNCTION from [jirasys] --
revoke CREATE PROCEDURE from [jirasys] --
revoke CREATE QUEUE from [jirasys] --
revoke CREATE RULE from [jirasys] --
revoke CREATE SYNONYM from [jirasys] --
revoke CREATE TYPE from [jirasys] --
revoke CREATE VIEW from [jirasys] --
revoke CREATE XML SCHEMA COLLECTION from [jirasys] --
revoke CHECKPOINT from [jirasys] --
revoke REFERENCES from [jirasys] --
USE [dyedb]
DROP USER [jirasys]
CREATE USER [jirasys] FOR LOGIN [jirasys]
ALTER USER [jirasys] WITH DEFAULT_SCHEMA=[dbo]
ALTER ROLE [db_ddladmin] ADD MEMBER [jirasys]
revoke ALTER ANY ASSEMBLY from [jirasys] -- See Assembly Permissions Chart
revoke ALTER ANY ASYMMETRIC KEY from [jirasys] -- See Asymmetric Key Permissions Chart
revoke ALTER ANY CERTIFICATE from [jirasys] -- Certificate Permissions Chart
revoke ALTER ANY CONTRACT from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY DATABASE DDL TRIGGER from [jirasys] --
revoke ALTER ANY DATABASE EVENT NOTIFICATION from [jirasys] -- See Event Notifications Permissions Chart
revoke ALTER ANY DATASPACE from [jirasys] --
revoke ALTER ANY FULLTEXT CATALOG from [jirasys] -- See Full-text Permissions Chart
revoke ALTER ANY MESSAGE TYPE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY REMOTE SERVICE BINDING from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY ROUTE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY SCHEMA from [jirasys] --See Database Permissions – Schema Objects Chart
revoke ALTER ANY SERVICE from [jirasys] --See Service Broker Permissions Chart
revoke ALTER ANY SYMMETRIC KEY from [jirasys] --Symmetric Key Permissions Chart
revoke CREATE AGGREGATE from [jirasys] --
revoke CREATE DEFAULT from [jirasys] --
revoke CREATE FUNCTION from [jirasys] --
revoke CREATE PROCEDURE from [jirasys] --
revoke CREATE QUEUE from [jirasys] --
revoke CREATE RULE from [jirasys] --
revoke CREATE SYNONYM from [jirasys] --
revoke CREATE TYPE from [jirasys] --
revoke CREATE VIEW from [jirasys] --
revoke CREATE XML SCHEMA COLLECTION from [jirasys] --
revoke CHECKPOINT from [jirasys] --
revoke REFERENCES from [jirasys] --
USE [news]
DROP USER [jirasys]
CREATE USER [jirasys] FOR LOGIN [jirasys]
ALTER USER [jirasys] WITH DEFAULT_SCHEMA=[dbo]
ALTER ROLE [db_ddladmin] ADD MEMBER [jirasys]
revoke ALTER ANY ASSEMBLY from [jirasys] -- See Assembly Permissions Chart
revoke ALTER ANY ASYMMETRIC KEY from [jirasys] -- See Asymmetric Key Permissions Chart
revoke ALTER ANY CERTIFICATE from [jirasys] -- Certificate Permissions Chart
revoke ALTER ANY CONTRACT from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY DATABASE DDL TRIGGER from [jirasys] --
revoke ALTER ANY DATABASE EVENT NOTIFICATION from [jirasys] -- See Event Notifications Permissions Chart
revoke ALTER ANY DATASPACE from [jirasys] --
revoke ALTER ANY FULLTEXT CATALOG from [jirasys] -- See Full-text Permissions Chart
revoke ALTER ANY MESSAGE TYPE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY REMOTE SERVICE BINDING from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY ROUTE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY SCHEMA from [jirasys] --See Database Permissions – Schema Objects Chart
revoke ALTER ANY SERVICE from [jirasys] --See Service Broker Permissions Chart
revoke ALTER ANY SYMMETRIC KEY from [jirasys] --Symmetric Key Permissions Chart
revoke CREATE AGGREGATE from [jirasys] --
revoke CREATE DEFAULT from [jirasys] --
revoke CREATE FUNCTION from [jirasys] --
revoke CREATE PROCEDURE from [jirasys] --
revoke CREATE QUEUE from [jirasys] --
revoke CREATE RULE from [jirasys] --
revoke CREATE SYNONYM from [jirasys] --
revoke CREATE TYPE from [jirasys] --
revoke CREATE VIEW from [jirasys] --
revoke CREATE XML SCHEMA COLLECTION from [jirasys] --
revoke CHECKPOINT from [jirasys] --
revoke REFERENCES from [jirasys] --
USE [spiderDB]
DROP USER [jirasys]
CREATE USER [jirasys] FOR LOGIN [jirasys]
ALTER USER [jirasys] WITH DEFAULT_SCHEMA=[dbo]
ALTER ROLE [db_ddladmin] ADD MEMBER [jirasys]
revoke ALTER ANY ASSEMBLY from [jirasys] -- See Assembly Permissions Chart
revoke ALTER ANY ASYMMETRIC KEY from [jirasys] -- See Asymmetric Key Permissions Chart
revoke ALTER ANY CERTIFICATE from [jirasys] -- Certificate Permissions Chart
revoke ALTER ANY CONTRACT from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY DATABASE DDL TRIGGER from [jirasys] --
revoke ALTER ANY DATABASE EVENT NOTIFICATION from [jirasys] -- See Event Notifications Permissions Chart
revoke ALTER ANY DATASPACE from [jirasys] --
revoke ALTER ANY FULLTEXT CATALOG from [jirasys] -- See Full-text Permissions Chart
revoke ALTER ANY MESSAGE TYPE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY REMOTE SERVICE BINDING from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY ROUTE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY SCHEMA from [jirasys] --See Database Permissions – Schema Objects Chart
revoke ALTER ANY SERVICE from [jirasys] --See Service Broker Permissions Chart
revoke ALTER ANY SYMMETRIC KEY from [jirasys] --Symmetric Key Permissions Chart
revoke CREATE AGGREGATE from [jirasys] --
revoke CREATE DEFAULT from [jirasys] --
revoke CREATE FUNCTION from [jirasys] --
revoke CREATE PROCEDURE from [jirasys] --
revoke CREATE QUEUE from [jirasys] --
revoke CREATE RULE from [jirasys] --
revoke CREATE SYNONYM from [jirasys] --
revoke CREATE TYPE from [jirasys] --
revoke CREATE VIEW from [jirasys] --
revoke CREATE XML SCHEMA COLLECTION from [jirasys] --
revoke CHECKPOINT from [jirasys] --
revoke REFERENCES from [jirasys] --
USE [topicdb]
DROP USER [jirasys]
CREATE USER [jirasys] FOR LOGIN [jirasys]
ALTER USER [jirasys] WITH DEFAULT_SCHEMA=[dbo]
ALTER ROLE [db_ddladmin] ADD MEMBER [jirasys]
revoke ALTER ANY ASSEMBLY from [jirasys] -- See Assembly Permissions Chart
revoke ALTER ANY ASYMMETRIC KEY from [jirasys] -- See Asymmetric Key Permissions Chart
revoke ALTER ANY CERTIFICATE from [jirasys] -- Certificate Permissions Chart
revoke ALTER ANY CONTRACT from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY DATABASE DDL TRIGGER from [jirasys] --
revoke ALTER ANY DATABASE EVENT NOTIFICATION from [jirasys] -- See Event Notifications Permissions Chart
revoke ALTER ANY DATASPACE from [jirasys] --
revoke ALTER ANY FULLTEXT CATALOG from [jirasys] -- See Full-text Permissions Chart
revoke ALTER ANY MESSAGE TYPE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY REMOTE SERVICE BINDING from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY ROUTE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY SCHEMA from [jirasys] --See Database Permissions – Schema Objects Chart
revoke ALTER ANY SERVICE from [jirasys] --See Service Broker Permissions Chart
revoke ALTER ANY SYMMETRIC KEY from [jirasys] --Symmetric Key Permissions Chart
revoke CREATE AGGREGATE from [jirasys] --
revoke CREATE DEFAULT from [jirasys] --
revoke CREATE FUNCTION from [jirasys] --
revoke CREATE PROCEDURE from [jirasys] --
revoke CREATE QUEUE from [jirasys] --
revoke CREATE RULE from [jirasys] --
revoke CREATE SYNONYM from [jirasys] --
revoke CREATE TYPE from [jirasys] --
revoke CREATE VIEW from [jirasys] --
revoke CREATE XML SCHEMA COLLECTION from [jirasys] --
revoke CHECKPOINT from [jirasys] --
revoke REFERENCES from [jirasys] --
USE [master]
DROP USER [jirasys]
CREATE USER [jirasys] FOR LOGIN [jirasys]
ALTER USER [jirasys] WITH DEFAULT_SCHEMA=[dbo]
ALTER ROLE [db_ddladmin] ADD MEMBER [jirasys]
revoke ALTER ANY ASSEMBLY from [jirasys] -- See Assembly Permissions Chart
revoke ALTER ANY ASYMMETRIC KEY from [jirasys] -- See Asymmetric Key Permissions Chart
revoke ALTER ANY CERTIFICATE from [jirasys] -- Certificate Permissions Chart
revoke ALTER ANY CONTRACT from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY DATABASE DDL TRIGGER from [jirasys] --
revoke ALTER ANY DATABASE EVENT NOTIFICATION from [jirasys] -- See Event Notifications Permissions Chart
revoke ALTER ANY DATASPACE from [jirasys] --
revoke ALTER ANY FULLTEXT CATALOG from [jirasys] -- See Full-text Permissions Chart
revoke ALTER ANY MESSAGE TYPE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY REMOTE SERVICE BINDING from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY ROUTE from [jirasys] -- See Service Broker Permissions Chart
revoke ALTER ANY SCHEMA from [jirasys] --See Database Permissions – Schema Objects Chart
revoke ALTER ANY SERVICE from [jirasys] --See Service Broker Permissions Chart
revoke ALTER ANY SYMMETRIC KEY from [jirasys] --Symmetric Key Permissions Chart
revoke CREATE AGGREGATE from [jirasys] --
revoke CREATE DEFAULT from [jirasys] --
revoke CREATE FUNCTION from [jirasys] --
revoke CREATE PROCEDURE from [jirasys] --
revoke CREATE QUEUE from [jirasys] --
revoke CREATE RULE from [jirasys] --
revoke CREATE SYNONYM from [jirasys] --
revoke CREATE TYPE from [jirasys] --
revoke CREATE VIEW from [jirasys] --
revoke CREATE XML SCHEMA COLLECTION from [jirasys] --
revoke CHECKPOINT from [jirasys] --
revoke REFERENCES from [jirasys] --
use master
grant exec on sys.sp_addextendedproperty to [jirasys]
--use bigdata
--grant create table on object::dbo to [jirasys]
--use datayesdb
--grant create table to [jirasys]
--use dyedb
--grant create table to [jirasys]
--use news
--grant create table to [jirasys]
--use spiderdb
--grant create table to [jirasys]
--use topicdb
以上是“数据库中必要的建表权限有哪些”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注创新互联行业资讯频道!