Two little questions about ROWID

Hello friends at www.oracle.com ,
as we know, each time we insert a new line, Oracle creates an unique ROWID for that line. I have 2 questions about ROWID:
1. Is there a way for me to obtain ROWID value at the moment of insertion, other than doing a SELECT rowid FROM (table) WHERE (primary key inserted values) to obtain the ROWID that was generated for that line?
2. If, for any reason, we have a so big database that all ROWID possible combinations are over, how would Oracle handle such situation? I believe it's something quite rare to happen but, anyway, there's the possibility as Murphy Laws have taught us :)
Thanks for all answers, and best regards,
Franklin Gongalves Jr.

1. The (quite new) DML RETURNING clause allwos this:
Eg. insert into bonus values ('Bill', 'work',100, 4) returning rowid into :x
This works in 8.1.7 and 9.0.1 I don't know about earlier.
2. A rowid includes the physical address of the data. Before you used all the rowid's, the database wouldn't be able to hold any more data. The limit is big, but not infinite. If you hit it, try going to distributed databases using database links.

Similar Messages

  • This is a two part question about the creative 16gb Zen?

    8This is a two part question about the creative 6gb Zen? First of all, my battery life dropped very suddenly. One charge I was getting the full 30 hour battery life and the next it dropped to under ten. I tried using their tips on how to extend the battery life and I am still getting less than 0 hours of battery life. Why would it dropped more than half the amount between charges? I tried recharging it after it ran out and still the same thing. Any help?
    Second, (I am adding this question because it might relate to the first in some way) my mp3 player has been behaving strangely lately. For example, some artists sometimes have letters removed or all but the first end up being removed. But, if you reset the player, the artists go back to the full name. Also, my player has been taking a little longer than usual to turn on. It takes about 30 seconds to turn on instead of the 5-0 that I'm used to. Does anyone know why this might be happening?
    My Zen is only 4 months old, and I would be very upset it it's breaking already. Please, if you have any suggestions on how I can fix what's happening, post them. (Even if they?probably won't work, they're worth a try.)

    < This is an unusual one; never heard of it before. All I can suggest is cleaning up and perhaps reflashing the firmware. If it still is doing this, then get the thing exchanged pronto.
    My guess is that the problems are indeed closely related.

  • Two weird questions about BP maintenance......SOS!!!

    Two weird questions about BP maintenance......SOS!!!  
    The procedure is like this:
    These informtion will be import to SAP:
    BP information
    Address Information of this bp.
    Communication information of this BP
    1. check if the bp exist, if yes, update the BP.Then go to 3.if no go to 2
    2. Create a bp with the Address information and communication information
    3. Check if the Address information has been existed,if yes go to 4.else go to 5
    4.Update the address information with the communication information.
    5.Create a new address for this BP.
    And the problem I got is like this:
    1. After I changed the BP information, such as the surname,lastname etc.Use this BAPI
    "BAPI_BUPA_CENTRAL_CHANGE",I commited it.Then I call the BAPI "BAPI_BUPA_ADDRESS_CHANGE" to change the Address of this BP,however
    When I call the BAPI_BUPA_ADDRESS_CHANGE,it always told me the BP is locked by myself.............
    I am sure I do not open the BP in the other window.And I commit it after I call the BP Change BAPI.
    2. When I change the communication information ,it always told me BAPIADTEL you want to update does not exist in this system.....I am sure it does.
    Who can help me??
    Thanks very much

    Hi,
    1) Problem with the lock. To commit the changes after the BAPI_BUPA_CENTRAL_CHANGE API, instead of using commit work to commit, Use BAPI_TRANSACTION_COMMIT. This should solve the problem. This wil help in clearng the buffers of BP.
    2) in the BUPA_ADDRESS_CHANGE, for telephone there are two parameters to be filled IT_ADTEL, IT_ADTEL_X
    IT_ADTEL : Should be filled with the telephone details etc (Consnumber should not be filled for inserts. This should be filled only for updates).
    Corresponding IT_ADTEL_X structure has to be filled with update flag as 'I', 'U' or 'D' based on the task.
    Hope this helps. Let me know if some more info is needed.
    Regards,
    Sudheer.

  • Two noob question about unstable and abs

    Hi for everyone, I'm a brand new Arch user, coming from 2 years of Gentoo (because of that long compile times - I don't have a cluster), and earlier some Suse.
    Got two little(?) problem:
    1. I would like to give 'abs' a try, but I'm behind our corporate firewall, so I can only access the web via https?@:80 and pop/smtp. How does one can sync abs like this?
    2. I uncommented the unstable branch in pacman.conf, like this:
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/extra
    Include = /etc/pacman.d/unstable
    And havinf the unstable mirrors like this:
    # The Unstable tree. Contains unstable or development versions of packages.
    [unstable]
    Server = http://archlinux.antesis.org/unstable/os/i686
    Server = ftp://archlinux.creativa.cl/unstable/os/i686
    Server = http://darkstar.ist.utl.pt/archlinux/unstable/os/i686
    Server = ftp://ftp.archlinux.de/pub/archlinux/unstable/os/i686
    Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/unstable/os/i68
    6
    Server = ftp://ftp.mpi-sb.mpg.de/pub/linux/mirror/ftp.ibiblio.org/pub/Linux/dist
    ributions/archlinux/unstable/os/i686
    Server = ftp://ftp.oit.unc.edu/pub/Linux/distributions/archlinux/unstable/os/i68
    6
    Server = ftp://ftp.parrswood.net/Mirrors/ftp.archlinux.org/unstable/os/i686
    Server = ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/archlinux/unstable/os/i6
    86
    Server = ftp://ftp.tu-chemnitz.de/pub/linux/sunsite.unc-mirror/distributions/arc
    hlinux/unstable/os/i686
    Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/unstable/os/i686
    Server = ftp://saule.mintis.lt/pub/linux/unstable/os/i686
    But when I
    pacman -Syu
    It shows like the unstable 'db' is only 3k 'big'. So I can not find openoffice2 which disturbes me a lot ...
    Thanks for any help.

    1. abs is just a bash script using cvsup IIRC. Take a look at it  (as well as /etc/abs/abs.conf). 
    2. modify pacman.conf like this :
    [extra]
    Include = /etc/pacman.d/extra
    [unstable]
    Include = /etc/pacman.d/unstable

  • Two separate questions about the new s3 update

    Okay, so I just recently updated my s3 and so far I love everything about it, very nice job. Just two things bother me about it (not sure if the second one has to do with the update or not)
    Firstly, when you receive a text message it pops up on your lock screen with about the first sentence of the message. Now that's a big problem for me, I enjoy my privacy, so if I'm texting someone, get up and leave me phone wherever I am at the time, someone could pick up my phone and instantly see who I'm talking to and what about without any type of security (I have the pin lock). If there is a way to disable it I cannot find it anywhere, maybe I'm not looking hard enough, any help would be appreciated.
    Secondly, when sent a picture message instead of the message itself from the person sending it I get a message from "Me" or my own phone number saying "You've got a new PIX or FLIX message! To see it, visit *insert the vzw site here*. When going to the site it asks me to sign up and sync my phone to the cloud, which I do not want at all. Is this something with my service or the new update? It's quite infuriating to be honest. If either of these is true, is there a way to disable this feature and continue receiving pictures/video messages "normally"? PS: Picture/Video messaging worked all normal before I updated.
    Thank you so much for any insight or help you can provide.

    jakeskee wrote:
    Okay, so I just recently updated my s3 and so far I love everything about it, very nice job. Just two things bother me about it (not sure if the second one has to do with the update or not)
    Firstly, when you receive a text message it pops up on your lock screen with about the first sentence of the message. Now that's a big problem for me, I enjoy my privacy, so if I'm texting someone, get up and leave me phone wherever I am at the time, someone could pick up my phone and instantly see who I'm talking to and what about without any type of security (I have the pin lock). If there is a way to disable it I cannot find it anywhere, maybe I'm not looking hard enough, any help would be appreciated.
    Thank you so much for any insight or help you can provide.
    If you are using the stock Text messaging App. Open the app (while on the screen that shows all your people you have text, (not an individual person) click on your menu icon, the go to Settings> scroll down to >Notification settings>Notifications  The box should be unchecked, or if it is checked there is a "Preview message" option that you can uncheck. That will take it off of the lock screen. Hth.
    ***Sorry, did not see the link that Tikibar posted ref the first question. If you leave the "Notifications" box checked, you can customize the rest of your notifications...and just uncheck the "Preview message" box.

  • Little question about Newsstand.

    Just wondering why nothing in the free section of Newsstand is free? I'd like to at least get one or two magazines or articles about things I enjoy for free. Maybe something to think about, Apple.

    So you can use xml to create and load items into dynamic
    movieclips so you can see this one to itroduct yourself to xml
    http://www.kirupa.com/web/xml/XMLwithFlash3.htm
    or the other and easy way is to use Treww component and see how it
    works in Flash samples in your computer \Program
    Files\Macromedia\Flash 8\Samples and
    Tutorials\Samples\ActionScript\Galleries\ and see the Gallery_Tree
    if you want you can see the Gallery_Tween this files is for gallery
    but u can transofrm easy to use for your project cheers :))

  • Approval in two days -- question about direct link to store

    My first iBook was approved in two days, but I have what is probably a simple question but I can not find the answer anywhere.
    I want to get a url to direct people to the book, how do I get this?

    I knew it would be simple, but very valuable info. Thanks KT.
    Here is is
    <a href="http://itunes.apple.com/us/book/beyond-ellis-d/id531625572?mt=11&uo=4" target="itunes_store">Beyond Ellis D - Donnell Alexander</a>

  • Two Fold question about MAIL on Mac OS X Tiger

    In the left hand margin, on email page,first item is IN, on my Mac, below that was my name, Eva Driscoll, below that my husband, Don Driscoll. Suddenly it was reversed with his name first. Neither of us changed this. No big deal, EXCEPT: Now when I forward anything in my name, Eva Driscoll, on the new "forwarded page" the sender appears as Don Driscoll. This means I have to remember to change it from Don to Eva, before I forward any e mail. Is there any way to fix this, so when I forward something I wrote, my name will stay in place as on the original email, instead of changing to Don? I have already looked at everything under Mail and Preferences, but nothing seems to be there to rectify what is happening. Thanks in advance to anyone who might help me with this problem.
    IMac Intel, new in May 2006   Mac OS X (10.4.7)  

    You can click and drag an account's Inbox mailbox to
    the top or bottom position in the mailboxes drawer
    under Inbox and this can also be done via the
    Accounts window at Mail > Preferences > Accounts.
    The address chosen when replying to or forwarding a
    received message is based on which email
    account/address the received message as addressed to
    - namely which account's Inbox mailbox the message
    was received by.
    Does this no longer happen?
    reply to Allan Sampson: I am sorry I do not understand your second sentence below. Example: I sent an email to Jan,from me, Eva Driscoll. Then I remembered something else I wanted to add, so I hit forward,added what I wanted to add. But on this forwarded page to Jan,it no longer says from Eva (as on the first email to Jan), now it says fromDon, and I have to change it to Eva.
    Where is the mailbox drawer under Inbox? I have On my Mac,then the two names which became reversed without our doing so.
    But my question is: why does it change from Eva to Don simply by forwarding the same email to the same person originally sent to?
    IMac Intel, new in May 2006   Mac OS X (10.4.7)  

  • A little question about the WWDC 2006 and Macbook

    I was considering to buy my first Macbook, no, my first mac EVER these days, but after i heard of the WWDC 2006 i'm afraid to miss some new upgrades made on the Macbook when i buy it next week.
    But someone told me too, that even if there are Upgrades, i probably have to wait them to come to Europe for about 2 month - and thats much to long to wait for me cause i need it for work in the next four weeks !
    Hope you can say me whats to do
    Greetings
    Agent Darkbooty

    Thank you very much for your help
    But i've got still a question ..
    ..would you buy the macbook next week or would you wait untill the end of the conference ?
    Seems like there will only be software updates for the macbook

  • Two basic questions about locks in Oracle.

    Hello,
    This is about 9i and onwards.
    I need to develop a comprehensive analysis of locks and waits and while doing so, following questions popped up.
    1) What is the difference between locks and waits?
    2) There is a DBA view called DBA_BLOCKERS. The standard Oracle documentation has only one line comment about this view i.e. "DBA_BLOCKER – Shows non-waiting sessions holding locks being waited-on by other sessions.
    My question is : Why would a non waiting session hold locks after all? I guess that automatically repeats the question #1 from above, What is the difference between "being waited on" v/s "holding locks with wait" and "holding locks without waits"?
    Thanks,
    R

    1) What is the difference between locks and waits? Lock - something you queue up to get and simply wait until it is available
    Waits - Waiting for a Specific event to happen before it can proceed.
    Re: Difference between a latch and a lock
    2) There is a DBA view called DBA_BLOCKERS. The standard Oracle documentation has only one line comment about this view i.e. "DBA_BLOCKER – Shows non->waiting sessions holding locks being waited-on by other sessions.DBA_BLOCKERS displays a session if it is not waiting for a locked object but is holding a lock on an object for which another session is waiting.
    HTH
    -Anantha

  • Two quick questions about the new iMacs...

    I work at a church, and this summer, we are breaking ground on a new building. I am hoping to get a new iMac to go in the new sound booth to run the Power Point. Two questions:
    Would a church get a special discount when buying from Apple?
    Did I hear somewhere that the new iMacs support an external monitor (a different output than the main monitor)?
    Thanks!
    Matthew

    <<Would a church get a special discount when buying from Apple?
    Did I hear somewhere that the new iMacs support an external monitor (a different output than the main monitor)?>>
    I know Apple offers education and government discounts... I'm not aware of discounts for church organizations.
    Yes, the iMac CD offers support for dual monitors, mirrored and extended.

  • Two quick questions about Library after moving beginning on a new computer

    Hi there,
    I just moved from Windows to Mac, meaning I had to move my iTunes library from the old PC to my new MBA.
    Just a couple of quick questions.
    1. When I started iTunes on my new Mac, in the preferences I directed the media folder to the folder with all my itunes music/podcasts etc, and then I imported the Library XML file.  Is this incorrect? Should I have imported a different file? Should I have used the itl file instead? 
    If so, should I delete the library and start again?  (if this is the case, please suggest the best way of doing this without affecting my media)
    - a kind of sub-question to this one:  some of the media files arent showing up in the iTunes library, but they are in the media folder on the ext HDD.  Is there a way I can find out which ones havent been recognized by iTunes?  Whats the best way of getting them in to my library?
    2. Pretty much half of my podcasts have not been loaded in the new iTunes.  The ones that havent were ones that I subscribed to on my iPhone, whereas the ones that show up in iTunes were ones I downloaded from iTunes.  When I connect my iPhone and sync it with iTunes, will those podcasts show up in iTunes?  Or is there a risk that they will be deleted from my iPhone?
    Cheers,

    The .xml is lacking some information such as ratings, date added, and play count.  Using the .itl includes this information but cannot be imported using the method you did.
    A complete library is everything in the iTunes folder.  By using the method you did you left the artwork behind in the artwork folder on the other machine.
    Selecting the media folder in preferences does not get iTunes to recognize the media.  All it does is tell iTunes to start storing new media in that location.
    Using the method I outlined nothing will be missed (with the exception of WMA) because you aren't rebuilding your library, you are using the one that already exists.
    You don't have to re-copy everything as long as you get the stuff you missed and re-assemble it all as it was before except not on the Mac.
    What are the iTunes library files? - http://support.apple.com/kb/HT1660
    More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
    Where are my iTunes files located? - http://support.apple.com/kb/ht1391

  • A Little question about Pixel Aspect Ratio

    This doubt has been bugging me since I started edit HD formats.It's about pixel aspect ratio.
    Let's supose I have received some material in HD format,for instance.But I will deliver this material in another format, DV NTSC,for instance.
    The Pixel aspect ratio format of the material what I received and the way how I will deliver are different.What can I do to avoid this problem? Do I need to apply some plugin to solve this problem or when I export the final sequence Final Cut does this automatically?
    thank you

    The software takes care of it for you.
    As long as your conversion maintains the overall aspect ratio (ie 16:9), it is irrelevant what the individual pixels are doing.
    For example, if I convert DVCProHD 720p to ProRes 720p, it will look fine even though the DVCProHD started out with 960 pixels in the x dimension and the ProRes will have 1280.
    x

  • A little question about graphs

    Hello,
    I took an example which already exists in the Ni repertoire, and I modify it according to what I have need.
    My question is Dynamic Induction.vi excecute and stops after 3000seconds, I will want that if I click on the button "Stop", the tracing of the curves stops immediately. How do I have to make in this case? I thank you in advance.
    I send you the differents files.
    Attachments:
    Dynamic Induction Motor.zip ‏444 KB

    Hello,
    I thank you much for your assistance. I thus modified Dynamic InductionMOD.vi consequently.
    I have another question, how do I have to make to safeguard the curves posted in a file so that I can use them at the time of the next excécution of the VI?
    Another question, how do I have to make to just be able to copy some curves posted to put them for example in a written report of Word file?
    Is it possible to be able to print using a printer right a graph, for example a "Torque vs time" contained in the graphe1? How do I have to proceed?
    I send the new modified files to you
    I thank you in advance for your assistance.
    With soon!!
    Nadine
    Attachments:
    Dynamic Induction Motor.llb ‏896 KB

  • A little question about inheritance

    Can someone explain this to me?
    I have been reading about inheritance in Java. As I understand it when you extend a class, every method gets "copied" to the subclass. If this is so, how come this doesn't work?
    class inherit {
        int number;
        public inherit(){
            number = 0;
        public inherit(int n){
            number = n;
    class inherit2 extends inherit{
        public inherit2(int n, int p){
            number = n*p;
    class example{
        public static void main(String args[]){
            inherit2 obj = new inherit2();
    }What I try to do here is to extend the class inherit with inherit2. Now the obj Object is of inherit2 class and as such, it should inherit the constructor without parameters in the inherit class or shouldn't it ??? If not, then should I rewrite all the constructors which are the same and then add the new ones??

    I believe you were asking why SubClass doesn't have the "default" constructor... after all, shouldn't SubClass just have all the contents of SuperClass copy-pasted into it? Not exacly. ;)
    (code below... if you'd like, you can skip the first bit, start at the code, and work your way down... depending on if you just started, the next bit may confuse rather than help)
    Constructors are special... interfaces don't specify them, and subclasses don't inherit them. There are many cases where you may not want your subclass to display a constructor from it's superclass. I know this sounds like I'm saying "there are many cases where you won't want a subclass to act exactly like a superclass, and then some (extend their functionality)", but its not, because constructors aren't how an object acts, they're how an object gets created.
    As mlk said, the compiler will automatically create a default constructor, but not if there is already a constructor defined. So, unfortunatley for you, there wont be a default constructor made for SubClass that you could use to create it.
    class SuperClass { //formerly inherit
    int number;
    public SuperClass () { //default constructor
    number = 0;
    public SuperClass (int n) {
    number = n;
    class SubClass extends SuperClass { //formerly inherit2
    //DEFAULT CONSTRUCTOR, public SubClass() WILL NOT BE ADDED BY COMPILER
    public SubClass (int n, int p) {
    number = n*p;
    class Example {
    public static void main(String [] args) {
    //attempted use of default constructor
    //on a default constructorless subclass!
    SubClass testSubClass = new SubClass();
    If you're still at a loss, just remember: "Constructors aren't copy-pasted down from the superclass into the subclass!" and "Default constructors aren't added in if you add your own constructor in" :)
    To get it to work, you'd have to add the constructor you used in main to SubClass (like doopsterus did with inheritedClass), or use the constructor you defined in SubClass for when you make a new one in main:
    inherit2 obj = new inherit2(3,4);
    Hope that cleared things up further, if needed. By the way, you should consider naming your classes as a NounStartingWithACapital, and only methods as a verbStartingWithALowercase

Maybe you are looking for