• Subject: Re: SQL select via logicals
  • From: Chris Rehm <Mr.AS400@xxxxxxx>
  • Date: Sun, 30 Nov 1997 16:50:59 PDT

** Reply to note from DAsmussen <DAsmussen@aol.com> Sat, 29 Nov 1997 20:54:46 

> > > You're safe here. Even though QQQQuery might use a different access path
> >  > to improve performance, it will only return rows that are included in
> >  > the access path that you specify, and the columns that are returned will
> >  > always be based on the view that you specify.
> Sorry, but I must disagree. Interactive SQL against files to prove queries
> has proven otherwise...

Okay, look, here's my question. If I issue and SQL request against a logical
and the logical is built with select/omit criteria, will the records
returned be filtered by the s/o criteria? 

I have always counted on this for query, but I don't know if SQL behaves the
same way. I would expect it to, since I might give access to a logical for
purposes of security.

> Dean Asmussen Enterprise Systems Consulting, Inc. Fuquay-Varina, NC USA
> E-Mail: DAsmussen@aol.com

Chris Rehm

How often can you afford to be unexpectedly out of business?
Get an AS/400.
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com

This thread ...

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

This mailing list archive is Copyright 1997-2019 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].