我在 Windows 7 Box 上安装了“SQL Server 2005 Express Edition”和“SQL Server Management Studio Express”。
当我尝试在 Management Studio 中创建新数据库时,我收到以下错误消息:
Create failed for Database 'MyDatabase'. (Microsoft.SqlServer.Express.Smo)
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch.
(Microsoft.SqlServer.Express.ConnectionInfo)
CREATE DATABASE permission denied in database 'master'.
(Microsoft SQL Server, Error: 262)
如何在 SQL Server 2005 中创建新数据库?