Wednesday, November 5, 2003, 9:14:34 AM, Hemant K Chitale ([EMAIL PROTECTED]) wrote: HKC> There are times when you cannot afford to lose CACHed values, as John HKC> Kanagaraj has pointed out HKC> in Oracle Applications when generating Cheque numbers. Such sequences HKC> required a patch in HKC> Oracle Apps 10.7 and 11 and/or creation with NOCACHE.
Would NOCACHE really prevent loss of sequence values? It seems to me that you could still find yourself in a situation where you grab NEXTVAL from a sequence, causing it to increment, and then you rollback your transaction. The sequence, of course, would not rollback, and you'd "lose" a value. I don't know any way around this problem using sequences. If it were a requirement not to lose any values, none at all, then I'd probably at least think about alternative solutions. Best regards, Jonathan Gennick --- Brighten the corner where you are http://Gennick.com * 906.387.1698 * mailto:[EMAIL PROTECTED] Join the Oracle-article list and receive one article on Oracle technologies per month by email. To join, visit http://four.pairlist.net/mailman/listinfo/oracle-article, or send email to [EMAIL PROTECTED] and include the word "subscribe" in either the subject or body. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jonathan Gennick INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).