IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Usage of Reservered Words as Column Names


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Mon Nov 22, 2010 2:35 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts How to load to DB2 with column level ... DB2 6
No new posts RC query -Time column CA Products 3
No new posts first column truncated in search result IBM Tools 13
No new posts STEM usage in REXX CLIST & REXX 14
No new posts Capturing COBOL job and program names... All Other Mainframe Topics 2
Search our Forums:

Back to Top