Use the Microsoft SQL node to automate work in Microsoft SQL, and integrate Microsoft SQL with other applications. n8n has built-in support for a wide range of Microsoft SQL features, including executing SQL queries, and inserting rows into the database.
On this page, you'll find a list of operations the Microsoft SQL node supports and links to more resources.
Refer to Microsoft SQL credentials for guidance on setting up authentication.
Examples and templates
For usage examples and templates to help you get started, take a look at n8n's Microsoft SQL integrations list.
- Execute an SQL query
- Insert rows in database
- Update rows in database
- Delete rows in database
This workflow allows you to execute an SQL query in Microsoft SQL. You can also find the workflow on the website. This example usage workflow would use the following two nodes. - Start - Microsoft SQL
The final workflow should look like the following image.
1. Start node#
The start node exists by default when you create a new workflow.
2. Microsoft SQL node#
- First of all, you'll have to enter credentials for the Microsoft SQL node. You can find out how to do that here.
- Select 'Execute Query' from the Operation dropdown list.
- Enter your SQL query in the Query field.
- Click on Execute Node to run the workflow.