Does Run SQL Scripts automatically do pass thru queries?
We ran a query against our biggest table selecting a very small subset of rows and bytes across the line were more indicative that it did run a pass thru query.

create table rob.sample1 as(
SELECT *
FROM QSYS2.NETSTAT_INFO
) with data;

select *
from erplxf.glh
where lhdram = 273.41
;
create table rob.sample2 as(
SELECT *
FROM QSYS2.NETSTAT_INFO
) with data;

select * from rob.sample2
where remote_address = '10.10.9.30'
;

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Rob Berendt
Sent: Tuesday, April 9, 2019 7:20 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: Maximum OBDC Query Size

Thank you for explaining that.

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Charles Wilt
Sent: Monday, April 8, 2019 5:11 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Maximum OBDC Query Size

"openquery" is the MS SQl Server function used to make pass-through queries.

In Access, it's done a different way..

In both cases, it's the client application deciding to read entire tables, not ODBC itself.

Charles


On Mon, Apr 8, 2019 at 12:45 PM Stefan Tageson <Stefan.Tageson@xxxxxxxx>
wrote:

Then I am thinking of something else.

Eventually you may remember an email sent on August 10, 2017 by a
gentleman Rob Berendt stating:
This is a common problem. This is why, when using ODBC connections,
using "openquery" to do a bulk of the sorting and selection up on the
server instead of doing the raw selection and ordering on the client
can make a phenomenal difference.

Best regards

stefan.tageson@xxxxxxxx
M +46 732 369934


Sensitivity: Internal
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.