Skip to main content
Best answer

How to retrieve all rows matching a specific parameter in a MS SQL database column with Zapier?

  • Jun 4, 2020 3:35 PM UTC
  • 82 replies
  • 3671 views

I’m using a Zap to retrieve data from our MS SQL database. I need the zap to retrieve every row that match a certain parameter in a specific column. For instance, I need every row that has invoice # 3511151 in the invoice # column of the table. Is this possible?

Best answer by SamB

Hey folks,

Just circling back in here to share that the feature request has been closed - a new Find Multiple Rows via Custom Query action has been added to the latest version of the MySQL app. 😁🎉

That action will allow you to use a custom query to fetch multiple rows. If you’re not able to see that action in your Zaps you may need to upgrade the Zaps to use the latest version of the MySQL apps. You can learn more about upgrading apps in a Zap here: Update to the latest app version in Zaps

Hope you’re able to give that new action a try soon. If you run into any issues with it please do reach out in the Community to let us know. In the meantime, happy Zapping! ⚡

View original
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

82 replies

Danvers
Forum|alt.badge.img+12
  • Zapier Staff
  • Jun 8, 2020 3:23 PM UTC

Hi @The Agents!

 

It’s not currently possible to find more than one row using the Find Row/Find Row using Custom query actions in the MySQL Zapier integration, sorry about that!

 

We do have a feature request open to for this and I've added your email address as another vote for this addition. I don't have an ETA of when or if this will happen, but we will definitely email you if it does become a reality. 


  • New
  • Jun 22, 2020 11:20 AM UTC

Hi we would like to vote to enable multiple rows. It’s really stupid to not allow for multiple rows. 


Liz_Roberts
Forum|alt.badge.img+8
  • Zapier Staff
  • Jun 23, 2020 3:31 PM UTC

@devHC you have been added as another vote for this addition. As Danvers mentioned, you will receive an email if this functionality becomes a reality. 


  • Aug 14, 2020 2:27 AM UTC

And please add me as anther vote for this.  Typical application would be to sync/add multiple contacts information from a MySQL db with a Contacts service.


  • New
  • Nov 12, 2020 1:16 AM UTC

Gahhh add a vote from me, too, please. 


Liz_Roberts
Forum|alt.badge.img+8
  • Zapier Staff
  • Nov 12, 2020 10:33 PM UTC

@raizz you have been added!


  • New
  • Jan 4, 2021 1:27 AM UTC

please add me too. thanks!


Danvers
Forum|alt.badge.img+12
  • Zapier Staff
  • Jan 4, 2021 8:52 AM UTC

Hi @involved, I’ve added you as an interested user on the feature request 🙂 Thanks!


  • Beginner
  • Jan 13, 2021 4:10 AM UTC

Please add me as well. 

 

Its essential for pulling multiple row for reports, so yes please 


Liz_Roberts
Forum|alt.badge.img+8
  • Zapier Staff
  • Jan 13, 2021 2:04 PM UTC

Hi @Sankon - you have been added as an interested user!


No progress on this yet? Please add me to the feature reguest as well. 


  • New
  • Jan 25, 2021 1:13 AM UTC

Hi, this is essential to have not just for MYSQL but also Postgres. Please add my vote as well.


nicksimard
Forum|alt.badge.img+11
  • Zapier Staff
  • Jan 25, 2021 8:08 PM UTC

Hi @chris12312124 and @stir you’ve been as interested users as well :)


  • New
  • Feb 12, 2021 5:12 AM UTC

Please add my vote for this as well


Liz_Roberts
Forum|alt.badge.img+8
  • Zapier Staff
  • Feb 12, 2021 7:24 PM UTC

@SandsTabs you have been added to this request!


  • New
  • Feb 27, 2021 5:26 PM UTC

Please add too


steph.n
Forum|alt.badge.img+8
  • Tinkerer
  • Mar 1, 2021 11:39 PM UTC

@Dinozaur - Added you!


  • New
  • Mar 12, 2021 12:08 PM UTC

Get my vote in as well please!


steph.n
Forum|alt.badge.img+8
  • Tinkerer
  • Mar 12, 2021 8:16 PM UTC

Hi @Vagludir - I’ve added your upvote for this feature request. Should it become available, you’ll be contacted directly via email. Thanks!


I could really use multiple rows as well. do you have an idea of when something like this might be available?

 


Danvers
Forum|alt.badge.img+12
  • Zapier Staff
  • Mar 15, 2021 3:12 PM UTC

Prioritization is largely dependent on the number of customers affected. By adding your vote, I was able to add some weight to the issue! 

 

I'm sorry I don't have a more definitive answer here, we’ll send you an email if we have any updates. 
 


Forum|alt.badge.img+1

Hi there @The Agents I have an idea on how this can be "hacked” you could create a view using the FOR JSON

please read both articles I think you could find the trick.

https://docs.microsoft.com/en-us/sql/relational-databases/json/format-query-results-as-json-with-for-json-sql-server?view=sql-server-ver15


https://www.mssqltips.com/sqlservertip/5348/advanced-techniques-to-transform-relational-data-to-json-in-sql-server-2016/

then parse the JSON you get from Row/Find
 


Get my vote in as well please!


Danvers
Forum|alt.badge.img+12
  • Zapier Staff
  • Mar 16, 2021 5:17 PM UTC

Hi @Oscar Bradford - I’ve added you to that feature request. Thank you!


  • New
  • May 23, 2021 5:12 AM UTC

I’m interested in this feature too, please add me and also is it possible to suggest workarounds in the meantime?

 

e.g I have a VoIP product, and I want to send Top 10 users to our Slack channel. Currently it can only return the Top 1 user from the MySQL custom query...