Built-in apps

Microsoft SQL Server

8min



With the Microsoft SQL Server app in , you can run your custom logic directly on your database server through stored procedures. loads the interface of input and output parameters and record sets dynamically so each parameter/value can be mapped individually.

Requirements

To use the Microsoft SQL Server app in , you must make sure sure the account you're using to connect has read access to information_schema.routines and information_schema.parameters views.

If SSL encryption is enabled, a valid SSL certification must be obtained.

Supported Versions: SQL Server 2012/2014/2016/2017/2019/2022

Connect Microsoft SQL Server and

To create the connection:

1

Log in to your account, add a Microsoft SQL Server module to your , and click Create a connection.

2

Optional: In the ​​Connection name​​ field, enter a name for the connection.

3

Enter information for the following fields:

Field

Description

Host

Enter the Microsoft SQL Server host.

Port

Enter the port. This must be a number between 1 and 65535.

User

Enter your user name.

Password

Enter your password.

Database

Enter the Microsoft SQL Server database.

Transaction Isolation Level

Select your transaction isolation level.

Encrypt

Select Yes or No.

Trust Server Certificate

Select Yes or No.

4

Click Save.

5

If prompted, authenticate your account and confirm access.

You've successfully created the connection and can now use the Microsoft SQL Server app in your . If you want to make changes to your connection in the future, follow the steps here.

Microsoft SQL Server modules

After connecting to the Microsoft SQL Server app, you can use the following types of modules to build your .

Actions

  • Delete row(s) from a table
  • Execute a query (advanced)
  • Execute stored procedures
  • Insert row into a table
  • Update row(s) in a table

Searches

  • Select row(s) from a table

Feeders

  • Iterate recordset

Troubleshooting the Microsoft SQL Server app

The ER_Lock_Wait_Timeout: Lock wait timeout exceeded; try restarting transaction error occurs when you modify the same data using multiple modules. It is caused by SQL transactions.

When any SQL module is executed, it starts the transaction and the transaction is finished after the is fully executed. If another module tries to access the same data used in another unfinished transaction, then it has to wait until the previous transaction is finished – but it never happens because the first transaction will be finished after the is finished.

To solve this, turn on Auto-commit. It finishes (commits) every transaction immediately after the module execution is done.

1

Open the sesttings.

2

Enable the Auto commit checkbox.

3

Click OK to confirm the settings.

Document image


Microsoft SQL Server resources