Microsoft SQL Server Database Quiz Questions

Chapter Name:Chapter 7 - DQL (Data Query Language)
Lesson Content Link:JSON SELECT
Current Quiz Count:45
Progress
0%
Q1
True / False

JSON functions can be used to parse and manipulate JSON data in SQL Server.

Q2
True / False

The JSON_MODIFY function in SQL Server allows modification of JSON data in a column.

Q3
True / False

You cannot extract JSON data as text using JSON functions in SQL Server.

Q4
True / False

OPENJSON returns a set of rows with a column for each property in the JSON object.

Q5
True / False

JSON_QUERY function can return a JSON object or array from a JSON string.

Q6
True / False

The JSON_VALUE function cannot be used to extract a scalar value from a JSON string.

Q7
True / False

FOR JSON PATH clause converts SQL query results into a JSON text.

Q8
True / False

The JSON data type is natively supported in SQL Server.

Q9
True / False

You can use the FOR JSON AUTO clause to automatically format query results as JSON.

Q10
True / False

The ISJSON function is used to validate if a string contains valid JSON.

Q11
True / False

JSON data cannot be indexed in SQL Server.

Q12
True / False

The JSON_OBJECT function creates a new JSON object in SQL Server.

Q13
True / False

The JSON_ARRAY function is used to create an array from a set of rows.

Q14
True / False

You can use the CROSS APPLY operator with OPENJSON to join JSON data with relational data.

Q15
True / False

JSON_VALUE and JSON_QUERY are interchangeable functions in SQL Server.

Q16
Single Choice

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

Q17
Single Choice

Which clause converts SQL query results into JSON text in SQL Server?

Q18
Single Choice

Which function allows modification of JSON data within a JSON string in SQL Server?

Q19
Single Choice

What is the purpose of the ISJSON function in SQL Server?

Q20
Single Choice

Which function is used to parse JSON text into a relational format in SQL Server?

Q21
Single Choice

Which of the following clauses is used to format SQL query results as JSON text?

Q22
Single Choice

Which function can be used to extract a JSON object or array from a JSON string?

Q23
Single Choice

What does the FOR JSON PATH clause do in SQL Server?

Q24
Single Choice

Which function can return a scalar value from a JSON string?

Q25
Single Choice

What is the purpose of the JSON_QUERY function in SQL Server?

Q26
Single Choice

Which clause automatically formats SQL query results as JSON?

Q27
Single Choice

What does the JSON_MODIFY function do in SQL Server?

Q28
Single Choice

Which function checks if a string contains valid JSON in SQL Server?

Q29
Single Choice

Which function is used to parse JSON text into a relational format?

Q30
Single Choice

Which clause in SQL Server converts query results into JSON text?

Q31
Multiple Choice

Which functions can be used to parse and manipulate JSON data in SQL Server?

Q32
Multiple Choice

Which clauses are used to format query results as JSON text in SQL Server?

Q33
Multiple Choice

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

Q34
Multiple Choice

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

Q35
Multiple Choice

Which functions are specifically used for JSON data validation in SQL Server?

Q36
Multiple Choice

Which functions are used to handle JSON arrays in SQL Server?

Q37
Multiple Choice

Which functions are used to manipulate JSON data in SQL Server?

Q38
Multiple Choice

Which functions can be used to extract scalar values from JSON strings in SQL Server?

Q39
Multiple Choice

Which functions can validate and extract JSON data in SQL Server?

Q40
Multiple Choice

Which functions can be used to work with JSON data in SQL Server?

Q41
Multiple Choice

Which functions can extract JSON objects or arrays from JSON strings in SQL Server?

Q42
Multiple Choice

Which functions can be used to parse JSON data in SQL Server?

Q43
Multiple Choice

Which functions can be used to validate and parse JSON data in SQL Server?

Q44
Multiple Choice

Which functions can extract scalar values and JSON objects from JSON strings?

Q45
Multiple Choice

Which functions can be used to modify and validate JSON data in SQL Server?