Use the SQL Rename command to make everyone happy: "The following SQL code makes everybody happy because it defines a 'static' short 10-character name for the tables (and record-format and member and columns), AND it allows the Java programmers to have their descriptive long name.
CREATE TABLE LongName (
LongFieldName1 FOR COLUMN LFN1 INTEGER NOT NULL,
LongFieldName2 FOR COLUMN LFN2 CHAR(3) NOT NULL,
CONSTRAINT LongFileName0
PRIMARY KEY (LongFieldName1)
);
RENAME TABLE LongName TO LongTableName FOR SYSTEM NAME LongName; "
Monday, January 31, 2005
Subscribe to:
Post Comments (Atom)
Popular Posts
- Spam king Adam Vitale busted by Secret Service
- Build Your Own PBX
- Make del.icio.us bookmarks
- Three Languages For Java Programmers to Learn
- 10 Really as400 Helpful APIs
- Common Gateway Interface (CGI) on the as400 / iSeries
- as400 commands and APIs you'll use for handling messages
- Four Hundred Guru--Admin Alert: Moving Libraries Between i5/OS Partitions, Part 1
- 5250 Emulators
- Recommended PHP reading list
No comments:
Post a Comment