ROWID in Raptor - Question

Hi,
Just a quick question. When I select the rowid from sqlplus, I get AAAF8AAAFAAAAGIAAA , however, when I select the same row from Raptor, I am getting this - oracle.sql.ROWID@cfd22a. Why is this difference? Is there any setting that I need to/can change in Raptor that would display the actual rowid as displayed in sqlplus? Just curious.
Thanks,
Magesh.

Yes, I noticed it too. But I am wondering why/what is it displaying as "ROWID" in the sql worksheet when we do F9. Also, is there a way to just copy one column's value to clip board from sql worksheet ? When I try to do this, it copies the entire row.
Thanks,
Magesh.

Similar Messages

  • Sorry but its another Raptor question..

    Hi all.
    Heres the deal. I currently have about 8GB of audio, about 5GB of pics and about 2GB of documents.
    At the moment I use DVDs to back up the above documents, but since the amount I need to back up is growing so quickly, Its taking longer and longer to orgnise and back up. I usually take between 1 and 2GB of pics when I go on holiday and my MP3/AAC collection is growing quickly.
    My question is this: Should I go for a Raptor 74GB hard disk and use that as my primary drive and the stock drive as a secondrey drive? or opt for an External hard drive like the Smartdisk crossfire?
    If I choose the raptor, is it difficult to transfer everything from the stock disk to the raptor? Will I need any additional software?
    Oh, and I should add. The disk on the IBook mentioned in my sig is full, so cant use that for back ups any more.
    Thanks alot.
    Powermac G5 2.3GHz, 1GB Ram, ATI Radeon 9650, Bluetooth KB and Mous   Mac OS X (10.4.4)   IBook 800MHz, 512MB ram, Mac OS X (10.3)

    It seems from your writing that your needs is for storage space, not speed, so I don't think the Raptor offers you anything particularly useful in real use.
    For less then the cost of a 74 GB Raptor (~$160 when not on sale), you can get a Maxtor MaxLine III 300 GB, with a 16 MB cache (~$130), that will provide over 4 times the amount of storage as the Raptor, and provide very close performance numbers to the Raptor.
    If I were adding an internal I'd go with the MaxLine III for very good performance, and much higher storage capacity.
    As for an external, those too are a good option for backup. I'm not familiar with the one you mentioned, so I'll leave it to others to provide suggestions about it.
    Tom N.

  • Another Raptor Question...

    Hello Everyone!
    Sorry for being a pain and asking this quesion once again. I did a search, but wasn't satisfied with the answers I got...
    The following:
    You can see my setup from my sig. What I have done so far is setup BIOS Native mode SATA & PATA enabled SATA P0/P1. Both SATA drives connected to ICH5. Installed XP pressed F6 installed the driver with the intel disk. Partitioned the Raptor 5GB & 30GB FAT32. The only bench I've done sofar is Sandra where I got 41MB/s. Which according to SiSoft Sandra is just as fast as a normal IDE HDD. 2 Raptors in RAID are quoted @ 144MB/s
    My question is if this is right or if I've done something wrong?
    Thx for your help

    thx for your input guys!!!  
    I ran bootvis & found the reason for the delay during startup! It was the USH hub. After disconnecting all my USB devices I am now back to a 14sec. startup!!!  
    But What is more important to me is the poor Raptor performance!!!
    I ran SiSoft Sandra again & here are my results:
    5GB (FAT32 default allocatoin) partion: 32MB/s
    30GB (FAT32 32k allocatoin) partion: 44MB/s
    Index: 2xRaid0 36,7GB Raptors 8MB Cache: 95MB/s
    This seems really slow to me for a 10.000rpm HDD. Can anyone tell me why this is the case?

  • Raptor Question

    Hi Everyone,
    As I mention in my earlier post on DVD spin noise, I've just upgraded to a MacPro 3ghz. I write music for a living and so I bought a Raptor 10,000 rpm drive (150 gigs). Frankly, I don't notice much of a difference at all in the speed from my older 500 gig drive. You would think that with an added 3,000 rpm to the drive it would be blazingly fast. I will also say that I have only about 10 gigs of space left so that might be a factor I don't know. I have another Raptor drive and I was wondering if I should set it up as a RAID configuration to give me more speed and space. Thanks for your help.

    Greetings John,
    So, just to be clear, I
    would run my System off of a regular drive,
    meanwhile, I would either run a singular Raptor drive
    or a RAID setup for just recording.
    Correct. Having a system and applications on one drive and recording to another will give you the best results.
    Ajanovitch, when
    you say you only have one project folder on it at a
    time, do you then move it to another drive when
    you're done recording?
    On the recording drive, I keep the current work. I score films, and depending on the number of cues, I may have more than one folder. Once I am done, I back up the project / folders to two different firewire drives (you can never have enough backups :)). After that, I erase the recording drive (Raptor) and prepare it for the next project.
    Also, I'm using Logic Pro
    7.2.3 and I was wondering what the optimal buffer
    sizes are when I set it up as you both have
    suggested?
    The I/O buffer depends on a several things, as you are probably aware (live or virtual instruments, number of tracks, etc.) I tend to stay in the middle with 256. I may drop down to 128 every now and then - especially lately with the MacPro. Nevertheless, when mixing, I tend to increase the buffer size to 512 and even higher.
    Do either of you have your recording
    software on the Raptor drive as well?
    No. I keep all applications on the system drive - that is the only place where you can install the apps. You can't install Logic on a drive that has no OS installed, and the recording drive does not need OS.
    One final
    question, I see that both of mention a Scratch drive.
    I'm not familiar with this term. Can you tell me what
    it's used for and how to set it up?
    Scratch drive is a drive that does not contain OS and it is used as a working drive for audio, video, photoshop, etc. It contains the files, rendered material, recorded audio, processed stuff, anything that you are currently working on/with. In our case, it is a recording drive. Once you are done with the project, you back up the work, erase the scratch (recording) drive and reuse it for another project.
    I hope this helps. Good luck and best wishes,
    H.

  • WD Raptor question..

    Hello,
    I am planning on picking up the new mac pro 8-core 2.8 tomorrow and I am thinking about getting a raptor for the boot drive.
    At Newegg there seems to be several models of Raptors, but not sure which is best and which one I should get it....does it matter? Looks like one is retail version and the other is OEM...
    Links here:
    http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=5000130640000014+103530091+1035507821&name=10%2c000RPM&SpeTabStoreType=0
    They have this at my local best buy:
    http://www.newegg.com/Product/Product.aspx?Item=N82E16822136035
    Are they all different?
    Thanks!

    I really like the Raptor, for boot drive, or where you want small and fast. The "X" was more a gimmick for gamers but with a clear cover so you could see inside and originally had different firmware than the regular model. I would stick to retail ADFD but that is me, and because I always end up wanting to RAID drives.
    Lots of people use the OEM just fine and not sure if there is any difference now... but why not check what
    http://www.wdc.com has to say under Enterprise -> Raptor.

  • Simple Raptor questions...

    I have been using Raptor for a few days now; using it as a 'replacement' for Toad; It looks very promising. I use it mainly for relatively simple queries and appreciating the GUI formatted output. As an Oracle employee I prefer our own dogfood, so am quite willing to leave Toad and move towards Raptor permanently. There are 2 things I currently miss in Raptor though; perhaps I overlooked something though:
    1. In Toad the dateformat by default shows as DD-MON_RRRR HH24:MI:SS. This is something I regularly use (e.g. for checking what record was created exactly when); whereas in Raptor I cannot set that format as a preference (having to specify to_char(<date> 'DD-MON_RRRR HH24:MI:SS'); Did I miss something or would this be an enhancement?
    2. Another nice simple feature that Toad offers is it runs the statement (shift-F9) that the cursor is on, wherever in the statement the cursor actually is - without selecting the entire statement. In Raptor (and most other similar tools) you have to select the statement and then run it. Any chance this can be enhanced like Toad?
    thx.
    Jos

    as mentioned in other threads I found in the meantime, I tried this:
    1.
    select parameter, value* from nls_session_parameters
    where parameter = 'NLS_DATE_FORMAT';
    PARAMETER VALUE
    NLS_DATE_FORMAT DD-MON-RR
    2. alter session set nls_date_format = 'HH24:MI';
    3. select parameter, value* from nls_session_parameters
    where parameter = 'NLS_DATE_FORMAT';
    PARAMETER VALUE
    NLS_DATE_FORMAT HH24:MI
    4. select sysdate from dual;
    SYSDATE
    2006-01-09
    --> it selects in RRRR-MM-DD regardless of the initial or altered value of NLS_DATE_FORMAT
    I suppose the RRRR-MM-DD is the Java date format - Raptor should override that as per the NLS settings (which I would prefer to set through start up preferences)

  • Question about 74GB Raptor and the ubiquitous "F6"

    Hey All,
        I just installed my raptor and Windows XP, then SP2, etc.  without any problems.  I didn't press F6 before the Windows install.  I'm rather disappointed with the speed of the Raptor given all the good reviews I've heard about its speed.  Everything works pretty well and Windows identifies the HD.  I've installed it on SATA3 in case I want to overclock.  Anyway, my question is:  Would reinstalling Windows but doing the whole "F6" SATA Driver install help to improve performance?
    Here's my speed test results from Device Manager:
    Theoretical Limit: 150
    Burst Speed: 113.4
    Sustained Speed: 71.3
    HD is listed as WDC WD740GD-00FLA2
    I have the nVidia nForce3 250 Parallel and Serial ATA Controller (v2.6) listed.  I have installed newest nForce Drivers.  Should I enable Command Queing?  Any BIOS options that would help?   Thanks!
    AMD Athlon 64 3500+  90nm Micron
    MSI K8N Neo2 Platinum
    WD Raptor 74GB
    ATI Radeon 9800 XT
    512 MB PC3200 Corsair at 2.5-3-3-6

    Anyone notice performance increase or decrease of their HD when using the nVidia IDE SW drivers?  particularly with a 74GB Raptor?  I've also heard of burner issues when installing the IDE SW but have not used my burner yet.

  • Question about Raptor drives

    I have a Mac Pro, obviously, and am considering using a Raptor drive for my boot drive.
    I am new to Raptor drives, so can someone explain a few of my questions so I can determine if it is worth my money and time?
    Basically, I am a photographer, shooting RAW, using Aperture and CS3. That is my main use of rthe computer. The files I shoot are from the Canon 1Ds Mark III and are huge (21 megapixel each).
    If I use a Raptor drive as my boot drive with my OS and apps on it, how will this affect my red write speed on my other 3 internal drives (which are all Seagate 1 terabytes).
    I also have an external RAID system for my ever growing library from Aperture as well. I shoot about 3 terabytes of images per year.
    Is a raptor drive going to help me? Or because I won't sroe much on the main boot drive, is this silly?
    Please, when explaining, or asking me for more information, try not to use TOO much tech speak. I know very little about this stuff.
    I am learning ...

    KevShootz wrote:
    Please, when explaining, or asking me for more information, try not to use TOO much tech speak. I know very little about this stuff.
    Then let me caution you against getting sucked into the speed-demon vortex. The minute you say Raptor, you immediately attract users who typically pay closer attention to their stop-watches than they do their retouching skills. Most don't even use Photoshop, which is why I recommend every photographer consult with MacGurus.com. The owners are photographers.
    My new MacPro is FAST, especially when compared to my G4 MDD. Would I notice the millisecond differences if I had a Raptor for boot? No. I don't own a stop-watch. I sold my Raptor on eBay.
    For photographers, memory seems to be the first key to speed. You may be better off budgeting for memory than trying to figure out how to put your OS safely on a Raptor so you can (not) see how much faster your system boots. Certainly, the more storage, the better. Be certain you understand the risks with RAID.
    MacGurus has some great literature for photographer workstations. Don't hesitate to give them a call and speak to Rick or Brian if you need detailed answers. They are one helpful business, probably the best resource for photographers in the marketplace.

  • 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.

  • Question about ROWID?????

    I use JDBC to execute the following SQL statement:
    SELECT line.SystemTrace
    FROM T_TransLine line,
    (SELECT tl.SystemTrace, tl.TerminalID
    FROM T_TransLine tl, T_InstituteData data, T_InstituteLine inst
    WHERE
         data.InstituteID = ? AND
         inst.InstituteID = ? AND
         tl.TransDate >= TO_DATE(? || '000000', 'YYYYMMDDHH24MISS') AND
         tl.TransDate <= TO_DATE(? || '235959', 'YYYYMMDDHH24MISS') AND
         SUBSTR(data.InstituteData, 1, 88) = inst.InstituteKey AND
         data.SystemTrace = tl.SystemTrace) v
    WHERE
         line.TransDate >= TO_DATE(? || '000000', 'YYYYMMDDHH24MISS') AND
         line.TransDate <= TO_DATE(? || '235959', 'YYYYMMDDHH24MISS') AND
         line.SystemTrace=v.SystemTrace(+) AND
         v.TerminalID IS NULL     
    this statement can execute in SQL-PLUS normally, bur in my JDBC program, it throws a Exception that told me the error code 918.
    so i open the trace debug of server, and transfer the trace file .TRC to a text file, it shows the upper statement changed like following:
    SELECT rowid, line.SystemTrace
    FROM T_TransLine line,
    (SELECT tl.SystemTrace, tl.TerminalID
    but why rowid is added? how can i do?
    my oracle version is : 9.2.1
    please help me! thanks
    Jack

    The JDBC driver needs to add a ROWID column to the query to be able to uniquely identify rows to allow things like scrollable and updatable ResultSets. This is perfectly normal behavior, though it normally doesn't cause this error.
    What version of the JDBC driver are you using?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Questions on Interactive Report Icons

    When I created an Interactive Report, rectangular icons have been automatically created on the left side of the report on every line.
    When clicked one of the icons, it displays the details of the line in vertical order.
    Here are my questions:
    1. When I've hidden some columns in the interactive report and clicked the icon, it does not display hidden column details. But I want to hide those columns only in the report but displays all details when the icon is clicked. How can I do this?
    2. How can I hide the icons?
    3. How can I use the icons not to display line details but to direct to an editable page to edit the same details?
    Thanks,
    Guy

    Hello
    1. When I've hidden some columns in the interactive report and clicked the icon, it does not display hidden column details. But I want to hide those columns only in the report but displays all details when the icon is clicked. How can I do this?You can create another region, or page that will show your row description by identifier or rowid. You can do this by changing Link Column type to "Link to Custom Target"
    2. How can I hide the icons?Go to Interactive Report -> Link Column -> Link Column change to (Exclude Link Column)
    3. How can I use the icons not to display line details but to direct to an editable page to edit the same details?The same as answer 1.
    Best Regards, Kostya Proskudin!

  • Question on optimum choice of index - whether to use CTXCAT or CONTEXT

    Hi ,
    I have a situation in which there are short texts that are to be searched for diacritical characters and for that I implemented CTXCAT type of index. The solution works fine except for left side wild card search - in that case I have suggested the developers to use the query template feature. -this is the background information for the question I have and following example demonstrates it:
    CREATE TABLE TEST_USER
      FIRST_NAME  VARCHAR2(64 CHAR)                 NOT NULL,
      LAST_NAME   VARCHAR2(64 CHAR)                 NOT NULL
    CREATE INDEX TEST_USER_IDX3 ON TEST_USER
    (FIRST_NAME)
    INDEXTYPE IS CTXSYS.CTXCAT
    PARAMETERS('LEXER cust_lexer');
    CREATE INDEX TEST_USER_IDX4 ON TEST_USER
    (LAST_NAME)
    INDEXTYPE IS CTXSYS.CTXCAT
    PARAMETERS('LEXER cust_lexer');
    Don't worry about the cust_lexer, it is for diacritical search and it is not relevant to this question so I am not copying the code for the preference I created etc.
    Now I have a row of data in the table with first_name column as Supervisor. If I run the below sql, it gives output:
    SELECT *
      FROM test_user
    WHERE catsearch (first_name, 'Supervisor', NULL) > 0;
    FIRST_NAME                     LAST_NAME
    Supervisor                     upervisor
    --even the below sql with wild card (*) at the end works fine...
    SQL> SELECT *
      2    FROM test_user
      3   WHERE catsearch (first_name, 'Super*', NULL) > 0;
    FIRST_NAME                     LAST_NAME
    Supervisor                     upervisor
    However the below sql queries doesn't give any output, though they should return the same row as above!
    SQL> SELECT *
      2    FROM test_user
      3   WHERE catsearch (first_name, '*visor', NULL) > 0;
    no rows selected
    SQL> SELECT *
      2    FROM test_user
      3   WHERE catsearch (first_name, '*vis*', NULL) > 0;
    no rows selected
    --Using query template as below solves the issue:
    select * from test_user
    where catsearch(first_name,
    '<query>
      <textquery grammar="context">
         %viso%
      </textquery>
    </query>','')>0
    FIRST_NAME                     LAST_NAME
    Supervisor                     upervisor
    Note that I verified the query execution plan and it uses the index and there is no Full Table Scan:
    | Id  | Operation                   | Name           | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |                |       |       |     9 (100)|          |
    |   1 |  TABLE ACCESS BY INDEX ROWID| TEST_USER      |   376 |    99K|     9   (0)| 00:00:01 |
    |*  2 |   DOMAIN INDEX              | TEST_USER_IDX3 |       |       |            |          |
    ---------------------------------------------------------------------------------------------- Up to the above , all details were by way of the back ground...now the question is - it is this the right choice? I am using context grammer using query template. There is another thread on this forum where an expert (Barbara) said that
    ". It should be better to use a context index than a ctxcat index with a query template that uses context grammar. " -this was said on this question link: Re: Wildcard Search
    So I am getting this doubt. However I have good data here that shows that the query doesn't do full table scan - still is it a bad choice? Note that there are several issues with CONTENT type of indexes( as per my limited understanding) - because they are not transactional in nature and so we have to take extra steps/measures to have the indexes updated which seems like a major pain area to me.
    My doubt is , did I do the right thing by using query template or should I use the CONTEXT type of index instead of CTXCAT type of index?
    Thanks,
    Nirav
    Edited by: orausern on Jan 17, 2013 1:40 AM
    Edited by: orausern on Jan 17, 2013 1:43 AM

    I would just like to add a few comments.
    Alhough it is documented that the ctxcxat index and catsearch do not support a wildcard in front of the term, a workaround is to use two asterisks on the left side of the term, as demonstrated below. I provide this only for clarification and interesting trivia. I would still use a context index for various reasons.
    SCOTT@orcl_11gR2> CREATE TABLE TEST_USER
      2    (FIRST_NAME  VARCHAR2(64 CHAR))
      3  /
    Table created.
    SCOTT@orcl_11gR2> INSERT INTO test_user VALUES ('Supervisor')
      2  /
    1 row created.
    SCOTT@orcl_11gR2> CREATE INDEX TEST_USER_IDX
      2  ON TEST_USER (FIRST_NAME)
      3  INDEXTYPE IS CTXSYS.CTXCAT
      4  /
    Index created.
    SCOTT@orcl_11gR2> SET AUTOTRACE ON EXPLAIN
    SCOTT@orcl_11gR2> SELECT * FROM test_user
      2  WHERE  catsearch (first_name, '**vis*', NULL) > 0
      3  /
    FIRST_NAME
    Supervisor
    1 row selected.
    Execution Plan
    Plan hash value: 4046491764
    | Id  | Operation                   | Name          | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |               |     1 |   142 |     3   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| TEST_USER     |     1 |   142 |     3   (0)| 00:00:01 |
    |*  2 |   DOMAIN INDEX              | TEST_USER_IDX |       |       |            |          |
    Predicate Information (identified by operation id):
       2 - access("CTXSYS"."CATSEARCH"("FIRST_NAME",'**vis*',NULL)>0)
    Note
       - dynamic sampling used for this statement (level=2)
    SCOTT@orcl_11gR2>The only time that I am aware of that there is a conflict between a wordlist and a lexer is when you specify stemming in both. If you are using stemming, you can still use both a wordlist and a lexer, but only set the stemmer attribute in the wordlist, not the index_stems attribute in the lexer.

  • How do I use WD Raptor for OS/Apps drive and RAID 0 for Home/Data drive

    So far I have configured my machine with a WD Raptor 74GB as the startup disk, and created a RAID 0 with the Seagate 250 GB drive (shipped with the machine) and a 250GB partion of a WDC 320GB drive. All drives were zeroed and I used the install disks to load Tiger on the Raptor. I backed up to a LaCie D2 1TB external hard drive with LaCie's Silverkeeeper.
    I would like to use the WD Raptor as startup/apps/scratch disk and the RAID 0 for the user folders and other data. I would then like to create a RAID 1 with the RAID 0 and a 500GB partion of the LaCie 1TB external.
    I have learned however that what I would like and what I can have are not always compatible.
    My questions:
    Is the Silverkeeper backup sufficent, or should I have cloned my previous system?
    What folders should accompany the application folder on the Raptor? So far I have only put the app folder there and nothing works. I suspect things like 'application support' should be there as well.
    Is there a way to keep my home folder on the RAID 0 without using Terminal or spending too much time as the root user? I tried copying my home folder onto to the RAID 0 and putting an alias in the user account I had to create while installing the OS on the Raptor. This kind of works but is not a particularly elegant solution.
    I would appreciate any advice on how to proceed or if the proposed configuration is even achievable.

    Photoshop files of 1GB+ can eat up memory and scratch. And the more drives for scratch, the better.
    Some of the limitations are with the bus, bandwidth, and 'swapping' code in and out of different cores that is inefficient.
    Compilers can do some, but from the time new hardware (8 cores) to seeing improvements to compiler, and out to software (applications) and OS, can take a year or more but provide in the neighborhood sometimes of 40%. In which time, newer designs will change the equation. Caching and VM will improve with Leopard, but beyond that...?
    So... back to "read world" IF you are in the habit of working with 1-2GB images, then a pair of Raptors for boot is helpful, AND 8GB and more of RAM, AND 4-8 drives for scratch. (Think of those Sonnet Port Multiplier controllers and Fusion 500 style case for 5 drives on one port).
    If you work with files smaller than 500MB range, your needs are cut way down.
    150GB Raptor boot drive. Small. subtract 25% for minimum free space, 140GB formatted, kind of tight for some. But it handles 60% well.
    The outer 30% of 465GB (RE2) is also fast and good performance. I partition large boot drives to keep the OS and apps contained in the outer 1/3.
    Mac Pro Memory Usage and Performance
    If your work flow means doing more than one thing at a time on your Mac Pro, then you will see significant gains if you spend extra to get the 8-core version. Our Photoshop CS3 actions were completed 39% faster on the 8-core when we had 3 other apps busy crunching. This advantage emerges in spite of the memory bus limitations of the 8-core Mac Pro.
    http://www.barefeats.com/octopro3.html
    CS3: Justifying 8-Cores
    http://www.barefeats.com/octopro4.html
    Pshop Test G5 Quad 16GB Raptor RAID
    Photoshop and multi-core
    http://blogs.adobe.com/scottbyer/
    Mac Pro 2GHz 4GB 10K Raptor 23" Cinema   Mac OS X (10.4.9)   WD RE RAID Aaxeon FW800 PCIe MDD-G4 APC RS1500 Vista

  • How to get the ROWID in a Trigger?

    On Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit when I try below script I always get the same Rowid as "AAAAAAAAAAAAAAAAAA". Is this normal?
    Thank you.
    create table testrowid (a number );
    create or replace trigger testrowidbins
    before insert on testrowid for each row
    begin
    dbms_output.put_line( 'Rowid:= ' || :new.rowid );
    end;
    set serveroutput on
    insert into testrowid values( 1 );
    insert into testrowid values( 2 );
    insert into testrowid values( 3 );
    rollback ;
    insert into testrowid values( 1 );
    insert into testrowid values( 2 );
    insert into testrowid values( 3 );
    commit ;
    insert into testrowid values( 1 );
    insert into testrowid values( 2 );
    insert into testrowid values( 3 );
    rollback ;

    Well, it was more of a rhetorical question.
    Rowid is the physical location of a row in a table. During the execution of a BEFORE trigger, the row has not yet been placed in the table hence the 'AAAAA' rowid.
    During your AFTER trigger, the row exists in the table and therefore has a normal rowid.

  • SQL question- on how to handle groups of records at a time.

    Hi,
    I have a sql that looks like the following:
    insert into INVALID_DATES_TMP
    (id, gid, created, t_rowid, updated)
    select id, gid, created, rowid, updated
    from TABLE1
    where fix_invalid_date_pkg.is_date_invalid('TABLE1', 'CREATED', ROWID) = 'Y';
    COMMIT;
    What the above sql does is selects all rows from TABLE1 where the CREATED column
    has invalid dates and inserts them into invalid_dates_tmp table. So we can process/fix
    those invalid dates from the temp table. Problem is our DBA said Table1 can have
    millions of rows so the above sql can be very database intensive. So, I need to
    figure out another way that may handle chunks of rows at a time from table1.
    Any ideas are appreciated!
    ThankYou,
    Radhika.

    Hallo,
    in general INSERT AS SELECT is the fastest method to insert into the table.
    Probably you can use direct load ? (Hint APPEND).
    Other options (INSERT IN LOOP or BULK + FORALL) are slower.
    I think, this method is optimal.
    Another question is, the function itself. It is not clear, whether it searches the invalid dates optimal. I suppose strong, that function uses dynamic SQL.
    Why ? It is better to search static . Or you use this function for many other columns ? Could you post the function also ?
    Regards
    Dmytro

Maybe you are looking for

  • Internal Hard Drives Disappeared, Finder Memory Problem

    Hello Helpful Folks, I recently installed an addional internal Hard Drive, and an additional 1GB SDRAM. This worked great for a day, but the next morning, after powering up, system was extremely sluggish, and after much deadline-induced impatient pro

  • How can I transfer apps from my iphone to my computer?

    Our laptop died the other day, so we needed to reload everything from scratch. I've successfully synched up my mail, calendar and contacts, but can't figure out how to get all of my purchased apps to show up on my computer. The only option I can see

  • How do I add an event in Calendar for weekdays only?

    On my iphone, which I use to remind me to take pills, I would like to use different times for weekdays and weekends. AND, I want the alert at the same time, no matter what time zone I am in. How do I do that?

  • Adobe Premiere Pro Keeps Crashing

    Hello, I could really use some help here. I have Adobe CC with an up to date Premiere Pro CC. I'm using a late 2012 Mac mini OS X 10.9.3. I synced two videos using PluralEyes 3 (I've heard you can do the same thing with Premiere now), and when I'm ed

  • Correlation in bpm - Difference between activating and using correlation

    Hi    I would like to know the difference between between activating a correaltion and using a correlation in a step.