# SQL Functions

{% hint style="info" %}
SQL functions are only visible in the list if the Solution Creator defined functions that use the SQL data provider, see [Microsoft Azure SQL](/building-apps-with-jigx/data/data-providers/microsoft-azure-sql.md). Make sure that your SQL connection is set up correctly in [Connections](/administration/solutions/connections.md).&#x20;
{% endhint %}

You can try out all functions of the solutions that use the SQL data provider.

1. On the left side, you will see all input parameters of the function including the initial set values.
2. Enter values into the input parameter fields and click the **Run** button at the top of the screen. The JSON editor on the right side will show the results returned by the function.
3. Click on **Show schema** to view the function definition.

{% hint style="success" %}
You can click the **copy to the clipboard** icon at the top and paste the JSON result into [JSONata Exerciser](https://try.jsonata.org/). This allows you to run and test [Expressions](/building-apps-with-jigx/logic/expressions.md) against real SQL result data.
{% endhint %}

<figure><img src="/files/Sd1HMX0fodCKUkDQ84Y6" alt="Run a SQL function"><figcaption><p>Run a SQL function</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.jigx.com/administration/solutions/sql-functions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
