MCQ King
38 – System Stored Procedures and Functions MCQ
Best of luck!
1 / 25
1. What are System Stored Procedures in SQL Server?
2 / 25
2. Which system stored procedure in SQL Server is used to create a new database?
3 / 25
3. What is the purpose of the sp_who system stored procedure in SQL Server?
4 / 25
4. Which system stored procedure in SQL Server is used to display the structure of a table or view?
5 / 25
5. What is the primary purpose of the sp_rename system stored procedure in SQL Server?
6 / 25
6. Which system stored procedure in SQL Server is used to retrieve information about database files?
7 / 25
7. What is the purpose of the @@ERROR system function in SQL Server?
8 / 25
8. Which system function in SQL Server is used to return the current user’s login ID?
9 / 25
9. What is the primary purpose of the OBJECT_ID() system function in SQL Server?
10 / 25
10. Which system function in SQL Server is used to retrieve the current date and time?
11 / 25
11. What is the primary purpose of the OBJECT_NAME() system function in SQL Server?
12 / 25
12. Which system function in SQL Server is used to return the name of the current user?
13 / 25
13. What is the primary purpose of the HOST_NAME() system function in SQL Server?
14 / 25
14. Which system function in SQL Server is used to retrieve the length of a string?
15 / 25
15. What is the primary purpose of the DATABASEPROPERTYEX() system function in SQL Server?
16 / 25
16. Which system function in SQL Server is used to return the current user’s default schema?
17 / 25
17. What is the primary purpose of the SCHEMA_ID() system function in SQL Server?
18 / 25
18. Which system function in SQL Server is used to retrieve the name of a specified schema by its schema ID?
19 / 25
19. What is the primary purpose of the SCHEMA_NAME() system function in SQL Server?
20 / 25
20. Which system function in SQL Server is used to determine if a specified database exists?
21 / 25
21. What is the primary purpose of the DATABASEPROPERTY() system function in SQL Server?
22 / 25
22. Which system function in SQL Server is used to return the collation of a specified column?
23 / 25
23. What is the primary purpose of the TYPEPROPERTY() system function in SQL Server?
24 / 25
24. Which system function in SQL Server is used to return the precision of a specified numeric data type?
25 / 25
25. What is the primary purpose of the FORMATPROPERTY() system function in SQL Server?
Your score is
Restart quiz