SQL中的问题新数据库创建 [英] Problem in SQL New database creation

查看:93
本文介绍了SQL中的问题新数据库创建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

TITLE:Microsoft SQL Server Management Studio

------------------------------



为数据库'Style'创建失败。 (Microsoft.SqlServer.Smo)



如需帮助,请单击:http://go.microsoft.com/fwlink?ProdName = Microsoft + SQL + Server&ProdVer = 9.00。 1399.00&EvtSrc = Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID = Create + Database&LinkId = 20476



-------------- ----------------

附加信息:



执行Transact时发生异常-SQL语句或批处理。 (Microsoft.SqlServer.ConnectionInfo)



--------------------------- ---



数据库'master'中的CREATE DATABASE权限被拒绝。 (Microsoft SQL Server,错误:262)



如需帮助,请单击:http://go.microsoft.com/fwlink?ProdName = Microsoft + SQL + Server&ProdVer = 09.00.1399&EvtSrc = MSSQLServer&EvtID = 262&LinkId = 20476



------------------------- -----

按钮:



OK

---------- --------------------







我如何解决这个问题........

TITLE: Microsoft SQL Server Management Studio
------------------------------

Create failed for Database 'Style'. (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Create+Database&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

CREATE DATABASE permission denied in database 'master'. (Microsoft SQL Server, Error: 262)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.1399&EvtSrc=MSSQLServer&EvtID=262&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------



How can i fix this problem........

推荐答案

您使用的任何帐户都没有创建数据库的权限。您需要更改正在使用的帐户,或者如果您具有管理员权限,则可以将该权限授予您正在使用的任何用户。
Whatever account you are using does not have permissions to create a database. You need to change the account you are using or if you have admin permissions you could grant that permission to whatever user you are using.


您好,



用户如果您没有创建数据库的权限,SQL服务器的管理员组可以为您的用户提供权限。



您的错误清楚地说明了该用户不允许在master中创建数据库。



如果您需要更多详细信息,请告诉我。



问候,

Mubin shaikh
Hi,

users Admin group of SQL server can provide rights to your user, if you do not have permission to create database.

your error says it clearly that user is not allowed to create database in master.

if you need further detail let me know.

Regards,
Mubin shaikh


这篇关于SQL中的问题新数据库创建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆