MariaDB JSON_QUOTE() Explained

In MariaDB, JSON_QUOTE() is a built-in function that produces a valid JSON string literal that can be included in a JSON document. 

It wraps the string with double quote characters and escapes interior quotes and other special characters, returning a utf8mb4 string.

Read more

How to do a DELETE Pass-Through Query in SQL Server

In SQL Server, the OPENQUERY rowset function enables you to execute a pass-through query on a linked server.

OPENQUERY is commonly referenced in the FROM clause of a query as if it were a table, but it can also be referenced as the target table of an INSERT, UPDATE, or DELETE statement.

This article presents an example of using OPENQUERY to do an DELETE pass-through query.

Read more

MariaDB JSON_LENGTH() Explained

In MariaDB, JSON_LENGTH() is a built-in function that returns the length of a JSON document.

When you call this function, you provide the JSON document as an argument. You can also provide a path argument to return the length of a value within the document.

Read more

MariaDB JSON_KEYS() Explained

In MariaDB, JSON_KEYS() is a built-in function that returns an array of the top-level keys from a JSON document. If a path is provided, it returns the top-level keys from that path.

It excludes keys from nested sub-objects in the specified level.

Also, if the selected object is empty, an empty array is returned.

Read more