Be sure to review our Idea Submission Guidelines for more information!
Submission Guidelines(originally raised as discussion : https://community.alteryx.com/t5/Data-Sources/Input-Data-Tool-Record-Limit-control/td-p/58718)
Hi all,
When using a record limit on a database query - the actual query being executed on the server depends very much on the connection type (Native SQL; OleDB; and ODBC). However, for all 3 of these, it seems that the record limit is being enacted on the client side, not on the server. What I mean by this is that when I take the exact queries that are being run by Alteryx on the server (by looking at a SQL Profile trace on the server), and run these in a query window, you can see that the row-limit is not occurring in SQL, but in Alteryx.
(to test this, I ran several queries with and without the record limit; profiled them using SQL profiler; and the profile trace was identical either way)
Aside from putting "Select top(100) from..." in all the queries that that we create, or using in-DB queries for every simple query - could we instead have an option to force the row limitation down to the server on a regular InputData tool, so that we can take advantage of the server's ability to optimize?
Thank you
Sean
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.