Thanks, Birgitta!

It turns out this is not compatible with any other database, though.  Is
there a way to set those names later?  Maybe create the table with the
long name, then later ALTER the column to have a short and long name?

I can work around it, but I am trying to write machine-independent
routines and it's pretty difficult.

Joe

> From: Hauser, Birgitta
> 
> Hi Joe,
> 
> you can specify the short field name in the create table statement as
> follows:
> 
> Create Table MySchema.Dummy
>        (Description for ShortDescr VarChar(50))
> 
> In RPG you can use the field ShortDescr in SQL you can use both
> Description or ShortDescr.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.