|
Point of information: By composite keys I meant composite fields. It's perfectly alright to have more than one field make up a key. I just don't like to have to use a DS to know the contents of a database field. Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com rob@xxxxxxxxx Sent by: midrange-l-bounces@xxxxxxxxxxxx 08/16/2004 12:44 PM Please respond to Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> To Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> cc Fax to Subject Re: Numeric vs. alpha keys - reasons As far as incrementing, why not use the data type of Row ID, or Identity Column as documented here instead? http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/sqlp/rbafymst79.htm http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/sqlp/rbafymst80.htm I'm not a big fan of composite keys. Just makes querying that much more complicated. As far as numeric and alphanumeric goes, I don't care. But, if you plan on peddling that package, alphanumeric might be the way to go. That way potential customers can convert their data, if their data is stored alphanumeric. And if you are not planning on peddling it, you might acquire another company that uses alphanumeric. Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com "Tim Kredlo" <TKredlo@xxxxxxxxxxxxxxxx> Sent by: midrange-l-bounces@xxxxxxxxxxxx 08/16/2004 12:34 PM Please respond to Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> To <MIDRANGE-L@xxxxxxxxxxxx> cc Fax to Subject Numeric vs. alpha keys - reasons List, I am creating a new G/L account master file layout where the unique key will be a composite field comprised of fields that contain only digits. The other day a post to the list contained a blurb that indicated it was a common feeling that numeric keys were undesirable. It said something like: 'I know, I know, numeric keys - bad stuff'. (My apologies to the poster for poor paraphrasing.) I can see plenty of reasons 'pro' numeric (easy incrementing, for one) but I don't see what the downside reasons would be. Could I get some feedback regarding the numeric vs. alphameric decision to be made here. Thanks in advance for any provided insights. Tim Kredlo Exterior Wood, Inc. -- 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. -- 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.
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.