Just out of interest, what are your reasons for using SQL naming convention?
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Dan Kimmel
Sent: 29 October 2010 18:26
To: Midrange Systems Technical Discussion
Subject: RE: SQL database object names longer than 10 characters and mixed
case?
I use long names religiously.
create table rjsflow.somelongname ... ;
select * from rjsflow.somelongname;
Notice I also use SQL naming convention. Just as religiously. I can do this
on a 5250 from STRSQL or more often from OpsNav or java JDBC.
DB2/400 stores the long names somewhere; I don't know where and I don't need
to know. DB2/400 will make up a short name (or I can use the LABEL
statement) for the name it puts on the file in the library. For most of the
stuff I do, I don't ever use the short name.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Dave Murvin
Sent: Friday, October 29, 2010 11:27 AM
To: Midrange Systems Technical Discussion
Subject: SQL database object names longer than 10 characters and mixed case?
I gather that is is possible to have SQL database object names on the System
i that are longer than 10 characters and mixed case. This could be SQL
tables, views, triggers, etc. I just can't see where they would be used or
stored. Perhaps in the IFS?
Has anyone actually used these long names, and if so, could you give me an
example? (Not the actual SQL code, but just a sample name, where you would
store in on the system, and what type of application would use it.)
Thanks.
--
Dave Murvin
www.drmetools.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.