Microsoft SQL Server Database Quiz Questions

Chapter Name:Chapter 5 - DDL (Data Definition Language)
Lesson Content Link:JSON Data Type
Current Quiz Count:45
Progress
0%
Q1
True / False

SQL Server supports the JSON data type natively.

Q2
True / False

You can use SQL Server functions to query JSON data stored in `NVARCHAR` columns.

Q3
True / False

The `JSON_QUERY` function returns a single scalar value from a JSON string.

Q4
True / False

SQL Server allows indexing on JSON data stored in `NVARCHAR` columns.

Q5
True / False

SQL Server’s `OPENJSON` function can be used to parse JSON data and return tabular results.

Q6
True / False

The `JSON_MODIFY` function can be used to update a value in a JSON string in SQL Server.

Q7
True / False

SQL Server does not support JSON data in earlier versions than SQL Server 2016.

Q8
True / False

You can use the `JSON_VALUE` function to extract a JSON array from a JSON string.

Q9
True / False

SQL Server’s JSON functions work with columns of data type `VARCHAR`.

Q10
True / False

The `JSON_QUERY` function is used to extract an array or object from a JSON string.

Q11
True / False

You cannot use SQL Server’s JSON functions with columns of data type `TEXT`.

Q12
True / False

The `JSON_VALUE` function can be used to update a JSON string in SQL Server.

Q13
True / False

SQL Server provides support for JSON schema validation.

Q14
True / False

The `OPENJSON` function can return nested JSON objects as separate rows.

Q15
True / False

JSON data in SQL Server can be used in conjunction with traditional relational data.

Q16
Single Choice

Which SQL Server function is used to extract a scalar value from a JSON string?

Q17
Single Choice

Which SQL Server function is used to return a JSON array or object from a JSON string?

Q18
Single Choice

Which SQL Server function allows you to parse a JSON string and return results as a table?

Q19
Single Choice

What type of column should JSON data be stored in SQL Server?

Q20
Single Choice

What function would you use to update a value in a JSON string in SQL Server?

Q21
Single Choice

Which JSON function is not available in SQL Server?

Q22
Single Choice

Which data type is not suitable for storing JSON data in SQL Server?

Q23
Single Choice

Which function would you use to return a JSON object or array as a rowset in SQL Server?

Q24
Single Choice

Which SQL Server function can be used to extract a specific property from a JSON object?

Q25
Single Choice

In SQL Server, which function is not used for JSON data manipulation?

Q26
Single Choice

What is the result type of the `OPENJSON` function?

Q27
Single Choice

Which SQL Server function would you use to get a JSON object from a JSON string?

Q28
Single Choice

In SQL Server, which function can update a JSON object or array within a JSON string?

Q29
Single Choice

What does the `JSON_MODIFY` function do in SQL Server?

Q30
Single Choice

Which function is used for parsing JSON data into rows in SQL Server?

Q31
Multiple Choice

Which SQL Server functions can be used to extract data from JSON strings?

Q32
Multiple Choice

Which functions can be used to update or modify JSON data in SQL Server?

Q33
Multiple Choice

Which of the following SQL Server functions are used for querying JSON arrays?

Q34
Multiple Choice

Which SQL Server functions are available for parsing JSON data?

Q35
Multiple Choice

Which data types are suitable for storing JSON data in SQL Server?

Q36
Multiple Choice

Which functions are used to work with JSON objects in SQL Server?

Q37
Multiple Choice

Which of the following are functions used to extract data from JSON arrays?

Q38
Multiple Choice

Which SQL Server functions can handle large JSON data efficiently?

Q39
Multiple Choice

Which of the following SQL Server functions are used for JSON data validation?

Q40
Multiple Choice

Which SQL Server functions allow extraction of arrays or nested objects from JSON?

Q41
Multiple Choice

Which functions are used to update or manipulate JSON properties?

Q42
Multiple Choice

Which SQL Server functions can be used to work with JSON arrays and objects simultaneously?

Q43
Multiple Choice

Which SQL Server functions are suitable for extracting data from deeply nested JSON structures?

Q44
Multiple Choice

Which SQL Server functions allow you to modify and update JSON arrays?

Q45
Multiple Choice

Which functions are used for querying JSON data in SQL Server?