我打開SQL Server Management Studio與以管理員身份運行 ...如何修復Microsoft SQL Server,錯誤:262?
並且Windows認證連接沒有問題。
我通過右鍵單擊數據庫文件夾來選擇「新建數據庫」。
併爲數據庫命名'BTS'。
當我選擇好了,我得到的錯誤作爲,
如何解決呢?
我打開SQL Server Management Studio與以管理員身份運行 ...如何修復Microsoft SQL Server,錯誤:262?
並且Windows認證連接沒有問題。
我通過右鍵單擊數據庫文件夾來選擇「新建數據庫」。
併爲數據庫命名'BTS'。
當我選擇好了,我得到的錯誤作爲,
如何解決呢?
To add a Windows user that has the login 「machinename\Administrator」 to the sysadmin fixed server role
- Log on to the computer using the credentials for the machinename\Administrator account.
- Click the Start button, point to All Programs, click Microsoft SQL Server, and then click SQL Server Management Studio.
- Connect to an instance of SQL Server.
- Click Security, right-click Logins, and then click New Login.
- In the Login name box, enter the user name.
- In the Select a page pane, click Server Roles, select the sysadmin check box, and then click OK.
To add a Windows user that has the login 「domainname \username」 to the sysadmin fixed server role
- Log on to the computer using the credentials for the domainname\username account.
Click the Start button, point to All Programs, click Microsoft SQL Server, right-click SQL Server Management Studio, and then click Run as administrator.
ps: 「Run As Administrator」 option elevates the user permissions In the User Access Control dialog box, click Continue.
- In SQL Server Management Studio, connect to an instance of SQL Server.
- Click Security, right-click Logins, and then click New Login.
- In the Login name box, enter the user name.
- In the Select a page pane, click Server Roles, select the sysadmin check box, and then click OK.
單擊開始 - >所有程序 - > SQL Server Management Studio中快速
SQL Server Management Studio中快速--->右鍵點擊 - >以管理員身份運行 - >點擊是
它的工作原理
簡單而有效 – JoeCoolman