[单选题]

You are the administrator of a SQL Server 2000 computer. One of the databases on the server contains a table named complaints. This table is used to store information about customer complaints.

The customer service representatives in your company add and edit the information in the complaints table. They work with this table by using a number of client applications, including a web-based application and a Microsoft Windows 32-bit application.

The customer service manager discovers that some customer complaints are marked as closed before they are resolved to the customer’s satisfaction.

You need to notify the customer service manager whenever a complaint is marked as closed. You do not want to make any changes to the client applications.

What should you do?

A.Create an UPDATE trigger that sends an e-mail message.

B.Create a stored procedure that sends an e-mail message. Use the stored procedures to make changes to the data.

C.Create a user-defined function that sends an e-mail message. Use the function to make changes to the data.

D.Create a rule that validates data entry. Bind the rule to the CompliantClosed column.

参考答案与解析:

相关试题

You are the administrator of a SQL Serve

[单选题]You are the administrator of a SQL Server 2000 computer. The server is configured as shown in the Database Server Configuration exhibit.You need to create a new database named Inventory. Employees in your company will use the Inventory database to tr

  • 查看答案
  • You are the administrator of a SQL Serve

    [单选题]You are the administrator of a SQL Server 2000 computer in your company's personnel department. Employee data is stored in a SQL Server 2000 database. A portion of the database schema is shown in the exhibit.You want to create a text file that lists

  • 查看答案
  • You are the administrator of a SQL Serve

    [单选题]You are the administrator of a SQL Server 2000 computer named SQL1. You want to perform. ad hoc distribution queries against a database that is stored on a SQL Server 2000 computer named SQL2. SQL2 contains several databases, and each of these databa

  • 查看答案
  • You are the administrator of a SQL Serve

    [单选题]You are the administrator of a SQL Server 2000 computer. The server contains your company's order processing database. Two-hundred operators take orders by telephone 24 hours a day. Threehundred data entry personnel enter data from orders received b

  • 查看答案
  • You are the administrator of a SQL Serve

    [单选题]You are the administrator of a SQL Server 2000 computer. You create a Data Transformation Services (DTS) package. The package is stored as a local package on the server. The package exports data from an online transaction processing (OLTP) database s

  • 查看答案
  • You are the administrator of a SQL Serve

    [单选题]You are the administrator of a SQL Server 2000 computer. The server contains a database that stores financial data. You want to use Data Transformation Services packages to import numeric data from other SQL server computers. The precision and scale

  • 查看答案
  • You are the administrator of a SQL Serve

    [单选题]You are the administrator of a SQL Server computer. Users report that the database times out when they attempt to modify data. You use the Current Activity window to examine locks held in the database as shown in the following screenshot.You need to

  • 查看答案
  • You are the administrator of a SQL Serve

    [单选题]You are the administrator of a SQL Server 2000 computer. Your company uses the server to store service contract information for its customers.You are also the administrator of Oracle relational database management system (RDBMS) server.This server is

  • 查看答案
  • You are the administrator of a SQL Serve

    [单选题]You are the administrator of a SQL Server 2000 computer. You are configuring a database for an inventory application. The hard disks on your server are configured as shown in the exhibit.The operating system files are located on drive C. Your databas

  • 查看答案
  • You are the administrator of a SQL Serve

    [单选题]You are the administrator of a SQL Server 2000 computer. The server contains database named Sales. Users report that they cannot add new data to the database. You examine the properties of the database. The database is configured as shown in the Sale

  • 查看答案
  • You are the administrator of a SQL Serve