Multiple volumes with sequence numbers

Hello
i see a strange behaviour for some volumes. For instance - i have an external hard drive connected via Firewire 800, where my Time Machine is located.
If i look into the volumes folder i do see several folders with a red button on it named Time Machine, Time Machine 1, Time Machine 2, Time Machine 3. Only Time Machine 4 is displayed as an alias and contains the actual files. All others are empty. The same observation applies to my idisk. It seems that every day my Mac creates a new folder or a new alias. I have now 81 folders!
The behaviour observed does not seem to hurt and the folders can be deleted, but in some applications (for instance Arperture) all these drive are shown as import folders, which is nasty if you have 81 idisks presented.
It seems to me that it all relates to external hard drives. All local volumes have never shown these crazy sequence numbers
The question is now why the systems behaves like this and how it can be avoided.
Help is mostly appreciated. Thanks

Thanks, Andreas for the explanation, which are helpful to get rid of those unwanted items.
However the external firewire drive is always connected to the Mac pro - it is not a mobile device - it's purely for having the Time Machine on an external storage.
And how should i avoid the behaviour with the idisk. The storage is a remote external device, where the connection is built through the Internet.
Any additional ideas ?
Thanks
Michael

Similar Messages

  • Alter a column with sequence numbers

    Hi to all,
    i have a table (sample) with cplumns: sno, sname,dob and so on..........
    In this table i have milions of rows with random numbers in column sno
    i want to give the give the sequence numbers from 1 to 10000 in the sno column to the begining rows in the table
    (Oracle)
    could u post the code plese
    thanks & Regards
    Tangella

    Tangella wrote:
    Hi to all,
    i have a table (sample) with cplumns: sno, sname,dob and so on..........
    In this table i have milions of rows with random numbers in column sno
    i want to give the give the sequence numbers from 1 to 10000 in the sno column to the begining rows in the table
    (Oracle)
    could u post the code plese
    thanks & Regards
    TangellaHow do you define "the beginning rows in the table"? Rows in a relational, heap table have no "order" to them. There is no concept of "first".
    And once that is defined, why would you want to assign sequence number to only 10k our of "millions" of rows?

  • Multiple menus with varying numbers of buttons?

    Can I have multiple disc menus with varying numbers of buttons on each? 6 buttons on 1st menu, 5 on next, 6 on last? When I add scene markers, it seems to want to 'fill up' a menu with 6 then automatically moves on to the next menu. I want only 5 on a menu then 6 on the next. It keeps putting the new button on the menu with only 5 buttons. Thanks...

    Do you have Photoshop, or Photoshop Elements?
    If you do, with some, very careful work, you can alter the Scene Selection Menus, but you will want to do so, only if you understand the conventions of a PrE Menu Set, and their structure. Also, if you do so, do NOT Save over the existing DVD Menu Set Templates, but in a separate folder. We can give you steps, but I strongly suggest that if one is not familiar with the structure and conventions, they spend some time studying the Menu Set Templates in PS, or PSE, until it's very clear what needs to be done.
    Possible, but one needs that understanding first, and then they need to know their way around Photoshop/Photoshop Elements. I think that it is best to go with the design of the DVD Menu Set Templates, or perhaps stop by Muvipix.com, and see if they offer a Menu Set, that is more in keeping with what you want already. Those are very inexpensive, and are very nice.
    Which Menu Set are you hoping to use?
    Good luck,
    Hunt

  • Multiple volumes with the same name

    If I look at my /Volumes folder using Finder>Go>Go to Folder.. I see seven different volumes all starting with the same name:
    MyName
    MyName 1
    MyName-1
    MyName-2
    MyName-3
    MyName-4
    MyName-5
    (as well as my external drive and iMac HD)
    MyName has a folder icon, and contains 1 folder called Backup which then has my 1Password.keychain in 7 different versions.
    MyName 1 and MyName-1 are aliases and have icons for shared volumes. The only differences I can see are that in "MyName 1", the folders for Backup, Groups and Library are all displayed as aliases, whereas in "MyName-1" they are displayed as standard folders.
    MyName-2 through MyName-5 all have folder icons and are empty.
    I can understand that I could have a local and remote copy of my iDisk, hence the "MyName 1" and "MyName-1" volumes, but why all the others?
    Should I delete any of MyName-2 through -5?
    Is any of this slowing down iDisk syncing or searching?
    Thanks in advance

    I have the same problem
    an external firewire drive "232 GB" is gaining an extra, sequentially numbered, mountpoint in /Volumes/ each time it is unplugged and re-plugged.
    This is a bit of a pain as Xtorrent is downloading to a folder on this drive and so, whenever it is unplugged, I have to either;
    restart all the downloads or,
    before launching xtorrent, go into /volumes/ and delete the last mountpoint (so the system automatically adds the one Xtorrent is expecting)
    just noticed you're in Sheffield too, maybe it's a local problem....
    no idea what's causing it

  • 9.2 issue with  Sequence Numbers

    We are using OWB 9.2 and RDBMS 9.2 on windows NT.
    When using set based functionality i.e. Merge Statement, or Row Based, we have noticed that our sequence object gets incremented during updates even though it is only associated with the insert and not the update.
    Is this normal behaviour or an issue ???

    Jagadish,
    You will not get updates because you by default match on the keys on the table. In other words you emp_id and the seq.nextval are matched to what you have in the table and they will never match (because of the nextval).
    Two things you can do:
    - Change the composite key (e.g. change the design)
    - Change the configuration in OWB
    Let's look at the second one, what you must do is the following:
    1) On the target table, select operator properties and find "Match by Constraint". Highlight that and change this setting to No Constraints.
    You now are not using the constraint, so you must tell OWB what to match on. You do this by:
    2) Highlight the EMPID column and select attribute properties
    3) In the loading properties node set the following for EMPID:
    Load column when inserting row => Yes
    Load column when updating row => No
    Match column when updating row => Yes
    4) Highlight the other columns, for example ATTEMPT_COUNT and select attribute properties
    5) In the loading properties node set the following for ATTEMTP_COUNT:
    Load column when inserting row => Yes
    Load column when updating row => Yes
    Match column when updating row => No
    This should allow you to update based on the EMPID alone.
    Hope this helps,
    Jean-Pierre

  • After Yosemite download excel files save separately with sequenced numbers

    Yosemite excel save problem

    hi... This forum is for troubleshooting Apple Software Update for Windows, a software package for Windows designed to update Apple products that run on Windows, and not related to Microsoft Office or your question in any way. If you have issues or questions about Office, it's probably best you post Office related questions on Microsoft's own forums for their Mac products.
    http://www.officeformac.com/productforums

  • LR3 Web Gallery Sequence Numbering bug?

    Anyone else getting this problem with sequence numbering in the web HTML templates? Basically, as you jump through photos the photo number is always stuck on #1, never changes when you go to the next photo - should go 1, 2, 3, 4, 5...
    I just sent a bug report but, wondering if anyone else found a fix for this yet.
    This is in LR3 on Mac - really trying to do this on TTG Highslide gallery but, same problem occurs in default Lightroom HTML gallery.
    Thanks.
    ******BUG******
    Concise problem statement:
    Steps to reproduce bug:
    1. Go to Web Module
    2. Choose default HTML Gallery
    3. Under Image Info set Caption to Sequence
    Results:
    Sequence caption always shows 1/total images.
    i.e. 1/10,  1/10,  1/10,  1/10
    Expected results:
    Sequence should increment current image number / total images as you click through images.
    i.e. 1/10, 2/10, 3/10, 4/10

    Yeah, still have the numbering problem using the Image Info sequence outputs.
    But, if you use the standard Lightroom Flash Gallery it has it's own sequence numbering output (that does not use Image Info captions)  and it does work correctly. These show up as 1/9, 2/9, 3/9 etc. on each photo down by the back/next buttons.
    Also, the Cell Numbering does work when using the Lightroom HTML Gallery - though, those numbers only appear on the index page not on individual photos.
    But, haven't seen a good work-around yet for sequence numbering in Image Info area. Only option there seems to be typing numbers manually into the caption. Or, if you need the caption for other info maybe use one of the IPTC fields like Headline to type in your numbers. You can then do a Custom Setting in web module to have those text fields show up with your photos.
    Really hoping we will see a LR 3.1 sometime soon with a fix - should be an easy correction for Adobe.

  • Sequence numbers - with no gaps!

    I seek some advice from anyone with first hand experience in this area.
    My need is simple; generate a new ID number for every order for use as the primary key.
    Obviously this simple exercise could be a bottleneck as volumes ramp up, so I was pleased to find the Oracle feature to generate such numbers (efficiently presumably). However, upon closer reading it was apparent that aborted transactions would result in the loss of the number allocated to to that order if another transaction had obtained the next sequence number already (as one would want it to, rather than serializing transactions).
    I don't want to have gaps in the sequence as the system needs a high degree of auditability. I am thinking of utilising the Autonomous Transaction feature to write the newly acquired sequence number to the order file with a flag indicating that the record is incomplete, and that record is to be skipped by normal system applications (but available to audit reports which will interpret the reason correctly), then returning to the far more extensive main transaction which updates many tables.
    The other alternative is to control sequence numbers within the application itself, or try to get the sequence number as the very last step before writing the new order record, but this probably won't guarantee gapless reliability either. The ID itself has no significance, and it doesn't matter if an ID was used out of strict date/time sequence, so I really don't want to execute these updates serially.
    So, my question is this:
    a) do most people use the builtin sequence number feature?
    b) if so, is there a standard technique for avoiding or accounting for gaps?
    c) if the application must take over this task, should the counter for the last used ID be in a single row table to minimise bottlenecks caused by the thisrecord being locked? There will be several such counters for different aspects of the application, and i thought of having each in its own row in a small table, but I'm concerned about the whole table getting locked and freezing out otherwise-unrelated updates.
    Thanks for any advice you may have.
    CS

    user8821725 wrote:
    I seek some advice from anyone with first hand experience in this area.
    My need is simple; generate a new ID number for every order for use as the primary key.
    Obviously this simple exercise could be a bottleneck as volumes ramp up, so I was pleased to find the Oracle feature to generate such numbers (efficiently presumably). However, upon closer reading it was apparent that aborted transactions would result in the loss of the number allocated to to that order if another transaction had obtained the next sequence number already (as one would want it to, rather than serializing transactions).
    I don't want to have gaps in the sequence as the system needs a high degree of auditability. One of the very very few reasons for me to have a requirement for "gapless" sequences is if you have a kind of checking mechanism outside of the database that is implemented using this gapless number. I had such a requirement once, when exchanging files with another bank where we had to ensure that each file was transferred correctly and in the right order. Your "high degree of auditability" might be a similiar requirement. Just remember as long as you are still inside the database you can use other mechanisms to increase auditability.
    I am thinking of utilising the Autonomous Transaction feature to write the newly acquired sequence number to the order file with a flag indicating that the record is incomplete, and that record is to be skipped by normal system applications (but available to audit reports which will interpret the reason correctly), then returning to the far more extensive main transaction which updates many tables.Hm. I don't see why you want to use Autonomous Transactions for this. It might be useful to lessen locking conflicts , depending how your future sequence mechanism will be built.
    >
    The other alternative is to control sequence numbers within the application itself, or try to get the sequence number as the very last step before writing the new order record, but this probably won't guarantee gapless reliability either. The ID itself has no significance, and it doesn't matter if an ID was used out of strict date/time sequence, so I really don't want to execute these updates serially.I would go for generating the sequence as the very last step. It needs to be set to NOCACHE of cause. This will garantee that the sequence fetched from mySeq.nextval is gapless. The problem is then in your application. Your application must be built in a way that it ensures to use this sequence, or at least to create a noticable alert when this generated sequence can't be used anymore. In essence this means. Each unhandled (database) error that happens after you fetched the next sequence value must be raised in a way that informs all relevant people about this error.
    Example: It might be that you use the sequence to write an order file. What happens if halfway through writing the file your disk runs out of space? This can be such an issue where a sequenced value will be lost. Your organisation must take care of those things.
    >
    So, my question is this:
    a) do most people use the builtin sequence number feature?Yes. But for some tasks a sequence is not the best way, for example if you want a numbering for each item of your order. This "sequence" needs to restart with every new order.
    b) if so, is there a standard technique for avoiding or accounting for gaps?NOCACHE => Avoids gaps during generation
    Database Trigger => Tries to use the sequence as late as possible
    c) if the application must take over this task, should the counter for the last used ID be in a single row table to minimise bottlenecks caused by the thisrecord being locked? There will be several such counters for different aspects of the application, and i thought of having each in its own row in a small table, but I'm concerned about the whole table getting locked and freezing out otherwise-unrelated updates.This is a possibility and the issues you describe are why we avoid such a solution in general. Autonomous transactions help to reduce the locking conflict, but they increase the chance that you produce gaps.
    >
    Thanks for any advice you may have.
    CSOracle can guarantee to produce gapless sequences. But it can't guarantee that your application uses such a sequence in a gapless way.

  • Trouble with SEQUENCE, loosing numbers

    Hi all, I use a sequence to generate the number of an invoice like this:
    Insert into table
    values(owner.sequence_name.nextval);
    But, if an error occurs this number get lost because of the way the sequence works, how can I avoid this??, there is another way to do it??? It doesnt matter if that solution doesn't use the sequence, but my design cannot accept numbers like 1,3,4,5,7, it has to be 1,2,3,4,5,6,7....
    Leo
    null

    Unfortunately, this is another one of those concepts that sounds simple but isn't.
    Yours is not an Oracle (or any other DB) problem; it is a design problem.
    The reason that none of the suggested alternatives solve your problem is that there are undefined elements in your requirements.
    There are actually two aspects to your of problem: 1) generating unique sequential numbers and 2) using those numbers.
    I would suggest starting over and try to clearly define the problem and the requirements.
    For example your stated requirements appear to be something like:
    1. Invoice numbers must to be unique
    2. Invoice numbers must be numeric
    3. The first invoice number must be 27 (modify per your requirements)
    4. Each new invoice must be numbered one higher than the previous invoice.
    5. Invoice numbers must be sequential with no missing numbers.
    While the above list seems to be complete there are some very important questions that are not yet answered.
    1. When does an invoice become an invoice? That is, when is the invoice number assigned? Is the number assigned before or after the invoice record is committed to the database? If the number is assigned before committing (e.g. when the user begins processing an invoice) but the invoice is then abandoned and never committed there will be a gap in invoice numbers.
    2. Can invoice records ever be deleted? If a committed record is deleted there will be a gap in the numbers. Some systems handle deletions by either flagging the records as deleted without actually deleting them or moving the records to a deleted table so that all invoice numbers are always accounted for.
    Check printing applications used to print on pre-numbered check forms. The line printers that were used had sprockets to feed the checks and the first check could not be printed on since the sprockets were above the print head. The operator would enter the first check number into the system and the application created a check record marked VOID for that check number. This ensured that all pre-printed checks were accounted for and had not been misplaced or stolen.
    Oracle's sequence generator can generate sequence numbers in sequential order and ensure that there are no gaps in the generation process.
    Oracle cannot ensure that your application uses those numbers in a way that avoids gaps.
    Even a normal INSERT trigger that might be used to get the next sequence value cannot be certain that the record it is inserting will actually be committed unless the COMMIT operation is performed within the trigger.
    Sorry to 'rain on your parade' but withouth a better problem definition we can't give you a better solution.

  • How to overwrite expired volumes with lower sequence number?

    I test expiration policy.
    I have a tape library with two volumes.
    I defined expiration policy after some time when write windows closed.
    lsv -L test_lib
    in 1: volume mf_test-000001, barcode e61bcfea534e10281bb000b5df3a54e, 4148676704 kb remaining, expired
    in 2: volume mf_test-000002, barcode e6251c26534e10281bb000b5df3a54e, 4148657504 kb remaining, expires 2011/04/28.11:49
    How to make OSB overwrite 1st expired volume when writewindow closed on the 2nd volume (with lower sequence number)?
    Is it possibly without rotation policy?
    If not how to set the policy in my case?
    Thanks!

    Thanks, Rich!
    But I have now following situation:
    ob> lsv -a
    VOID OOID Seq Volume ID Barcode Family Created Attributes
    104 104 1 mf_test-000001 b927cfe85411102ab8e000b5df3a54e mf_test 04/29.10:53 expired
    107 107 1 mf_test-000004 b93699ec5411102ab8e000b5df3a54e mf_test 04/29.13:32 closed; expires 04/29.14:32
    ob> lsj -l
    oracle/11:
    Type: database emgc (dbid=1838014073)
    Scheduled time: none
    State: processed; Oracle job(s) scheduled
    Priority: 100
    Run on host: (administrative server)
    Attempts: 0
    oracle/11.1:
    Type: datafile backup
    Backup piece: 2jmb0c82_1_1
    Family: mf_test
    Encryption: awaiting job completion
    Scheduled time: none
    State: pending resource availability
    Priority: 100
    Run on host: dbsora98
    Deferred because: a required device is not available
    Attempts: 2
    ob> catxcr --tail 100 oracle/11.1
    2011/04/29.14:19:49 ______________________________________________________________________
    2011/04/29.14:19:49
    2011/04/29.14:19:49 Transcript for job oracle/11.1 running on dbsora98
    2011/04/29.14:19:49
    2011/04/29.14:19:49 ---
    2011/04/29.14:19:49 No volume could be found in vl_test (for drive vd_test_2) to use for job oracle/11.1.
    2011/04/29.14:19:49 A volume usable for media family mf_test is needed to perform a backup.
    2011/04/29.14:21:24 ______________________________________________________________________
    2011/04/29.14:21:24
    2011/04/29.14:21:24 Transcript for job oracle/11.1 running on dbsora98
    2011/04/29.14:21:24
    2011/04/29.14:21:24 ---
    2011/04/29.14:21:24 No volume could be found in vl_test (for drive vd_test_1) to use for job oracle/11.1.
    2011/04/29.14:21:24 A volume usable for media family mf_test is needed to perform a backup.
    Edited by: OraSun on 29.04.2011 1:38
    I'm sorry, that's ok. other job is holding the 1st volume.

  • Ufsdump and ufsrestore with multiple volumes

    How to ufsdump and ufsrestore with multiple volumes?
    I want to backup and restore a large directory with ufsdump and
    ufsrestore, so it requires multiple tapes (two in this example).
    After backuping tape 1, I press the eject button of the tape drive to
    eject the button, then I insert a second tape and type "yes" to
    continue.
    # /usr/sbin/ufsdump 0uf /dev/rmt/0cn /opt/bsm
    DUMP: 89.66% done, finished in 0:04
    DUMP: End-of-tape detected
    DUMP: 92.68% done, finished in 0:03
    DUMP: Change Volumes: Mount volume `#2' on `pwdly0ee:/dev/rmt/0cn'
    DUMP: NEEDS ATTENTION: Is the new volume (#2) mounted on
    `pwdly0ee:/dev/rmt/0cn' and ready to go?: ("yes" or "no")
    DUMP: NEEDS ATTENTION: Is the new volume (#2) mounted on
    `pwdly0ee:/dev/rmt/0cn' and ready to go?: ("yes" or "no")
    DUMP: NEEDS ATTENTION: Is the new volume (#2) mounted on
    `pwdly0ee:/dev/rmt/0cn' and ready to go?: ("yes" or "no") ye
    DUMP: NEEDS ATTENTION: Is the new volume (#2) mounted on
    `pwdly0ee:/dev/rmt/0cn' and ready to go?: ("yes" or "no") yes
    DUMP: "yes" or "no"?
    DUMP: NEEDS ATTENTION: Is the new volume (#2) mounted on
    `pwdly0ee:/dev/rmt/0cn' and ready to go?: ("yes" or "no") yes
    DUMP: Volume 2 begins with blocks from inode 430787
    DUMP: 92.70% done, finished in 0:03
    DUMP: Change Volumes: Mount volume `#2' on `pwdly0ee:/dev/rmt/0cn'
    DUMP: NEEDS ATTENTION: Is the new volume (#2) mounted on
    `pwdly0ee:/dev/rmt/0cn' and ready to go?: ("yes" or "no") yes
    DUMP: Volume 2 begins with blocks from inode 430787
    DUMP: 92.70% done, finished in 0:03
    DUMP: 4731838 blocks (2310.47MB) on 2 volumes at 840 KB/sec
    DUMP: DUMP IS DONE
    DUMP: Level 0 dump on Sat 08 Nov 2003 02:53:58 PM EST
    # /usr/sbin/ufsrestore rf /dev/rmt/0cn
    Mount volume 2
    then enter volume name (default: /dev/rmt/0cn)
    Mount volume 3
    then enter volume name (default: /dev/rmt/0cn) <- insert second tape
    Wrong volume (2)
    Mount volume 3
    then enter volume name (default: /dev/rmt/0cn) 2
    Cannot open 2
    Mount volume 3
    then enter volume name (default: 2)
    Cannot open 2
    Mount volume 3
    After tape 1 in finished restoring, I eject the tape and insert the
    second tape.
    Now what should I do to continue tape restoring?

    I don't think that you're supposed to type in the number "2". What ufsrestore is looking for is the next ufsrestore volume, not the volume number. If it is a tape drive, which this apears to be, you specify the tape drive device: dev/rmt/0cn.

  • How can i create a zip-file with multiple volumes

    Hi,
    i've to zip a large file (250 MB and more). But the zip file shouldn't be greater than 5 MB, because i have to send the file via E-Mail. So i've thought, that the solution of this problem can be to zip the large file in smaller zip-files, which are multiple volumes of a zip-archive. I've searched very long in WWW, but didn't find something. Perhaps you can help.
    Sorry, about the bad english. :-)
    Timo Bunger

    Hi
    Who said your english is bad ?. OK, are you looking for compressing the 250 MB file in to multiple versions using a java program ?. If not, there is a shareware you can download and split the file into multiple parts by specifying size of each part. You can send these parts via email and the other person can combine these parts into a single file again.
    Find this @
    http://www.freedownloadscenter.com/Utilities/File_Splitting_Utilities/EzSplit.html
    You may need to read a bit about it on how to use.
    Thanks
    Srinivas

  • Permissions issues with multiple volumes

    I'm currently running one boot volume with Snow Leopard and one with Mountain Lion on my Mac Pro.  Due to current software compatibility-related issues, I need to be able to use both volumes regularly as part of my workflow for now, though I plan to transition fully to 10.8 in the next couple months.  Right now, I'm running into a permissions issue that is impeding my workflow.  When I first set up the 10.8 volume, I had access to all the folders in my main user account on the 10.6 volume.  However, yesterday I used the process described in the link below to change name of my home folder, which includes creating a new user account.  With this new user account, I find that I do not have access to user content on my 10.6 volume.
    http://support.apple.com/kb/HT1428
    I know how to change permissions in the "Get Info" window, but I'm wondering if there's a way to globally give this account the same permissions the original one had.  (Actually, I thought that was what the process in that support article was supposed to do, so perhaps I've done something wrong...)  As it is right now, if I've granted myself read and write permissions to the Documents folder, but those permissions seem to have "cascaded" inconsistently--some files and folders are still blocked, others are accessible.  Can anyone help me out with this?  For now, I'm just going to copy the files I need over, but I need a better solution.

    Anyone have any ideas?

  • Multiple Images with a Loader

    I am trying to load and display multiples images with a Loader, one after another. The program only displays the last image to be loaded and added to the stage. What is wrong? Here is my code..
    ---START OF CODE---------------------------------------
    import flash.events.MouseEvent; //Package needed for mouse events
    btnGenerate.addEventListener(MouseEvent.MOUSE_DOWN, buttonPressed); //Button click listener
    chkSeal.addEventListener(MouseEvent.MOUSE_DOWN, chkTriggered); //Check box click listener
    //If the check box is toggled, switch to 8 or 9 max characters
    function chkTriggered(event:MouseEvent):void
         if (chkSeal.selected == false)
              txtInput.maxChars = 8;
         else
         txtInput.maxChars = 9;
    function buttonPressed(event:MouseEvent):void
         var pictureLoader:Loader = new Loader(); //Picture loading variable
         var plateText:String = txtInput.text; //Plate text string
         var filename:String; //Filename for each character's associated picture
         var currentX:int = 10; //Current x position
         var i:int; //Counter to use in for loop
         plateText = plateText.toUpperCase(); //Convert plate text to upper case
         //For every character in the sequence
         for(i = 0 ; i < txtInput.length ; i++)
              filename = "/Numbers and Letters/" + plateText.charAt(i) + ".png"; //Generate filename
              pictureLoader.load(new URLRequest(filename)); //Load the picture
              addChild(pictureLoader); //Add picture to the stage
              pictureLoader.x = currentX; //Move picture into position
              pictureLoader.y = 366; //Constant y position for all images
              currentX = currentX + 52; //Increase the current x (by the size of the images)
         txtInput.text = "Done!"; //Display done in the text box
    -------------END OF CODE----------------------------

    You appear to only have one Loader instance working for you.  A Loader can only hold one load at a time.  Try creating new Loaders within the loop.

  • Problem with Sequence in Form

    I created a sequence as:
    -- Create sequence-----
    create sequence MY_SEQ minvalue 1 maxvalue 100000 start with 21increment by 1cache 20 order;
    In Form(Form10g) I set the Initial Value propery as:
    :sequence.30_seq.nextval
    The problem is, Whenever I go for Insert Item and cancel Insertion. The sequence continues to the next after next. How do I keep it with MAX+1 through Sequence

    Yes, I've worked with something like that before. I'm not sure if there was an issue with using a 'for update nowait' lock, but it used dbms_lock instead. After getting a lock, delete the record. If the user saves the form then the sequence will used there, if they roll back it will remain on the table.
    But with more than one user and the option not to save after the sequence has been issued, you could still have gaps in the sequences within each session and sequence numbers will not always be issued in ascending order. In the long term you will have a continuous sequence on the table (unless a record is deleted), but in the short term it may not look like it, so be prepared for complaints.

Maybe you are looking for