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

Câu 49: 70-461: MCSA Querying Microsoft SQL Server 2012/2014

You are developing a Microsoft SQL Server database for a company. The database contains a table that is defined by the following Transact-SQL statement: You use the following Transact-SQL script to insert new employee data into the table. Line numbers are included for reference only. If an error occurs, you must repor…

Nội dung câu hỏi

You are developing a Microsoft SQL Server database for a company. The database contains a table that is defined by the following Transact-SQL statement: You use the following Transact-SQL script to insert new employee data into the table. Line numbers are included for reference only. If an error occurs, you must report the error message and line number at which the error occurred and continue processing errors. You need to complete the Transact-SQL script. Which Transact-SQL segment should you insert at line 06?

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. SELECT ERROR_LINE(), ERROR_MESSAGE()
  2. B. DECLARE @message NVARCHAR(1000),@severity INT,@state INT; SELECT @message = ERROR_MESSAGE(), @severity = ERROR_SEVERITY(), @state = ERROR_STATE(); RAISERROR (@message, @severity, @state); — đáp án hiện tại
  3. C. DECLARE @message NVARCHAR(1000),@severity INT, @state INT; SELECT @message = ERROR_MESSAGE(), @severity =ERROR_SEVERITY(), @state = ERROR_STATE(); THROW (@message, @severity, @state);
  4. D. THROW;

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ề