Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Usage of Reservered Words as Column Names

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Mon Nov 22, 2010 2:35 pm    Post subject: Usage of Reservered Words as Column Names
Reply with quote

I am guilty of telling posters (of these kind of questions) to not use them
and suffer the consequences of poor db design.

I wish to be spared these type of comments,
and I will spare you the story of why I want to use DB2 Reserved Words as column names (in the hundreds of tables and thousands of modules that already exist).

I have tables with column names that include:
GROUP
TYPE
USAGE
VALUE

Our software is DB2 Vsn 7/Cobol II - even though the rest of the firm is using DB2 Vsn 9.1/E-COBOL and is probably moving to DB2 Vsn 10 next year.

We are currently spared the necessity of converting to E-Cobol because the Vsn 7 precompiler generate SQL that runs in DB2 V9.1.

The liscense for the DB2 Vsn 7 precompiler actually dictates when I have to really consider changes potentially required for this.

Vsn 9.1 allows me to use the (above mentioned) reserved words without using quotes.
My question is:
Will Version 10, also allow me to use these reserved words as column names?

anybody on vsn 10 yet that can provide me (and I imagine others) some info - advice I don't need - either I hand it out or ignore it when received.
Back to top
View user's profile Send private message

View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts column with count of rows within dist... ronald wouterson DB2 4 Sun Sep 17, 2017 9:48 pm
No new posts Convert rows and column into JSON for... Dinesh Manivannan DB2 2 Sun Sep 03, 2017 6:50 pm
No new posts Select numeric portion from CHAR data... balaji81_k DB2 6 Sat Aug 19, 2017 1:51 am
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts RFE: DB2 support for mixed case names. Pedro DB2 0 Tue Jul 04, 2017 1:32 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us