Skip to main content

Database actions - PAD

  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...

Rounding up fractions - Power Automate

 ROUNDING UP IN CLOUD FLOW





Use the expression 'formatNumber()' with Compose action, to round up the numbers.

Example 1: 10.3633 rounded off to 2 decimal places gives 10.36.





Example 2: 10.3633 rounded off to 1 decimal places gives 10.4



Example 3: 10.3635 rounded off to 2 decimal places gives 10.364.




That's all folks. Leave a comment in case you have questions.





Comments