Microsoft SQL Server

Unleash the power of your data—on-premises, in the cloud, or at the edge—and reveal insights to transform your business.

Integrate the Microsoft SQL Server API with the Python API

Setup the Microsoft SQL Server API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate Microsoft SQL Server and Python remarkably fast. Free for developers.

Run Python Code with Python API on New Column from Microsoft SQL Server API
Microsoft SQL Server + Python
 
Try it
Run Python Code with Python API on New Or Updated Row from Microsoft SQL Server API
Microsoft SQL Server + Python
 
Try it
New Column from the Microsoft SQL Server API

Triggers when a new column is added to a table. See the documentation

 
Try it
New Or Updated Row from the Microsoft SQL Server API

Triggers when a new row is added or an existing row is updated. See the documentation

 
Try it
Execute Query with the Microsoft SQL Server API

Executes a SQL query and returns the results. See the documentation

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Insert Row with the Microsoft SQL Server API

Inserts a new row in a table. See the documentation

 
Try it

Overview of Microsoft SQL Server

With the Microsoft SQL Server API on Pipedream, you can automate your database operations and create powerful integrations. This API allows you to execute queries, manage databases, and trigger actions based on data changes. Implementing workflows that react to database events, manipulate data, or synchronize SQL Server data with other services, becomes effortless with Pipedream's serverless platform.

Connect Microsoft SQL Server

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import sql from "mssql"
export default defineComponent({
  props: {
    microsoft_sql_server: {
      type: "app",
      app: "microsoft_sql_server",
    }
  },
  async run({steps, $}) {
    const { host, username, password, port, database } = this.microsoft_sql_server.$auth
    const conn_str = `Server=${host},${port};Database=${database};User Id=${username};Password=${password};Encrypt=true`;
    await sql.connect(conn_str);
    return await sql.query`SELECT GETDATE()`
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}