|
Again, just a WAG, but I wonder if you need to explicitly name the indexed
substring. So...
(SUBSTRING(MY_COLUMN,5,6)) as KeySubstr
No idea where "AUXILIARY' came from.
- Dan
On Fri, May 4, 2018 at 2:05 PM, Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
wrote:
That doesn't seem to work for me. The statement ran, but no object was.
created.
Here's my statement:
create index MY_TABLE_SUBSTRING on table MY_TABLE
(SUBSTRING(MY_COLUMN,5,6))
Here's the message iACS gave me on the create:
SQL State: 01505
Vendor Code: 143
Message: [SQL0143] Statement CREATE INDEX AUXILIARY TABLE ignored. Cause
. . . . : Statement CREATE INDEX AUXILIARY TABLE is not supported byDB2
for IBM i. It has been ignored. Recovery . . . : No action is--
required.
Statement ran successfully, with warnings (6 ms)
IBMi 7.3, PTF's current as-of 07 Apr 18
iACS 1.1.7.3
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
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: http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.
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.