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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard