Q1
True / FalseJSON functions can be used to parse and manipulate JSON data in SQL Server.
SQL Server provides functions like JSON_VALUE and JSON_QUERY to parse and manipulate JSON data.
Q2
True / FalseThe JSON_MODIFY function in SQL Server allows modification of JSON data in a column.
JSON_MODIFY can be used to update values within JSON text stored in a column.
Q3
True / FalseYou cannot extract JSON data as text using JSON functions in SQL Server.
SQL Server allows extraction of JSON data as text using JSON functions like JSON_VALUE.
Q4
True / FalseOPENJSON returns a set of rows with a column for each property in the JSON object.
OPENJSON can transform JSON objects into a set of rows and columns.
Q5
True / FalseJSON_QUERY function can return a JSON object or array from a JSON string.
JSON_QUERY extracts a JSON object or array from a JSON string.
Q6
True / FalseThe JSON_VALUE function cannot be used to extract a scalar value from a JSON string.
JSON_VALUE is used to extract a scalar value from a JSON string.
Q7
True / FalseFOR JSON PATH clause converts SQL query results into a JSON text.
The FOR JSON PATH clause formats SQL query results as JSON text.
Q8
True / FalseThe JSON data type is natively supported in SQL Server.
SQL Server does not have a native JSON data type; it uses NVARCHAR.
Q9
True / FalseYou can use the FOR JSON AUTO clause to automatically format query results as JSON.
The FOR JSON AUTO clause automatically formats query results as JSON.
Q10
True / FalseThe ISJSON function is used to validate if a string contains valid JSON.
ISJSON checks whether a string contains valid JSON.
Q11
True / FalseJSON data cannot be indexed in SQL Server.
You can create indexes on JSON data in SQL Server using computed columns.
Q12
True / FalseThe JSON_OBJECT function creates a new JSON object in SQL Server.
SQL Server does not have a JSON_OBJECT function; JSON objects are handled as NVARCHAR.
Q13
True / FalseThe JSON_ARRAY function is used to create an array from a set of rows.
SQL Server does not have a JSON_ARRAY function; arrays are created using JSON functions and string concatenation.
Q14
True / FalseYou can use the CROSS APPLY operator with OPENJSON to join JSON data with relational data.
CROSS APPLY can be used with OPENJSON to join JSON data with relational tables.
Q15
True / FalseJSON_VALUE and JSON_QUERY are interchangeable functions in SQL Server.
JSON_VALUE is used for scalar values, while JSON_QUERY is used for JSON objects and arrays.