单项选择题

你需要在SQL Server 2005 数据库中创建一个连接客户表与订单表的视图。同时要确保底层数据表方案的更改不会影响到视图。你想要以可能的最小开销量达成此目标,你要怎样做?()

A.在数据表中创建CHECK约束 
B.创建一个DDL触发器,若改动对视图中的列产生了影响,它将回滚到更改之前的数据表
C.创建视图时指定WITH SCHEMABINDING 选项
D.创建视图时指定WITH CHECK选项

相关考题

TestKing.com has two SQL Server 2005 computers named SQ...


单项选择题

TestKing.com has two SQL Server 2005 computers named SQL1 and SQL2. Both servers take part in replication. SQL1 is both the Publisher and its own Distributor of a publication named Pub1. Pub1 is the only publication on SQL1, and SQL2 is the only Subscriber. Your supervisor requests a status report about the replication latencies. Using Replication Monitor on SQL1, you need to find out the current latencies between the Publisher and Distributor as well as between the Distributor and Subscriber.
What should you do?()

A.Select the Subscription Watch List tab for SQL1. View the Latency column for the SQL2 subscription.
B.Select the All Subscriptions tab for the Pub1 publication. View the Latency column for the SQL2 subscription.
C.Select the Tracer Tokens tab for the Pub1 publication. Select the Insert Tracer Option and wait for the requested latency values for the SQL2 subscription to appear.
D.Select the Subscription Watch List tab for SQL1. Double-click the SQL2 subscription.View the duration details on the Publisher to Distributor History tab as well as on the Distributor to Subscriber History tab.

You are creating a Web-based application to manage data...


单项选择题

You are creating a Web-based application to manage data aggregation for reports. The application connects to a SQL Server 2005 database named DataManager. One page in the application has controls that execute stored procedures in a database named ReportingDatabase. There is an existing Service Broker connection between the DataManager database and ReportingDatabase.You want to add two new message types to the existing service. In each database, you create message types named ProcessReport and SendResult. You need to add the two new message types to the existing service.
What should you do first?()

A.Create a queue on each database with the ACTIVATION argument set to DataManager dbo processReport.
B.Create a conversation between the databases by using the following Statement BEGIN DIALOG FROM SERVICE ’ProcessReport’ TO SERVICE ’SendResult’
C.Create a contract between the services by using the following statement.CREATE CONTRACT processData (ProcessReport SENT BY INITIATOR,SendResult SENT BY TARGET)
D.Create services for each database by using the following statement.CREATE SERVICE DataManager on QUEUE ProcessReport