cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jbrit2020
Super User
Super User

Flow to Copy SQL row from one table to another

So I have this issue where I do not have Admin permissions on my SQL database in order to use SQL Server Agent to create a job to run every day and was therefore considering using Power Automate to perform this action.

 

I've started by creating a new flow where there's a schedule to Execute a SQL Query daily. The server name is in, the Database name is in, and the Query text is in. Now I'm missing the formal parameters which is asking me to enter Key and enter Value.

 

What am I supposed to put in here? 

 

jbrit2020_0-1612547188589.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
jinivthakkar
Super User
Super User

@jbrit2020 You can keep it empty, its optional parameter, in my case I have hardcoded my query and it just works fine, you too can pass your query and it should work 

 

jinivthakkar_0-1612604782935.png

 

jinivthakkar_1-1612604822362.png

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

 

 

View solution in original post

1 REPLY 1
jinivthakkar
Super User
Super User

@jbrit2020 You can keep it empty, its optional parameter, in my case I have hardcoded my query and it just works fine, you too can pass your query and it should work 

 

jinivthakkar_0-1612604782935.png

 

jinivthakkar_1-1612604822362.png

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

 

 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,020)