Thanks Scott, I think I got it from here......I also needed to add the ;
after the create table statement so that the compiler knows that the TABEL
statement is not a part of the create.......





From:
Scott Klement <midrange-l@xxxxxxxxxxxxxxxx>
To:
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date:
05/13/2008 12:48 PM
Subject:
Re: Using meaningful names for table columns



Hi Doug,

Is there a way to define a column (field) with something like the
TEXT('blah blah') that we use in a DDS?

The following is from an SQL script of mine that creates a PF (err...
table) named 'RECALL'. After running the Create Table statement, it
runs the following to set the TEXT for the columns:

Label on Column RECALL (
CUSTOMER_NUMBER text is 'Customer Number' ,
CUSTOMER_NAME text is 'Customer Name' ,
STREET_ADDRESS text is 'Street Address' ,
CITY text is 'City' ,
STATE text is 'State or Territory' ,
POSTAL_CODE text is 'Postal' ,
CONTACT text is 'Contact Name' ,
CONTACT_TITLE text is 'Title of Contact' ,
PHONE_NUMBER text is 'Telephone Number' ,
FAX_NUMBER text is 'Fax Number' ,
EMAIL_ADDRESS text is 'E-mail Address' ,
BROKER_NAME text is 'Broker Name (or NULL)' ,
SALES_REP text is 'Sales Rep (Klement Sausage Employee)'
);

Good luck

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.