多项选择题
Your company uses SQL Server 2005. Users report that report execution is slow. You investigate and discover that some queries do not use optimal execution plans. You also notice that some optimizer statistics are missing and others are out of date. You need to correct the problem so that reports execute more quickly. Which two Transact-SQL statements should you use?()
A. DBCC CHECKTABLE
B. ALTER INDEX REORGANIZE
C. UPDATE STATISTICS
D. CREATE STATISTICS
E. DBCC SHOW_STATISTICS
F. DBCC UPDATEUSAGE
相关考题
-
单项选择题
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. -
单项选择题
YouconfigureanewSQLServer2005computertouseTCP/IPwithalldefaultsettings.Yourcorporatepolicyrequiresthateachserveruseafirewall.YoufindthatyoucanconnecttotheSQLServerinstancefromthelocalcomputer.However,clientcomputerscannotconnecttotheSQLServerinstance.Youneedtoidentifythemostlikelycauseoftheconnectionissues.Whatshouldyoudofirst?()
A.Ensure that port 1433 is open in your firewall.
B.Ensure that port 443 is open in your firewall.
C.Ensure that client computers connect by using Shared Memory protocol.
D.Ensure that the server is not paused. -
单项选择题
YourcompanyhastwoSQLServer2005computersnamedSQL1andSQL2.AuserinyourcompanynamedEricwritesmanyadhocqueriesagainstthecompanydatabases.ErichasaccesstotheCustomerdatabaseonSQL1.HedoesnothaveaccesstotheSalesdatabaseonSQL2.YouneedtoensurethatEriccanwritequeriesthatjoininformationfrombothservers.Whatshouldyoudofirst?()
A.Create a linked server on SQL1 to SQL2. Configure the linked server to use impersonation.
B.Create a linked server on SQL1 to SQL2. Configure the linked server to use mapped logins.
C.Instruct Eric to write the queries on SQL2 by using the OPENQUERY statement and specifying SQL1 as the server name.
D.Instruct Eric to specify SQL Server object names by using four-part notation.
