SQL Server Practice Test – 1

1. 
SQL Server Practice Tests
Which command is used to create a new database in SQL Server?

2. 
SQL Server Practice Tests
What is the purpose of the TRY...CATCH construct in SQL Server?

3. 
SQL Server Practice Tests
What is the purpose of using the INSERT INTO statement?

4. 
SQL Server Practice Tests
How does the ROW_NUMBER() function operate in SQL Server?

5. 
SQL Server Practice Tests
What is the function of the GROUP BY clause in SQL Server?

6. 
SQL Server Practice Tests
What role do transactions play in SQL Server?

7. 
SQL Server Practice Tests
How can you remove duplicate rows from a result set in SQL Server?

8. 
SQL Server Practice Tests
What does an index do in SQL Server?

9. 
SQL Server Practice Tests
What does the WITH (NOLOCK) hint do when applied to a SQL Server query?

10. 
SQL Server Practice Tests
What is the function of SQL Server Integration Services (SSIS)?

11. 
SQL Server Practice Tests
What does the CHECK constraint enforce in SQL Server?