| |||||
|
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...) In SQL Server 2000, how can you send an alert without sending a message to the client?
Answer: xp_logevent
Which permission in SQL Server 2005 allows you to switch your security context to that of another user with the EXECUTE AS statement?
Answer: Impersonate
What does this WHERE clause evaluate to? (there are rows with NULL values)
Answer: Unknown
You need to create a route for your SQL Server 2005 Service Broker queue. The messages should go to the SalesOrder queue on the Sales server. When you are creating the route, what value should you use for the BROKER_INSTANCE parameter?
Answer: It is the GUID of the Service Broker instance running in the target database.
Which type of XML variable requires a\one and only one root element?
Answer: DOCUMENT
Which of these is not a parameter you can pass to the LOGINPROPERTY function?
Answer: IsNTAuth
What does the NULLIF function do?
Answer: Returns NULL if the two expressions passed in are equal.
When using the SQLCMD tool, what does the -V parameter do?
Answer: This specifies the lowest severity level that sqlcmd will report errors from.
What should you have applied a patch for by now on your Windows 2003 and XP systems?
Answer: Daylight Savings Time
You are writing a new stored procedure to perform maintenance on your SQL Server 2005 databases that defragments the indexes in an online manner. What command should you use?
Answer: ALTER INDEX with the REORGANIZE option
(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 |
||||