单项选择题
You work in Dublin at the main office of TestKing.com. You are responsible for managing a SQL Server 2005 database. The sales department wants a report that compares customer activity in the previous quarter between the main office in Dublin and the branch office in Buenos Aires. They want the data sorted by surname and first name.You restore a recent backup of the Buenos Aires database onto your server. You write queries to build the report, ordering the data by the Surname and FirstName columns. You review the data and notice that the customer list from the Buenos Aires database is sorted differently. The sales department needs the revised data within 15 minutes for a presentation.
You need to implement the fastest possible solution that ensures that the data from both databases is sorted identically.
What should you do?()
A.Use the Copy Database Wizard to copy the data in the Buenos Aires database to a new database with the same collation as the Dublin database.
B.Use the SQL Server Import and Export Wizard to copy the data from the Buenos Airesdatabase into new tables, specifying the same collation as the Dublin database.
C.Modify the format file to specify the same collation as the Dublin database. Import the table again.
D.Modify the query on the Buenos Aires database to use the COLLATE setting in the ORDER BY clause. In the query, specify the same collation as the Dublin database.
相关考题
-
单项选择题
你需要在SQLServer2005数据库中创建一个连接客户表与订单表的视图。同时要确保底层数据表方案的更改不会影响到视图。你想要以可能的最小开销量达成此目标,你要怎样做?()
A.在数据表中创建CHECK约束
B.创建一个DDL触发器,若改动对视图中的列产生了影响,它将回滚到更改之前的数据表
C.创建视图时指定WITH SCHEMABINDING 选项
D.创建视图时指定WITH CHECK选项 -
单项选择题
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 work at the regional sales office. You are responsible for importing and exporting data in SQL Server 2005 databases. The main office asks you to send them a text file that contains updated contact information for the customers in your region. The database administrator in the main office asks that the data be sorted by the StateProvince,Surname, and FirstName columns.You need to satisfy these requirements by using the least amount of effort. What should you do?()
A.Specify StateProvince, Surname, and FirstName in the ORDER hint in the bcp out command.
B.Create a format file for the export operation.
C.Specify StateProvince, Surname, and FirstName in the ORDER BY clause in the bcp queryout command.
D.Copy the data into a new table that has a clustered index on StateProvince,Surname,and FirstName. Export the data.
