cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mmattar
Level 8

Difference in Get Rows(V2) Vs. Execute SQL Query(V2) - For SQL

Hello all,

 

I would like to know the difference between Get Rows(V2) and Executing a SQL Query, is one more usefel than the other etc. ? 

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Difference in Get Rows(V2) Vs. Execute SQL Query(V2) - For SQL

Hi @mmattar,

The Get Rows(V2) supports a wide range of OData query string operators that enable you to select, filter, and order the data you request. When executing it without any filter query, its return value is the whole table.

https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/use-odata-query-operations-in-sharepoint-...

 

Executing a SQL Query is more like SQL query syntax, the outputs of this operation are dynamic.

 

You could use both of them to fulfill your needs just you like.

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Difference in Get Rows(V2) Vs. Execute SQL Query(V2) - For SQL

Hi @mmattar,

The Get Rows(V2) supports a wide range of OData query string operators that enable you to select, filter, and order the data you request. When executing it without any filter query, its return value is the whole table.

https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/use-odata-query-operations-in-sharepoint-...

 

Executing a SQL Query is more like SQL query syntax, the outputs of this operation are dynamic.

 

You could use both of them to fulfill your needs just you like.

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,493)