Use JSON as a complex parameter

SQL Server allows you to pass a JSON document as a parameter. Use this feature to pass complex parameter down to the DB script.

Imagine you have a JSON document with the following profile

Define a database GET operation so that we can pass Parameters to the database profile (script):

The profile has one parameter which is a JSON document:

Populate the Parameter in the Connector shape: Current Data

This is how your script can then use the JSON to flatten it:

The result will look like this

Last updated