× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



But, I think you need to look at the purpose. I, too, would not use
this for something where you need a truly unique sequential number -
like invoices. I don't think that is the intent. But, for uniquely
identifying a row (record) and establishing relationships across tables,
it's a wonderful tool.

The Centerfield article by Dan Cruikshank and a couple of others by Kent
Milligan on Identity Columns, Sequences, and Constraints should be
required reading for every IBM-i developer.


luisro58@xxxxxxxxx 11/25/2009 12:09:10 PM >>>
<snip>
As per the business cases that David comments, I suppose that this
(the sequence object) could be seen as just another tool that SQL
provides. Myself, am a little uneasy about the storing of the data in
a *DTAARA (something that sometimes gets overlooked when restoring or
saving). Also, the fact that I can't get a guarantee of the sequence
can give some problems (think, for example, invoice numbers).
</snip>

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.