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

Câu 46: 70-761: Querying Data with Transact-SQL

You have a project management application. The application uses a Microsoft SQL Server database to store data. You are developing a software bug tracking add-on for the application. The add-on must meet the following requirements: ✑ Allow case sensitive searches for product. ✑ Filter search results based on exact text…

Nội dung câu hỏi

You have a project management application. The application uses a Microsoft SQL Server database to store data. You are developing a software bug tracking add-on for the application. The add-on must meet the following requirements: ✑ Allow case sensitive searches for product. ✑ Filter search results based on exact text in the description. ✑ Support multibyte Unicode characters. You run the following Transact-SQL statement: Users connect to an instance of the bug tracking application that is hosted in New York City. Users in Seattle must be able to display the local date and time for any bugs that they create. You need to ensure that the DateCreated column displays correctly. Which Transact-SQL statement should you run?

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 Id,Product, DateCreated AT TIME ZONE 'Pacific Standard Time' FROM Bug
  2. B. SELECT Id,Product, DATEADD(hh, -8, DateCreated) FROM Bug
  3. C. SELECT Id,Product, TODATETIMEOFFSET(DateCreated, -8) FROM Bug — đáp án hiện tại
  4. D. SELECT Id,Product, CAST(DateCreated AS DATETIMEOFFSET) FROM Bug

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ề