| |||||
|
Microsoft SQL Server FAQs Part: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 (Continued from previous part...) You are examining a SQL Server 2005 system as part of a consulting engagement. The client has complained the inserts and updates are slow to process on the system. You discover that there are over thirty indexes on some of the most heavily updated columns. How can you quickly determine if any of these indexes are really being used?
Answer: Query sys.dm_db_index_usage_stats
Which commands are allowed when the "Ad Hoc Distributed Queries" server option is set to 0 in SQL Server 2005?
Answer: OPENDATASOURCE calls
When creating a SQL Server 2005 Service Broker message type, what does the EMPTY validation option mean?
Answer: The the message body field must be null.
You cannot remember what permissions that the db_accessadmin fixed database role has and Books Online is not installed on your laptop. You're working on the SQL Server 2000 security roles for a client and need to get the document finished and the ISP is down. How can you quickly determine the permissions for this role?
Answer: Run sp_dbfixedrolepermission
When a user on a remote SQL Server wants to execute a stored procedure through a linked server on your local server, what security context is used?
Answer: The local login that is mapped from the remote procedure call.
Which database holds the tables that Database Mail uses to store mail messages and other data in SQL Server 2005?
Answer: msdb
You are wondering if your indexing scheme for the SQL Server 2005 database that you are managing is appropriate? You haven't been running Profiler, but you're wondering if you can determine what indexes might be more helpful for your users. What can you do?
Answer: Query sys.dm_db_missing_index_details.
(Continued on next part...)
Part: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
||||