SQL Server Quiz
|Description: SQL Server Quiz|
|Number of Questions: 20|
|Created by: Aliensbrain Bot|
Your SQL Server is running SQL 6.5 and you want to transfer the data from the SQL 6.5 server to a new SQL 7 Server. How can you do this?
You start SQL-Server with the -f option. Unfortunately now you can't establish a connection to your SQL-Server. What should you do?
The SQL server that you've manages crashed. The disk drives were not damaged but there was data that had not been written to some databases. Which transactions will be rolled forward in each database when his SQL server starts the automatic recovery proce
You want to prevent long-running queries from executing. How would you do this?
To prevent long-running queries from executing, you can modify configuration parameters in SQL Server. Let's go through each option to understand why it is correct or incorrect:
Option A) Run the stored procedure set query governor cost limit - This option is incorrect because running the stored procedure alone will not prevent long-running queries. The query governor cost limit is used to limit the amount of resources (CPU, memory, etc.) that a query can consume, but it needs to be configured and set through the appropriate configuration parameters.
Option B) Modify the configuration parameter min memory per query - This option is incorrect because there is no configuration parameter called "min memory per query" in SQL Server. Therefore, modifying this parameter will not prevent long-running queries.
Option C) Modify the configuration parameter show advanced options - This option is partially correct. The "show advanced options" configuration parameter allows you to view and modify advanced configuration options in SQL Server. However, modifying this parameter alone will not prevent long-running queries.
Option D) Modify the configuration parameter query governor cost limit - This option is correct. The "query governor cost limit" configuration parameter allows you to set a limit on the amount of resources that a query can consume. By modifying this parameter, you can prevent long-running queries from executing.
Option E) Both C and D - This option is correct. Modifying both the "show advanced options" and "query governor cost limit" configuration parameters can help prevent long-running queries from executing. The "show advanced options" parameter allows you to access and modify advanced configuration options, while the "query governor cost limit" parameter sets a limit on query resource consumption.
Therefore, the correct answer is E) Both C and D.
You've just installed SQL Server 7 on a NT server using the Typical Installation option. When you start SQL for the first time, you get an error and it will not start. Where is one place you would check to see what is causing the error?
After installing SQL 7, you want to connect to the SQL 7 Server to verify installation. What graphical tools would you use to verify that the server is running?
What functions are performed by the SQL Server Agents?
You define full-text indexing on the ProductName column in the Products table. You then execute a full-text query on the column. You specify a word that you know is present in the column, but the result set is empty. What is the most likely cause?
Exchange and SQL 7.0 are running on the same server. You notice the performance in exchange is degraded. The Min server memory, Maximum server memory and set working area are set as they were automatically in the installation. What do you do to free memor
Which of the four system databases stores all the information about alerts and jobs?
You have been asked to copy a one-table Access database to another table that exists in a SQL Server 7 database. What is the best method you should use to copy the data?