单项选择题
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
相关考题
-
单项选择题
You are responsible for importing data into SQL Server 2005 databases.Your department is starting to receive text files that contain sales transactions from stores across the country. Columns in the data are separated by semicolons.You need to import the files into the sales database. What should you do?()
A.Create a custom format file, specifying a semicolon as the row terminator.
B.Use the bcp command, specifying a semicolon as the field terminator.
C.Use the bcp command with the default arguments.
D.Use the BULK INSERT statement with the default arguments. -
单项选择题
A support engineer reports that inserting new sales transactions in a SQL Server 2005 database results in an error. You investigate the error. You discover that in one of the databases, a developer has accidentally deleted some data in a table that is critical for transaction processing. The database uses the full recovery model. You need to restore the table. You need to achieve this goal without affecting the availability of other data in the database. What should you do?()
A.Back up the current transaction log. Restore the database with a different name and stop at the point just before the data loss. Copy the table back into the original database.
B.Back up the current transaction log. Restore the database to the point just before the data loss.
C.Restore the database from the existing backup files to a time just before the data loss.
D.Restore the database to the point of the last full backup. -
单项选择题
You discover that the ms db database on a SQL Server 2005 computer is corrupt and must be restored. Databases are backed up daily. The database backup files are written to a network share, but the file names do not clearly indicate which databases are in each file. You need to locate the correct backup file as quickly as possible. The first file in the list isnamed DB Backup.bak. Which Transact-SQL statement should you use?()
A.RESTORE LABELONLYFROM DISK = N\\Server1\Backup\DB Backup.bak
B.RESTORE HEADERONLYFROM DISK = N\\Server1\Backup\DB Backup.bak
C.RESTORE VERIFYONLYFROM DISK = N\\Server1\Backup\DB Backup.bak
D.RESTORE DATABASE MSDBFROM DISK =N\\Server1\Backup\DB Backup.bak
