|
Hello,
Am 24.03.2021 um 18:53 schrieb x y <xy6581@xxxxxxxxx>:
Another option: make 20 indexes over each character of the 20-byte field
and use CASE in your WHERE. While not a best practice, I'll bet this
approach would scream.
Thank you. This also has been suggested to me in a private message. I ask
the same question here: How to create indexes as you suggest? I haven't
found something helpful in the older "DB2 Universal Database for iSeries
SQL Reference Version 5" PDF.
And, may I ask for a (simple) example for the CASE in a WHERE for this
kind of index?
:wq! PoC
--
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@xxxxxxxxxxxxxxxxxxxx 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 mailing list archive is Copyright 1997-2025 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.