You are a database administrator for your company. You are responsible for a SQL Server 2005 database that has several indexes. You need to write a stored procedure that checks the indexes for fragmentation. Which Transact-SQL statement should you use?()
A: DBCC DBREINDEX
B: SELECT * FROM sys.dm_db_index_physical_stats
C: DBCC INDEXDEFRAG
D: SELECT * FROM sys.indexes
A: DBCC DBREINDEX
B: SELECT * FROM sys.dm_db_index_physical_stats
C: DBCC INDEXDEFRAG
D: SELECT * FROM sys.indexes
举一反三
- You are a database administrator for your company. You are responsible for a SQL Server 2005 database that has several indexes. You need to write a stored procedure that checks the indexes for fragmentation. Which Transact-SQL statement should you use?() A: DBCC DBREINDEX B: SELECT * FROM sys.dm_db_index_physical_stats C: DBCC INDEXDEFRAG D: SELECT * FROM sys.indexe
- You work in a company which uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance which is named Instance01. Instance01 contains a database which is named SellingHelp. There isthe Products table in the SellingHelp database. Now according to the company requirement, the Products table has to be replicated to the SQL Server instances installed in laptopscomputers. You have to create a Replication topology to perform this. The Products table is updated from Instance01 when the laptops reconnect to the corporate network. The Products table on Instance01 is frequently updated between reconnections. You must make sure that you can implement the Replication topology along with the Subscription type successfully and meanwhile reduce the bandwidth usage to the least. So what action should you perform to achieve this goal?() A: You should implement the Snapshot Replication topology along with a Push Subscription. B: You should implement the Merge Replication topology along with a Pull Subscription. C: You should implement the Snapshot Replication topology along with a Pull Subscription. D: You should implement the Transactional Replication topology along with a Pull Subscription
- You have a computer that runs Windows 7. You manually create a system restore point. You need torestore a copy of a file stored on drive C from two days ago. You must achieve this goal in the minimumamount of time. What should you do?() A: From Recovery, select System Restore. B: From Backup and Restore, select Restore my files. C: From the command prompt, run Wbadmin get items. D: From the properties of the file, select Previous Versions.
- The first time you use a database you should assess its _____________.
- In Access, you can only create duplicate indexes for primary keywords.