Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

SQL Server - update row on different databases



I would like to do a query with "Execute query" but I saw it's not working with on-premise use Update row.


I get all the line I want with a view (a view who get all the line in every db I use) and I do a Each For for each line I get. And for each line, I get the "Structure" which is the name of the database where the line I wanna update is.

On the "Update row" I put "Stucture" on the name of the DB but I don't get the name of the I can't put the value I wanna update.


Here is my flow (I don't know how to post a picture...) :


Get line (connection on my db/view)

Each for

Approbation (visa)

Update row (connection on the embedded db)

Send a mail to the creator

Helper I
Helper I


here is a part of my flow :


Community Support
Community Support

Hi @Bapt_69 ,


You could only get the fields when you choose the table of the database in the drop down list.


Best Regards,



Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


I think you didn't understand (I wasn't clear enough I guess)


In my "Update Row" action, I don't have any field. I have to notice 1 database and 1 table. Here, I put a variable in the field "Database" and the name of the table in the field "Table". So, I have "ID" and "item" and not all the field from the Table.


If I fill 1 database and 1 table, I see all the field! If I do it like that, I have to create 12 connexion and 12 flows (note I have 12 databases). And I would have only one flow (cause only one flow to modify if needed).


NB : Notice I get the line from a view (which get lines from many databases) and I update the line on the Table of each database

Helpful resources

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,865)