AcademyWorkflowsData and reporting

Execute an SQL query in Microsoft SQL

Data and IT teams that want a starting point for running SQL queries on Microsoft SQL from n8n.

  • Recommendedour rating
  • 10,800views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

execute-an-sql-query-in-microsoft-sql.json

Loading the file...

AI automation

Want this workflow running in your company?

A template is the start. We adapt automations like this to your tools, handle the exceptions, and test and monitor them so they hold up under real load.

  • Free 20-minute call to look at your process
  • Connected to the tools you already use
  • Tested, monitored and documented

What it does

An n8n workflow template that runs an SQL query against a Microsoft SQL database using the Microsoft SQL node. The listing gives no further description, so review the nodes after importing to see exactly what the query does.

Use cases

  1. 01Run a saved query on a Microsoft SQL database
  2. 02Use it as a base for a database reporting flow
  3. 03Test a Microsoft SQL connection from n8n

Connects

Microsoft SQL

Questions about
Execute an SQL query in Microsoft SQL.

What is Execute an SQL query in Microsoft SQL used for?

Data and IT teams that want a starting point for running SQL queries on Microsoft SQL from n8n. An n8n workflow template that runs an SQL query against a Microsoft SQL database using the Microsoft SQL node. The listing gives no further description, so review the nodes after importing to see exactly what the query does.

How do I import Execute an SQL query in Microsoft SQL into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Execute an SQL query in Microsoft SQL safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.