×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
You can add alternate names for a column using CREATE OR REPLACE TABLE.
Something like this should work for you.
Original table:
create table changeit (NM0123 varchar(100), NC998 int);
Modify the source to add alternate names. The system names remain the
same:
create or replace table changeit (NAME_OF_ITEM for NM0123 varchar(100),
NUMBER for NC998 int);
Now your SQL can use either name for these columns.
Sue Romano
Db2 for IBM i Development
Is there a way to rename the Column-Name of a table's column only, while
leaving the System-Name of that column how it currently is? I would like
to >be able to have a SQL developer use a 'friendly' column name instead
of the limited 10 position field names from DDS.
Thank you,
Doug
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.