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

Cannot update record in SQL

So, i have spent 3 hours trying to resolve something that i have done before and its really bugging me. 


I have a sql table, as below


ID    | Name | SysID | RequestID

123 | ABC     |          | 1

456 | def      |           | 2




Note, the Sys ID is blank for every cell. I wish to update this sys ID. 


I have written a flow that gets all the rows from this SQL Table. This works fine. 


Then i have an apply to each where I get the ID of each record and use that that ID to get the SysID from an external table (i used the HTTP action for this). I then store the value of the sysID in a compose called 'SysID'. This part works fine. 

So i have successfully got the SysID for every record. 


In the same apply to each i use the Update row to update the SQL Record, 


When i update the row, for the Row ID, i select the Request ID and for the SysID i select Sys ID. 


However, every time i run the flow, i get the below error : Incorrect syntax near 'WHERE'.
clientRequestId: a3195ad3-bd9d-466e-b5ed-fee408906f86 


I havnt a clue what it means, or why its appearing?. What have i done wrong?





Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,059)