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

Câu 31: 70-762: Developing SQL Databases

Note: This question is part of a series of questions that use the same scenario. For your convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the text of the scenario is exactly the same in each question in this series. You have a database named DB1 t…

Nội dung câu hỏi

Note: This question is part of a series of questions that use the same scenario. For your convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the text of the scenario is exactly the same in each question in this series. You have a database named DB1 that contains the following tables: Customer, CustomerToAccountBridge, and CustomerDetails. The three tables are part of theSales schema. The database also contains a schema named Website. You create the Customer table by running the following Transact-SQL statement: The value of the CustomerStatus column is equal to one for active customers. The value of the Account1Status and Account2Status columns are equal to one for active accounts. The following table displays selected columns and rows from the Customer table. You plan to create a view named Website. Customer and a view named Sales.FemaleCustomers.Website. Customer must meet the following requirements: ✑ Allow users access to the CustomerName and CustomerNumber columns for active customers. ✑ Allow changes to the columns that the view references. Modified data must be visible through the view. ✑ Prevent the view from being published as part of Microsoft SQL Server replication.Sales.Female. Customers must meet the following requirements: ✑ Allow users access to the CustomerName, Address, City, State and PostalCode columns. ✑ Prevent changes to the columns that the view references. ✑ Only allow updates through the views that adhere to the view filter. You have the following stored procedures: spDeleteCustAcctRelationship and spUpdateCustomerSummary. The spUpdateCustomerSummary stored procedure was created by running the following Transacr-SQL statement: You run the uspUpdateCustomerSummary stored procedure to make changes to customer account summaries. Other stored procedures call the spDeleteCustAcctRelationship to delete records from the CustomerToAccountBridge table. When you start uspUpdateCustomerSummary, there are no active transactions. The procedure fails at the second update statement due to a CHECK constraint violation on the TotalDepositAccountCount column. What is the impact of the stored procedure on the CustomerDetails table?

Minh họa câu hỏi Minh họa câu hỏi Minh họa câu hỏi

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. A. The value of the TotalAccountCount column decreased.
  2. B. The value of the TotalDepositAccountCount column is not changed.
  3. C. The statement that modifies TotalDepositAccountCount is excluded from the transaction.
  4. D. The value of the TotalAccountCount column is not changed. — đáp án hiện tại
  5. E. The value of the TotalDepositAccountCount column is increased.
  6. F. The statement that modifies TotalAccountCount column is excluded from the transaction.
  7. G. The value of the TotalDepositAcountCount column is decreased.

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ề