POWER AUTOMATE DESKTOP - DATABASE Pre-Requisites Power Automate Desktop Access to database Under the database action, we have only three sub actions, namely: Open SQL connection Execute SQL statement Close SQL connection Open SQL Connection The first step is to connect to the database. So, we will use the Open SQL connection action and provide a connection string to establish the connection (the connection string in the video is a sample). When the connection is successful, the connection details is stored in a variable during execution. Execute SQL statement This action can be used to execute SQL queries. Here, I am using select query and the result is stored in a variable of type datatable. Close SQL connection It is a best practice to always close the database connection once the required queries are executed. YAY! BONUS!😮 How to execute a stored procedure using database action? Stored Procedure without arguments Stored Procedure with arguments (Comma separated in...
POWER AUTOMATE DESKTOP - DATATABLE A datatable is having rows and columns, sort of looks like a two dimensional array. Creating a datatable Insert data into the datatable Insert a new row at the end of the datatable [Empty values] Find and replace values in datatable Update a value in Datatable Delete a row from datatable Accessing values from the datatable Please leave a comment if you have any queries.