Test your SQL Server Database Design, Development, Querying and Administration Knowledge
ISDAY()
ISDATE()
ISYEAR()
ISVALID()
Rate this question:
Different Mode Level
Data Manipulation Language
Data Model Language
Data Mode Lane
Rate this question:
SELECT firstName, lastName AS [Name] FROM Student;
SELECT firstName +' '+ lastName AS [Name] FROM Student;
SELECT Name FROM Student;
SELECT firstName, lastName FROM Student;
Rate this question:
DATEDIFF
DATETIME
GETDATE()
None of the above
Rate this question:
The SQL ALTER TABLE clause modifies a table definition by altering, adding, or deleting table columns and/or constraints
Updates data in a user database table
The SQL ALTER TABLE clause is used to delete a database table
Is used to add Stored procedures or other objects to a database
Rate this question:
SELECT * FROM Persons ORDER FirstName DESC
SELECT * FROM Persons SORT ‘FirstName’ DESC
SELECT * FROM Persons ORDER BY FirstName DESC
SELECT * FROM Persons SORT BY ‘FirstName’ DESC
Rate this question:
MONEY
TINYINT
BIGINT
INT
All of the above
Rate this question:
SELECT * FROM Persons WHERE FirstName=’a’
SELECT * FROM Persons WHERE FirstName LIKE ‘a%’
SELECT * FROM Persons WHERE FirstName=’%a%’
SELECT * FROM Persons WHERE FirstName LIKE ‘%a’
Rate this question:
MONEY
SMALL MONEY
DECIMAL
INT
Rate this question:
Views
Index
Temporary tables
Triggers
User Defined Datatypes
Rate this question:
The highest salary
The sixth lowest salary
The sixth highest salary
Query has syntax error
Rate this question:
SELECT COUNT(*) FROM Sales WHERE salesTime = CONVERT(DATE, GETDATE())
SELECT COUNT(*) FROM Sales WHERE salesTime >= CONVERT(DATE, GETDATE()) AND salesTime < DATEADD(DAY, 1, CONVERT(DATE, GETDATE()))
SELECT COUNT(*) FROM Sales WHERE salesTime = GETDATE()
SELECT COUNT(*) FROM Sales WHERE CONVERT(VARCHAR, salesTime, 112) = CONVERT(VARCHAR, GETDATE(), 112)
Rate this question:
CREATE TRIGGER TrgPhoneNumberChange ON Customers FOR UPDATE AS IF COLUMNS_UPDATED (HomeNumber, MobileNumber) - - Create Audit Records
CREATE TRIGGER TrgPhoneNumberChange ON Customers FOR UPDATE AS IF EXISTS( SELECT HomeNumber from inserted) OR EXISTS (SELECT MobileNumber FROM inserted) - - Create Audit Records
CREATE TRIGGER TrgPhoneNumberChange ON Customers FOR UPDATE AS IF COLUMNS_CHANGED (HomeNumber, MobileNumber) - - Create Audit Records
CREATE TRIGGER TrgPhoneNumberChange ON Customers FOR UPDATE AS IF UPDATE (HomeNumber) OR UPDATE (MobileNumber) - - Create Audit Records
Rate this question:
SERIALIZABLE
READ COMMITTED SNAPSHOT
SNAPSHOT
REPEATABLE READ
All of the Above
Rate this question:
ALTER TABLE Audit ADD TotalItems AS ItemslnStore + ItemsInWarehouse
ALTER TABLE Audit ADD TotalItems AS SUM(ItemsInStore, ItemsInWarehouse)
ALTER TABLE Audit ADD TotalItems AS ItemsInStore + ItemsInWarehouse PERSISTED
ALTER TABLE Audit ADD TotalItems AS SUM(ItemsInStore, ItemsInWarehouse) PERSISTED
All of the Above
None of the Above
Rate this question:
SQL user without login
Windows login from domain
SQL user with login
Domain user
Rate this question:
Convert the view into an indexed view.
Convert the view into a table-valued function.
Convert the view into a Common Table Expression (CTE).
Convert the view into a stored procedure and retrieve the result from the stored procedure into a temporary table.
Rate this question:
Quiz Review Timeline (Updated): Mar 18, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Microsoft SQL Server Test! Trivia Quiz
Welcome to our Microsoft SQL Server Quiz! This comprehensive quiz is tailored for both aspiring and experienced database professionals who want to assess their knowledge and...
Questions:
10 |
Attempts:
195 |
Last updated:
May 08, 2024
|
Database TechNet Quiz - 6
The 'Database TechNet Quiz - 6' assesses knowledge on SQL Server database maintenance, including script outputs, stored procedures, and dependency views. It tests practical skills...
Questions:
10 |
Attempts:
59 |
Last updated:
Jun 06, 2023
|
MS SQL Server Proficiency Exam
Welcome to our MS SQL Server Quiz! This quiz is designed to challenge your expertise and enhance your understanding of Microsoft SQL Server, one of the most popular relational...
Questions:
15 |
Attempts:
644 |
Last updated:
May 08, 2024
|
SQL Server Quiz Questions And Answers
Have you ever worked on an SQL server? What do you know about this database system? We have here this "SQL server quiz questions and answers" for you. Microsoft SQL...
Questions:
25 |
Attempts:
8232 |
Last updated:
Jun 30, 2025
|
MS SQL Server 2012 (Administrator) Assessment Test
As an MS SQL Server database administrator, your role is to be efficient in the datacenter to the cloud, Platform as a Service, and Linux as you administer databases in SQL Server...
Questions:
10 |
Attempts:
273 |
Last updated:
Mar 20, 2023
|
SSRS 2008 Test
SQL Server Reporting Services (SSRS) is a software developed by Microsoft to prepare and deliver a server-based report. This quiz is for people who are familiar with SSRS. If...
Questions:
10 |
Attempts:
2645 |
Last updated:
Mar 21, 2023
|
Wait!
Here's an interesting quiz for you.