MS SQL Enhancements 2022 Update: JSON | Programming Techniques
Microsoft recently announced JSON Enhancements in Azure SQL Database, Azure SQL Managed Instance and SQL Server 2022
The functions ISJSON, JSON_VALUE, JSON_QUERY, JSON_MODIFY will allow us to validate, query and modify JSON documents
With the public preview of JSON enhancements in Azure SQL Database, Azure SQL Managed Instance and SQL Server 2022 CTP 2.0, there are enhancements to IS_JSON function and also three new JSON functions where introduced. JSON PATH EXISTS, JSON OBJECT and JSON ARRAY.
Now IS_JSON function allows us to test if a string value contains a valid JSON object or array. The new optional parameter of ISJSON function json_type_constraint can now be used to test conformance of JSON documents to the IETF RFC 8259 specification. This capability allows you to test for strings that contain a JSON value, scalar, object, or array. This functionality is like the IS JSON predicate in the ANSI SQL standard.
The new JSON_PATH_EXISTS function allows us to test for the existence of a specific SQL or JSON path expression in a JSON document. This functionality is like the JSON_EXISTS predicate in the ANSI SQL standard.
JSON OBJECT and JSON ARRAY functions allow you to construct JSON object or array from SQL data.
For more detailed information you can check the official blog by Umachandar Jayachandran
At https://devblogs.microsoft.com/azure-...
For more technical updates pls subscribe our youtube channel / @programmingtechniques7161
Follow us on facebook / programmingtechniques
Auf dieser Seite können Sie das Online-Video MS SQL Enhancements 2022 Update: JSON | Programming Techniques mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Programming Techniques 16 Juni 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 94 Mal angesehen und es wurde von 4 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!