Microsoft SQL Server Database Quiz Questions

Chapter Name:Chapter 3 - Database Tables, Columns and Rows
Lesson Content Link:Database Table
Current Quiz Count:45
Progress
0%
Q1
True / False

In SQL Server, each table column must have a unique name.

Q2
True / False

A table in SQL Server can have a maximum of 1024 columns.

Q3
True / False

In SQL Server, a row is also known as a tuple.

Q4
True / False

Columns in a SQL Server table can have different data types.

Q5
True / False

In SQL Server, a primary key column can contain NULL values.

Q6
True / False

A table in SQL Server can be created without specifying any columns.

Q7
True / False

SQL Server supports the use of computed columns.

Q8
True / False

A column in SQL Server can store multiple values in a single cell.

Q9
True / False

In SQL Server, a row represents a single record in a table.

Q10
True / False

SQL Server allows setting default values for columns.

Q11
True / False

SQL Server allows the creation of temporary tables that exist only during a session.

Q12
True / False

SQL Server does not support the use of foreign keys in table columns.

Q13
True / False

SQL Server allows columns to be indexed to improve query performance.

Q14
True / False

SQL Server columns can have constraints such as CHECK and DEFAULT.

Q15
True / False

A column with a UNIQUE constraint can contain duplicate values.

Q16
Single Choice

Which data type is used to store variable-length strings in SQL Server?

Q17
Single Choice

Which SQL command is used to add a new column to an existing table?

Q18
Single Choice

What is the maximum number of rows a table can have in SQL Server?

Q19
Single Choice

Which of the following is NOT a valid SQL Server data type for columns?

Q20
Single Choice

Which SQL clause is used to filter rows in a SELECT statement?

Q21
Single Choice

What is the primary key in a SQL Server table used for?

Q22
Single Choice

Which SQL command is used to remove a column from a table in SQL Server?

Q23
Single Choice

Which SQL Server data type is used to store dates and times?

Q24
Single Choice

What is the purpose of the FOREIGN KEY constraint in SQL Server?

Q25
Single Choice

Which SQL command is used to change the data type of a column in SQL Server?

Q26
Single Choice

Which of the following is used to define a column as the primary key in SQL Server?

Q27
Single Choice

Which SQL command is used to update data in a table?

Q28
Single Choice

Which clause is used to sort the results of a SQL query?

Q29
Single Choice

Which SQL function is used to count the number of rows in a table?

Q30
Single Choice

What is the default value for a column if no value is specified?

Q31
Multiple Choice

Which constraints can be applied to a SQL Server table column?

Q32
Multiple Choice

Which SQL Server data types can store numeric values?

Q33
Multiple Choice

Which SQL Server functions are used to aggregate data?

Q34
Multiple Choice

Which SQL Server commands are used to modify table structures?

Q35
Multiple Choice

Which constraints ensure data integrity in SQL Server tables?

Q36
Multiple Choice

Which SQL Server commands are used to manage database schemas?

Q37
Multiple Choice

Which SQL Server features enhance data retrieval performance?

Q38
Multiple Choice

Which SQL Server clauses are used in a SELECT statement?

Q39
Multiple Choice

Which SQL Server functions are used to manipulate strings?

Q40
Multiple Choice

Which SQL Server commands are used to control transactions?

Q41
Multiple Choice

Which SQL Server functions return the current date and time?

Q42
Multiple Choice

Which SQL Server operators are used to combine multiple conditions?

Q43
Multiple Choice

Which SQL Server tools are used for database management?

Q44
Multiple Choice

Which SQL Server features support data security?

Q45
Multiple Choice

Which SQL Server tools are used for performance tuning?