1

我已经在本地台式计算机上安装了 SQL Server 2008 R2。我们使用它连接到网络中的远程 SQL Server 2008 数据库引擎。但是,出于开发目的,我想在我的本地桌面计算机上创建一个 SQL Server 2008 R2 数据库引擎。请告诉我如何在我的本地台式计算机上创建 SQL Server 2008 R2 数据库引擎

4

1 回答 1

-1
1. Firstly connect to server 
     a. Sever Type: Database Engine
     b. Sever name: Your_PC _Name/SQLEXPRESS --> default server
     c. Authentication: Windows 
         If you would like to have SQL Authentication please provide your username and  password given during the time of installation

连接服务器后

2. Right click on Databases and select new databases.

创建一个新的数据库

3. Please enter your desired Database name and create the database.

4. Now create a user--> Goto Object Explorer in the left pane select Security -->Logins--> Right click and click on create New Login.

创建用户

please enter your username and password and uncheck the "USER MUST CHANGE PASSWORD AT NEXT LOGIN". 


5. Now you need to set the administrative privileges for the Database to the user created.

将权限分配给该特定数据库的用户 转到左侧窗格中的用户映射,然后选择所需的数据库和用户权限。

So, Now you can access the database through the user you have created. Please try it
于 2014-03-10T11:20:26.623 回答