CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 55: 70-764: Administering a SQL Database Infrastructure

You are migrating a database named Orders to a new server that runs Microsoft SQL Server 2016. You attempt to add the [Corpnet\User1] login to the database.However, you receive the following error message:"User already exists in current database."You need to configure the [Corpnet\User1] login to be able to access the…

Nội dung câu hỏi

You are migrating a database named Orders to a new server that runs Microsoft SQL Server 2016. You attempt to add the [Corpnet\User1] login to the database.However, you receive the following error message:"User already exists in current database."You need to configure the [Corpnet\User1] login to be able to access the Orders database and retain the original permissions. You need to achieve this goal by using the minimum required permissions. Which Transact-SQL statement should you use?

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. DROP USER [User1]; CREATE USER [Corpnet\User1] FOR LOGIN [Corpnet\User1]; ALTER ROLE [db_owner] ADD MEM3ER [Corpnet\User1];
  2. B. ALTER SERVER RCLS Isysadmin] ADD MEMBER [Corpnet\User1];
  3. C. ALTER USER [Corpnet\User1] WITH LOGIN [Corpnet\User1]; — đáp án hiện tại
  4. D. ALTER ROLE [db owner] ADD MEMBBR [Corpnet\User1];

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề