Add "ADD ALL COLUMNS" to the end of your CREATE INDEX Statement
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
?Train people well enough so they can leave, treat them well enough so they
don't want to.? (Richard Branson)
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Timothy Feldmeier
Sent: Mittwoch, 14. April 2021 14:13
To: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
Subject: When creating an Index table with a constraint, I want to include
all the fields.
It appears, when I created an Index with a constraint, the Key fields were
the only fields included in the file.
The file should have fields A B C D.... I ONLY SEE A and B when I display
the data. I don't want to have all 4 fields as the key.
CREATE INDEX ABCDX
ON ABCD (A,B)
WHERE C IN ('XX', 'YY ')
Thank You
Tim Feldmeier
Programmer Analyst For Coyote System
Roadrunner Transportation Systems
1431 Opus Place, Suite 530
Downers Grove, IL 60515
Phone# (331)-2337921
Timothy.Feldmeier@xxxxxxxx
[RRTS_transportation SYSTEMS]
The information transmitted is intended only for the person or entity to
which it is addressed and may contain proprietary, business-confidential
and/or privileged material. If you are not the intended recipient of this
message you are hereby notified that any use, review, retransmission,
dissemination, distribution, reproduction or any action taken in reliance
upon this message is prohibited. If you received this in error, please
contact the sender and delete the material from any computer.
--
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.