web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Using a Form to Update...
Power Automate
Unanswered

Using a Form to Update a Row in SQL only when the submitted data is not null

(0) ShareShare
ReportReport
Posted on by 37

I have a Microsoft Form that I need to use to update a row in SQL. Not every question needs to be filled out so some questions will be blank. I only want the questions that are filled out to overwrite the data in SQL. Right now with a basic Update Row step any question that is left blank will update SQL to null. 

 

Is there a dynamic way I can only update SQL when a question is not null. Right now all I can think of is a bunch of condition steps with multiple Update Row steps for each question on the form. 

 

I have been looking for a while and I am not any further along

 

Thanks so much. 

 

Categories:
I have the same question (0)
  • PrasadAthalye Profile Picture
    on at

    Is it possible to write a Stored Procedure and accept all values? Then within a stored procedure, decide based on the parameters when to execute update statement vs when not? You can use Execute Store Procedure action..

     

    PrasadAthalye_0-1615854104752.png

    PrasadAthalye_1-1615854210367.png

     

     

  • unfeomateo Profile Picture
    37 on at

    Thanks for the idea. I was hoping I could do this in Power Automate. I can run this by my DBA's but its not something I can do on my own.

     

    Thanks again. 

  • PrasadAthalye Profile Picture
    on at

    Using Power Automate, you will have to include those conditions. That is why I recommended this approach.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 103 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 87

#3
trice602 Profile Picture

trice602 63 Super User 2026 Season 1

Last 30 days Overall leaderboard