the boiler sequence on approx. help how can I update the cached sequence

Hello guys
my institution purchased an application from a vendor where demand is cached in the sequence oracle '20' from what I've read the request is essentially updated the sequence after 20 sequences have been used I read on the forums that cache oracle sets essentially a min - max for the sequence and when it reaches the max then updates the sequence on the database. now my problem is that I'm trying to load a table that uses this sequence, but I need to update the sequence in the cache, so I don't get a constraint on the database. Anyone know how to do this?... Im very confused with this concept of cache that is not accessible.
You guys reposnce is it appreciated.
Thank you
Miguel

Centinul wrote:
Why are you concerned about how Oracle manages the sequence (and its cache)?

If the value of your sequence is too low at the moment the only way to fix this must recreate the sequence with the correct starting value.

or manually increment maybe if you may not have the right permissions? :

declare

v_dummy number;
v_count number;

begin

select max(your_primary_key)
  into v_count
  from your_table_name

select your_sequence.nextval
  into v_dummy
  from dual;

while v_dummy <= v_count loop
 select your_sequence.nextval
   into v_dummy
   from dual;
end loop;

end;

Tags: Database

Similar Questions

  • Help: How can I update Windows 8.1

    Hello

    I just had my alienware x 51 and before start using it, I would like to update W8 W8.1. The problem is that the link for the update does not appear in the Windows store. Why?

    I have tried everything that Microsoft offers: W8 all updates are installed, I have reset the cache store,... but the link does not pop up. I begin to doubt that the W8 copy that comes with my x 51 is not eligible to be updated. Can anyone help?

    Thank you in advance.

    All copies of Windows 8 are eligible for the 8.1 update.

    Browse the solutions presented in this thread:
    http://en.community.Dell.com/support-forums/software-OS/f/4677/t/19537901.aspx

  • Satellite L300D - 24 d how can I update the graphics driver?

    Hello

    How can I update the driver for my ATI Radeon 3100 graphics card. (Win Vista 32 bit)
    I download and installed the new ATI Catalyst worms. 10.12.

    If I change my graphics card options, there is always the old driver installed... Worms. 22.04.08 8.479.0.0
    Also, it is not possible to change the settings for graphic resolution higher than 1280 X 800 Pix.

    Thanks for the help,

    Fun1975

    First, you must use the page to Toshiba display driver.
    The use of other drivers can lead to highest GPU temperature and cause overheating.

    But if you want to use other drivers, you can do so at you own risk.
    In order to install another driver, go to Device Manager, mark the graphics card, then press on uninstall button.
    Then the driver should be uninstalled.

    After you restart the laptop, you can try to install the new version.

    > It is also not possible to change the settings for graphic resolution higher than 1280 X 800 Pix.
    The internal screen for laptop supports 1280 x 800 high resolution. It is not possible to choose a higher value.

  • I have Microsoft Money 2006 how can I update and keep the info?

    I have Microsoft Money 2006 how can I update and keep the info?

    Hi NRHand7,

    Microsoft has stopped selling money on June 30, 2009. The last activation of version (more Money, or money 2008) required in order to be fully functional.

    For more information, you can consult the following articles:

    What is Microsoft Money Plus sunset?

    Money Solution Center

    We can refer to the following articles and check if it helps.

    How to export and import account information in Microsoft Money

    How to remove and reinstall Microsoft Money

    You can also post your query in Microsoft Money Forum to get help.

    Microsoft Money

    Hope this information is useful.

  • How can I update the gps of streets &amp; trips

    How can I update the gps of streets & trips (not sure which version)

    Hi CP agent v-2jeen

     

    Because the question is specific to the streets and trips you contact that it can support the assistance team. I would recommend posting your query to the community of Microsoft streets & trips. Please visit the links below to find a community that will support what ask you in the right direction.

    http://social.Microsoft.com/forums/en-us/streetsandtrips/threads

    You can also check out below help links-
    http://support.Microsoft.com/ph/1058#TAB0
    http://www.Microsoft.com/streets/en-us/support-and-training.aspx

    I hope this helps.

  • URGENT! How can I update the build on BB store

    Hi all..

    I want to update the build on BB store. Please help me how can I update the build on bb store after the download of version 1.

    Now, I need to download version 2.

    Thank you

    After signing, choose manage products, then in the line that corresponds to the product that you're gong to update, you should find an icon "+" under the heading of press.  A click on it.

    I don't remember having a problem, this the first time, so I suspect it's pretty much follow your nose after that.

    It is also available help documentation:

    http://developer.BlackBerry.com/DevZone/blackberryworld/adding_and_apps_and_releases_in_blackberry_w...

  • How can I update the data in mysql using the button defined in the table?

    Hello

    right now I am doing my project for the online election system using dreamweaver cc14. I create a table using php code to bind the data to mysql, and in this painting, I create also a button "vote" for voters to vote. My question is, how can I update my polling data in the mysql database when voters push button "vote" based on the id of the candidates? Here is my code I try:

    <form method="post" id="form1">
          <?php
    $servername = "localhost";
    $username = "root";
    $password = "pass";
    $dbname = "ses";
    
    
    // Create connection
    $conn = new mysqli($servername, $username, $password, $dbname);
    // Check connection
    if ($conn->connect_error) {
         die("Connection failed: " . $conn->connect_error);
    } 
    
    
    $sql = "SELECT No, Calon, ID, Jurusan, Image FROM candidates";
    $result = $conn->query($sql);
    
    
    if ($result->num_rows > 0) {
         echo "<table >
      <tr>
      <th>NO</th>
      <th>Candidate</th>
      <th>INFO</th>
      <th>Vote</th>
      </tr>";
         // output data of each row
         while($row = $result->fetch_assoc()) {
             echo "<tr>
      <td>" . $row["No"]. "</td>
      <td><img src=" . $row['Image'] . "></td>
      <td><br/>-" . $row["Calon"]. " <br/>-" . $row["ID"]. " <br/>-" . $row["Jurusan"]. "<br/></td>
      <td><input type="."submit"." name=".$row["Calon"]." id=".$row["No"]. " value="."Vote"."></td>
    
      </tr>";
      if(isset($_POST["".$row['No'].""])){
    
      $vote_sachin = "UPDATE candidates SET Undi=Undi+1 WHERE No=".$row["No"]. "";
    
      $run_sachin = mysqli_query($conn, $vote_sachin);
    
    
    }
        }
      echo "</table>";
    } else {
         echo "0 results";
    }
    
    
    
    
    
    
    $conn->close();
    ?>
    
    
    
    
        </form>
    

    I hope someone can help me in this area, because I'm still new in this programming language.

    Thank you.

    Youre probably going to insert a 'radio button' next to the names of candidates and recover the database ID of that (I guess that the ID is the primary key in your database that uniquely identifies each record.

    His great confusion because you seem to update the database to aid WHERE no = "." $row ["no"]. so I don't know that ID is the primary key?

    IF "No" IS your master database key, you need to change the code below:

    TO:

    Here's the complete code based on the ID of your primary database key.

    <>

    $servername = "localhost";

    $username = 'root ';

    $password = "pass";

    $dbname = 'his ';

    Create the connection

    $conn = new mysqli ($dbname, $servername, $username, $password);

    Check the connection

    If {($conn-> connect_error)

    Die ("connection failed:".) $conn-> connect_error);

    }

    $sql = "SELECT No, Calon, ID, Jurusan, Image OF candidates";

    $result = $conn-> Query;

    If you click on the button "vote" form run the code to update the database below

    {if (isset($_POST['vote']))}

    Get the value of the ID of the radio button form field and store it in a table.

    $update_vote = $_POST ['candidate_id'];

    loop in the table and update the database

    foreach ($update_vote as $value) {}

    $vote_sachin = ' candidates UPDATE SET Undi = Undi + 1 WHERE ID = ".". " $value. » « ;"

    $run_sachin = mysqli_query ($conn, $vote_sachin);

    }

    }

    ?>

    <>

    If ($result-> num_rows > 0) {}

    ECHO '.

    ";

    each line output

    While ($row = {$result-> fetch_assoc())}

    ECHO '.

    ";

    }

    ECHO '.

    ";

    ECHO '.

    NO. Candidate INFO To the vote
    " . $row ["no"]. "
    -" . $row ["Calon"]. "
    -" . $row ['ID']. "
    -" . $row ["Jurusan"]. "
    ";

    } else {}

    echo "0 results."

    }

    $conn-> close();

    ?>

  • How can I update the patch of dps to my Adobe CS6 class

    How can I update the patch of dps to my Adobe CS6 class

    http://helpx.Adobe.com/Digital-Publishing-Suite/help/installing-digital-publishing-tools.h tml

    Neil

  • How can I update to attribute of the United Nations?

    Hello

    I've seen many examples of update to help commit the operation once the user makes a change to an attribute. But I didn't know, as the case may be I

    How can I update an attribute with the following text:

    -'Balance' an attribute of an entity object
    -An attribute "newBalance" of an entity object, but it is a transiet attribute (is a recalculated attribute, is not entered by the user)

    I have both dropped in a jsf page and with a substantive action 'Save', the attribute "balance" must be updated with the value of "newBalance.


    Please, anyone have an idea how I can do?

    Hi the user.

    Maybe this tutorial can help you.
    [http://andrejusb.blogspot.com/2007/11/calculated-column-in-adf-faces-aftable.html]

    Good luck.

  • I forgot the answer to my security question, I tried to update these answers, but to update them also, I must first answers old issue of security which I forgot how can I update and change my security question and the answers?

    I forgot the answer to my security question, I tried to update these answers, but to update them also, I must first answers old issue of security which I forgot how can I update and change my security question and the answers

    ?

    You must ask security team account Apple to reset your security questions. To contact them, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.

    (143315)

  • Hi, I just bought a used 2012 Pro 13 "Macbook. It came with iMovie installed. However, I would like to get the update to iMovie. He said: I can't update iMovie because a different Apple ID was used to download iMovie and I get errors. How can I update iMo

    Hi, I just bought a used 2012 Pro 13 "Macbook. It came with iMovie installed. However, I would like to get the update to iMovie. He said: I can't update iMovie because a different Apple ID was used to download iMovie and I get errors. How can I update iMovie?

    Error message #1: these applications cannot be accepted by your Apple ID. These applications have already been assigned to another Apple ID, and they will be available in this list of purchases Apple ID. If you don't have access to this Apple ID and would like to receive future updates, you will need to purchase applications.

    Error message #2: update are not available with this Apple ID. This update is not available for this Apple ID either because it was bought by another user or the item has been refunded or cancelled.

    Error message #3: we could not complete your request. There was an error in the App Store. Please try again later. (null)

    Unfortunately, free updates are available to the original purchaser of the computer. The iMovie is locked to his Apple ID, so unless you have to grab his ID, you can buy iMovie.

  • you want to watch netflix on my tv but the sound telling me that I have to update how can I update my TV

    you want to watch netflix on my tv but the sound telling me that I have to update how can I update my TV

    How to upgrade sony TV

  • Have a new 6 but cannot get it to sync with iTunes on my Mac. The two systems have system updates (and both confirm). How can I update iTunes on my phone when he said the latest version?

    Have a new 6s, but cannot get it to sync with iTunes on my Mac. Both systems have system updates (and confirm the latest version). How can I update iTunes on my phone when he said the latest version?

    The message to update iTunes refers to iTunes on your Mac - is your Mac on a high enough version of Mac OS X to support the required iTunes version? If this isn't the case, then your Mac can be changed?

  • I had to change my Apple ID because of accusations of fraud but my iPhone 6s 9.2 still has the old Apple ID and will not accept old or new passwords. How can I update the iPhone with the new Apple ID 9.2 6s?

    I had to change my Apple ID due to fraudulent charges but my iPhone 6s 9.2 still has the old Apple ID and will not accept old or new passwords. How can I update the iPhone 6s 9.2 with the new Apple ID and password? I tried to perform a complete reset, but which requires the Apple ID and password that doesn't work not... pretty frustrated here.

    YYou have unlink the old iphone you as find my iphone the reset all devices on this subject from your account then plug it to your iTunes then restore a new one after that reset password that under the new phone then connect

  • I managed to see the profile of the artist in Apple's music. How can I update the profile picture?

    I managed to see the profile of the artist in Apple's music. How can I update the profile picture?

    This is a user forum. No Apple itself is allowed to answer your questions here.

    You are probably better contact Apple Support directly to get an answer to your question.

Maybe you are looking for