I fail to understand why all the WHERE conditions.
1=1??? Is this just a thing you always do to avoid warning errors that you have no where clause?

And why
... and substr(table_Schema,1,1) not in ('Q', '#')
When you have
and table_schema = 'DPPDATA'
D already excludes Q and #.
Let me guess your evolution.
First, I was right on the evolution on the 1=1, right?
Second, you started by specifying Q and # to only get "user" libraries?
Third, then you added just the library you wanted?


Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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