cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mmattar
Responsive Resident
Responsive Resident

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
v-litu-msft
Community Support
Community Support

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
v-litu-msft
Community Support
Community Support

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.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (2,762)