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

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!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (1,588)