Data recovery before the insert in the procedure

Hello
I'm new in plsql programming and I'd like to do a procedure. I have tables like the following table1:

| COL1 | COL2. COL3 | COL4 | COL5 | COL6 | COL7 |
| 600. 140. 2. 10. 1300 | 500 | 1.
| 600. 140. 2. 20. 1400 | 340. 4.
| 600. 140. 2. 15. 1400 | 230. 3.
| 600. 140. 2. 35. 1700 | 120. 2.
| 600. 150. 3. 10. 1300 | 166. 6.
| 600. 150. 3. 15. 1400 | 435. 5.

For the same COL1 and COL2/COL3, check out the selection of different values of COL4
For example, for COL1 = 600, COL2 = COL3/140 = 2 and COL2 = COL3/150 = 3
Return not common 20 and 35 as values


Then insert the rows in this table TABLE1
600, 150, 3, 20, 1400, 340, 7
600, 150, 3, 35, 1700, 120, 8


I'm doing the procedure as below but I have problem how to recover data in the insert statement

PROCEDURE COPY_COLUMNS  ( P_COL1        IN  A.COL1%TYPE,
                          P_FROM_COL2   IN  B.COL2%TYPE,
                          P_FROM_COL3   IN  B.COL3%TYPE,
                          P_TO_COL2     IN  B.COL2%TYPE,
                          P_TO_COL3     IN  B.COL3%TYPE,
                          P_FLG1        IN  VARCHAR2,
                          P_FLG2        IN  VARCHAR2,
                          P_FLG3        IN  VARCHAR2                                      
                                     ) IS

CURSOR CFL1 IS select COL4
    FROM TABLE1
    WHERE COL1 = P_COL1 AND COL2 = P_FROM_COL2 AND COL3 = P_FROM_COL3
    MINUS
    select COL4
    FROM TABLE1
    WHERE COL1 = P_COL1 AND COL2 = P_TO_COL2 AND COL3 = P_TO_COL3;


CURSOR CFL2 IS select COL4
    FROM TABLE2
    WHERE COL1 = P_COL1 AND COL2 = P_FROM_COL2 AND COL3 = P_FROM_COL3
    MINUS
    select COL4
    FROM TABLE2
    WHERE COL1 = P_COL1 AND COL2 = P_TO_COL2 AND COL3 = P_TO_COL3;


CURSOR CFL3 IS select COL4
    FROM TABLE3
    WHERE COL1 = P_COL1 AND COL2 = P_FROM_COL2 AND COL3 = P_FROM_COL3
    MINUS
    select COL4
    FROM TABLE3
    WHERE COL1 = P_COL1 AND COL2 = P_TO_COL2 AND COL3 = P_TO_COL3;  


V_REC        CFL1%ROWTYPE;


BEGIN


IF P_FLG1='N' OR P_FLG2='N' OR P_FLG3='N' THEN
    GOTO label; --do nothing
END IF;


IF P_FLG1 = 'Y' THEN

    OPEN CFL1;
    FETCH CFL1 INTO V_REC;
    CLOSE C1;

--    SELECT COL5, COL6
--    FROM TABLE1
--    WHERE COL1 = P_COL1 AND COL2 = P_FROM_COL2 AND COL3 = P_FROM_COL3 AND COL4 = V_REC.COL4;


    FOR REC IN CFL1 LOOP
        INSERT INTO TABLE1 
            SELECT P_COL1, P_TO_COL2, P_TO_COL3, CFL1.COL4, -- COL5 ?? , COL6 ?? -- , SEQname2.NEXTVAL) 


    END LOOP;

END IF;

<<label>>
END;

Could you help me please do so?
Thanks in advance

And if you want to insert the missing values COL4 both sense, use of full join, as I've already shown (slightly modified):

SQL > insert
2 in table1
3 values (600,150,3,70,1500,567,8)
4.

1 line of creation.

SQL > insert
2 in table1
3 values (600,150,3,90,1900,789,9)
4.

1 line of creation.

SQL > select *.
2 from table1
3.

COL1 COL2 COL3 COL4 COL5 COL6 COL7
---------- ---------- ---------- ---------- ---------- ---------- ----------
600 140 2 10 1300 500 1
600 140 2 20 1400 340 4
600 140 2 15 1400 230 3
600 140 2 35 1700 120 2
600 150 3 10 1300 166 6
600 150 3 15 1400 435 5
600 150 3 70 1500 567 8
600 150 3 90 1900 789 9

8 selected lines.

SQL > insert
2 in table1
3 with t1 as)
4 Select
5 from table1
6 where col1 =: P_COL1
7 and col2 =: P_FROM_COL2
8 and col3 =: P_FROM_COL3
9 and: P_FLG1 = 'Y '.
10              ),
11 t2 as)
12. Select *.
13 from table1
14 where col1 =: P_COL1
15 and col2 =: P_TO_COL2
16 and col3 =: P_TO_COL3
17 and: P_FLG1 = 'Y '.
18              )
19 select: P_COL1 col1,.
nvl2(t1.col4,:P_TO_COL2,:P_FROM_COL2) 20 col2,
nvl2(t1.col4,:P_TO_COL3,:P_FROM_COL3) 21 col3,
22 nvl (t1.col4, t2.col4) col4,
NULL, 23
NULL, 24
25 null
26 of t1
join full 27
28                t2
29 on t2.col4 = t1.col4
30 where the t1.col4 is null
31 or t2.col4 is null
32.

4 lines were created.

SQL > select *.
2 from table1
3.

COL1 COL2 COL3 COL4 COL5 COL6 COL7
---------- ---------- ---------- ---------- ---------- ---------- ----------
600 140 2 10 1300 500 1
600 140 2 20 1400 340 4
600 140 2 15 1400 230 3
600 140 2 35 1700 120 2
600 150 3 10 1300 166 6
600 150 3 15 1400 435 5
600 150 3 70 1500 567 8
600 150 3 90 1900 789 9
600 140 2 70
600 140 2 90
600 150 3 35

COL1 COL2 COL3 COL4 COL5 COL6 COL7
---------- ---------- ---------- ---------- ---------- ---------- ----------
600 150 3 20

12 selected lines.

SQL >

SY.

Tags: Database

Similar Questions

  • Data recovery when the files corrupted

    I am interested to understand if you can easily recover data if files logs damaged for some reason any. So far I do not see how this can be easily achieved db_backup requires a work environment, and because log files can have disappeared, the LSN of the file data will be higher than the last newspaper - and therefore refuse to create the environment.

    Ideally, I guess, I'm looking for a tool that can reset the LSN in place. It would be preferable to have access to your 100 GB of data and accept a small amount of data loss or inconsistency that have nothing.

    Thank you

    Hello

    NSE reset can be done using lsn-r db_load or by using the lsn_reset() method, and it is in place.

    If your log files are damaged, you will need to check the database files (you can use the BDB db_verify utility or the verify() method). The actions you take more depending on the result of checking the database files of:
    -If they check properly then you just reset the LSN and the ID file in data bases and start with a fresh environment.
    -If they don't check properly, you can restore the most recent backup data, or you can perform a dump of data recovery in database files using db_dump - r or r db_dump and reload the data using db_load. see doc Dumping and reloading databases in the Berkeley DB Programmer's reference Guide.

    Kind regards
    Andrei

  • Data block in the procedure and the Base Table

    Hello

    I hava a form with a block of master and detail. The fields in the Master block are

    Emp_name, DateOfJoin, salary... I created this block with the procedure with a Ref Cursor, becaue the user
    want to load the data based on the conditions it enter for example: DateOfJoin < = Sysdate and DateOfJoinn July 1, 2008 "."
    SO I created a block of control with the fields name, MiddleName, LastName, of DateOfJoin, in DateOfJoin, the salary, and when the user clicks on the data loading
    button, I load the data to block under these conditions using the procedure.
    Note that in the Emp_Name table if a field, but contain first name, middle name, and last name with a separate space.

    My needs is, is there any method to develop this master block with a database table, so that if the user want to select it
    data based on other conditions, it can enter directly into the block of data using Qry enter and run Qry, also if he wants to
    Select data based on the top-level asked the search criteria, it will click Load Data.
    I hope that in this case, when the user selected the Load data button, I need to change the data source to the Type of procedure and set the source of data on behalf of the procedure name.

    Is there any other easy solution flor this

    Thanks in advance

    not sure if I get your needs. I understand the following:
    You have a block based on table emp, containing a DateOfJoin column and the user should be able to enter into a 'complex' where denomination.

    To do this, you do not have to base block one a procedure or ref_cursor. Two possibilities:

    Add two fields more directly in the block that are non-base of data-objects of type date fixed query on yes and let the user to enter a date range in these columns. In the accumulation of PRE-QUERY-trigger a WHERE condition by using the value in this field:

    something like:

    DECLARE
      vcMin VARCHAR2(10):='01.01.1700';
      vcMax VARCHAR2(10):='01.01.2999';
    BEGIN
      IF :BLOCK.DATE_FROM_JOIN IS NOT NULL THEN
        vcMin:=TO_CHAR(:BLOCK.DATE_FROM_JOIN, 'DD.MM.YYYY');
      END IF;
      IF :BLOCK.DATE_TO_JOIN IS NOT NULL THEN
        vcMax:=TO_CHAR(:BLOCK.DATE_TO_JOIN, 'DD.MM.YYYY');
      END IF;
      SET_BLOCK_PROPERTY('BLOCK', ONETIME_WHERE, 'DATEOFJOIN BETWEEN TO_DATE(''' || vcMin || ''', ''DD.MM.YYYY'') AND TO_DATE(''' || vcMax || ''', ''DD.MM.YYYY'')');
    END;
    

    Another option:
    together, the length of the request of the DATEOFJOIN field to say 255, then the user can directly enter #BETWEEN fromdate AND fodate in the field.

  • Return max date records before the start date

    Hello

    Can anyone help please?

    I have two subqueries, a tableofchildren called, the other called tableofworkers. Tableofchildren identifies the date the child started a class.

    The second query, Tableofworkers, lists the workers and their history of involvement with the child. A child may have had a history with several workers. The worker has an allocatedstartdate indicating when they began to work with the child.

    For my purpose, I need to return the workername and the allocatedstartdate of the worker involved with the child more recently before or at the time when the child began the course.

    I have partially accomplished this with the query below. However, due to the quality of the data, the child may not always have an affected worker (allocatedstartdate) earlier or equal to the start date for the course of the child. In this case, the query fails and does not return the child record, that it excludes from the dataset.

    Can anyone suggest a way to modify this query, so it acts like a left outer query and returns all the records in the child and null raising where they have no worker allocated beginning before or on the date of start of course?

    Thank you! :)
    select *
     from
    (
    select tc.childid, 
    tc.childname, 
    tc.enteredcourse, 
    tw.workername, 
    tw.allocatedstartdate, 
    row_number() over ( partition by tc.childid, tc.enteredcourse order by tw.allocatedstartdate desc) rn
    from tableofchildren tc, tableofworkers tw
    where tc.childid = tw.childid(+)
    and tc.enteredcourse >= nvl(tw.allocatedstartdate,add_months(sysdate,-10000))
    )
    where rn = 1 
    desired output
    CHILDID CHILDNAME            ENTEREDCOURSEDATE         WORKERNAME           ALLOCATEDSTARTDATE        
    ------- -------------------- ------------------------- -------------------- ------------------------- 
    C1000   Johnny Rotten        01-APR-11                 Mrs Gerbil           19-AUG-10                 
    C1256   Doris Dingle         12-AUG-03                 Mrs Pepsi            12-AUG-03                 
    C3466   Bonny Boy            25-MAR-11                 Mrs Jones            23-FEB-11                 
    C4567   Casper Ghost         21-MAR-09                                                                
    C1245   Doris Dingle         20-NOV-06             
    create the table tableofchildren
    (ChildID varchar (6))
    ChildName varchar (20),
    Date of EnteredCourse,
    Date of LeftCourse);

    insert into tableofchildren (ChildName, EnteredCourse, ChildID, LeftCourse) values ("C1000", "Johnny Rotten', to_date (' 01/04/2011 ',' dd/mm/rrrr'), to_date (' 23/05/2011 ',' dd/mm/rrrr'));
    insert into tableofchildren (ChildName, EnteredCourse, ChildID, LeftCourse) values ('C1256', 'Doris Dingle', to_date (' 12/08/2003 ',' dd/mm/rrrr'), to_date (' 16/09/2005 ',' dd/mm/rrrr'));
    insert into tableofchildren (ChildName, EnteredCourse, ChildID, LeftCourse) values ('C3466","Bonny Boy', to_date (' 25/03/2011 ',' dd/mm/rrrr'), to_date (' 28/03/2011 ',' dd/mm/rrrr'));
    insert into tableofchildren (ChildName, EnteredCourse, ChildID, LeftCourse) values ('C4567', 'Ghost Casper', to_date (' 21/03/2009 ',' dd/mm/rrrr'), to_date('22/04/2010','dd/mm/rrrr'));
    insert into tableofchildren (ChildName, EnteredCourse, ChildID, LeftCourse) values ('C1245', 'Doris Dingle', to_date (' 20/11/2006 ',' dd/mm/rrrr'), to_date (' 30/12/2008 ',' dd/mm/rrrr'));


    create the table tableofworkers
    (WorkerID, varchar (6))
    WorkerName varchar (20),
    Date of AllocatedStartDate,
    Date of AllocatedEndDate,
    ChildID varchar (6));

    insert into tableofworkers (WorkerID, WorkerName, AllocatedStartDate, AllocatedEndDate, ChildID) values ('W3453', 'Ms. Whatever", to_date('12/05/2009','dd/mm/rrrr'), to_date ('2009-06-13', ' dd/mm/rrrr'),"C1000");
    insert into tableofworkers (WorkerID, WorkerName, AllocatedStartDate, AllocatedEndDate, ChildID) values ('W3442', 'Mr. Toad', to_date('14/07/2010','dd/mm/rrrr'), to_date (' 18/08/2010 ',' dd/mm/rrrr'), "C1000");
    insert into tableofworkers (WorkerID, WorkerName, AllocatedStartDate, AllocatedEndDate, ChildID) values ('W14592', "Mrs gerbil', to_date (' 08/19/2010 ',' dd/mm/rrrr'), NULL,"C1000");
    insert into tableofworkers (WorkerID, WorkerName, AllocatedStartDate, AllocatedEndDate, ChildID) values ('W3442', 'Ms. Pepsi", to_date('12/08/2003','dd/mm/rrrr'), to_date (' 22/04/2007 ',' dd/mm/rrrr'),"C1256");
    insert into tableofworkers (WorkerID, WorkerName, AllocatedStartDate, AllocatedEndDate, ChildID) values ('W3490', 'Mr. tomato' to_date('12/03/2008','dd/mm/rrrr'), to_date (' 04/30/2009 ',' dd/mm/rrrr'), "C3466");
    insert into tableofworkers (WorkerID, WorkerName, AllocatedStartDate, AllocatedEndDate, ChildID) values ('W3453', 'Ms. Whatever", to_date('01/06/2009','dd/mm/rrrr'), to_date ('2010-04-30', ' mm/dd/rrrr'),"C3466");
    insert into tableofworkers (WorkerID, WorkerName, AllocatedStartDate, AllocatedEndDate, ChildID) values ('W3457', "Mrs Jones", to_date('23/02/2011','dd/mm/rrrr'), null, "C3466");
    insert into tableofworkers (WorkerID, WorkerName, AllocatedStartDate, AllocatedEndDate, ChildID) values ('W3453', 'Ms. Jobsworth", to_date('22/11/2006','dd/mm/rrrr'), null, 'C1245');


    create the table OutputWanted
    (ChildID varchar (6))
    ChildName varchar (20),
    Date of EnteredCourseDate,
    WorkerName varchar (20),
    Date of AllocatedStartDate);

    insert into OutputWanted (ChildID ChildName, EnteredCourseDate, WorkerName, AllocatedStartDate) values ("C1000", "Johnny Rotten', to_date (' 01/04/2011 ',' dd/mm/rrrr'),"Mrs gerbil", to_date('19/08/2010','dd/mm/rrrr'));
    insert into OutputWanted (ChildID ChildName, EnteredCourseDate, WorkerName, AllocatedStartDate) values ('C1256', 'Doris Dingle', to_date (' 12/08/2003 ',' dd/mm/rrrr'), "Ms. Pepsi", to_date('12/08/2003','dd/mm/rrrr'));
    insert into OutputWanted (ChildID ChildName, EnteredCourseDate, WorkerName, AllocatedStartDate) values ('C3466","Bonny Boy', to_date (' 25/03/2011 ',' dd/mm/rrrr'), "Mrs. Jones", to_date('23/02/2011','dd/mm/rrrr'));
    insert into OutputWanted (ChildID ChildName, EnteredCourseDate, WorkerName, AllocatedStartDate) values ('C4567', 'Casper the ghost', to_date (' 21/03/2009 ',' dd/mm/rrrr'), null, null);
    insert into OutputWanted (ChildID ChildName, EnteredCourseDate, WorkerName, AllocatedStartDate) values ('C1245', 'Doris Dingle', to_date (' 20/11/2006 ',' dd/mm/rrrr'), null, null);

    Published by: little Penguin November 21, 2011 07:03

    What something like that?

    SELECT childid
         , childname
         , enteredcourse
         , workername
         , allocatedstartdate
    FROM
    (
         SELECT toc.childid
              , toc.childname
              , toc.enteredcourse
              , tow.workername
              , tow.allocatedstartdate
              , ROW_NUMBER() OVER (PARTITION BY toc.childid ORDER BY tow.allocatedstartdate DESC) AS rn
         FROM   tableofchildren   toc
         LEFT JOIN tableofworkers tow ON tow.childid = toc.childid
                         AND toc.enteredcourse >= tow.allocatedstartdate
    )
    WHERE rn = 1
    

    Just note that you need a different RANK and DENSE_RANK analytical ranking function if there is a chance that many workers could be attributed to the children on the same allocatedstartdate.

  • While loop with Date counter in the procedure

    Hi guys

    Please find below mention this procedure in which I got a loop that got to the counter to increment as variable date... I don't know what hurts me, but it does not work.

    Can you please help me in this.

    Concerning







    --------------------------------------------------------------------------------------------------
    MY procedure
    --------------------------------------------------------------------------------------------------
    create or replace
    PROCEDURE sp_createTimeDim
    (
    -declaring variables

    DT in January 1, 1999 in DEFAULT DATE dd-mm-yyyy '

    )
    AS
    BEGIN

    So WHAT DT < = 1 January 2010 ' LOOP
    INSERT INTO DateDim (ActualDate) VALUES (sp_createTimeDim.DT);
    / * increment the date by a day * /.

    DT: = DT + 1;


    END LOOP;
    COMMIT;
    END;

    Here is a procedure that serves as a wrapper for the insert statement that I posted:

    CREATE OR REPLACE PROCEDURE SP_CREATETIMEDIM
    (
         pStartDate     IN DATE
    )
    AS
         pEndDate     DATE := TO_DATE('01/01/2010','MM/DD/YYYY');
    BEGIN
         INSERT INTO DateDim(ActualDate)
         WITH date_range AS
         (
              SELECT      pStartDate + (LEVEL - 1) AS DT
              FROM     DUAL
              CONNECT BY LEVEL <= pEndDate - pStartDate + 1
         )
         SELECT     DT
         FROM     DATE_RANGE;
    
         COMMIT;
    END;
    /
    

    HTH!

  • Tree node in data recovery for the 1st node only for the 3 data blocks?

    Hello alllll

    I have 3 BLOCKS of DATA master / detail-detail; GL_TYPES - < GL_ACCOUNTS - < GL_COMPANIES

    The Rel attribute between 1 and 2 is
    GL_ACCOUNTS. TYPE_ID = GL_TYPES. TYPE_ID
    is between 2 & 3 ADR
    GL_COMPANIES. ACCOUNT_ID = GL_ACCOUNTS. Account_id
    I have also a Tree is recovering the data in blocks of data, the following code, used in the trigger WHEN-TREE-NŒUD-SELECTED and it works fine, but not for all nodes;
    the selected node displays the data for the first node only. Assets to say but if I chose to any other node it returns no data?

    you could any boady pls explain to me why what is happening?

    The following code is:
    -----------------------------
    DECLARE
                        
            htree ITEM;
            NODE_VALUE VARCHAR2(100);
    
     BEGIN
    
     IF :SYSTEM.TRIGGER_NODE_SELECTED = 'TRUE' THEN  
          
    -- Find the tree itself.
    
     htree := FIND_ITEM ('BL_TREE.IT_TREE');
     
    
      NODE_VALUE := FTREE.GET_TREE_NODE_PROPERTY( htree, :SYSTEM.TRIGGER_NODE ,  Ftree.NODE_VALUE );
      
    
      GO_BLOCK ('GL_ACCOUNTS'); 
        
       set_block_property('GL_ACCOUNTS', DEFAULT_WHERE, 'GL_ACCOUNTS.ACCOUNT_ID = '  || 
       ftree.get_tree_node_property('BL_TREE.IT_TREE', :SYSTEM.TRIGGER_NODE, FTREE.NODE_VALUE));
    
     EXECUTE_QUERY;
     
     END IF;
          
     END;
    
    
     
    Kind regards

    Abdetu...

    I would say there is nothing in relation to tree now. Because the tree is to give the appropriate value for the setting of the block where clause. Check the relationship and that the cursor goes to the block expected where the data must be retrieved. Like you said tree account id that the tree is from the correct values.

    -Clément

  • How to see the variable data in time debugging the procedure in Toad oracle 9.1

    Hi all

    I'm not able to see the data variable at the procedure of debugging in Toad oracle 9.1.
    Any help would be appreciated.



    Kind regards
    Prakash P

    Published by: prakash on May 30, 2011 01:37

    Published by: prakash on May 30, 2011 01:37

    Published by: prakash on May 30, 2011 01:37

    You might be aware toad is not a product of Oracle, so you need this post on the forums of quest, http://www.questsoftware.com

    ----------
    Sybrand Bakker
    Senior Oracle DBA

  • water rescue damaged phone before the appointment of engineering

    I dropped my iPhone 6s in accidentallly water and I have a genius bar appointments to come, most probably need a replacement phone. To back up my phone before going I'm because my phone is dead, I can't sync the phone with iTunes because it asks me to enter my password on the phone, what I can't. Is there another way to save or work around it?

    Thank you.

    No, there is nothing you can do. As is always the case when the worst happens, the time to make a backup to date was before the disaster. Subsequently, you are out of luck.

  • Execution of the procedure-

    Hello

    Could you tell me how to run a procedure that lies under different scheme serve in a schema to another without mentioning the name of schema before the procedure every time?


    Below is the code in the right way, say, if there are two schemas, test1 and test2 and I want the procedure in Test2 will run under the Test1 schema?

    Connect to test2 schema and grant permission to run for test1
    grant exec on test2.prc to test1; 

    create a public synonym for procedure... with execute privilege...

    so that you can use wth on the schema name.

  • Differences between POS and Vmware data recovery

    Hi, I wonder if vSphere5.1 has changed the name of recovering data vmware VMware Data Protection (WTP).

    I found that the download link illustrates the Vmware data recovery before vSphere5.0 and Vmware data protection after vSphere5.1.

    I think the same goes for Vmware recvoery data POS, but I want to confirm here.

    Hello

    You can find more information here: https://www.vmware.com/files/pdf/products/vsphere/VMware-vSphere-Data-Protection-Product-FAQ.pdf

    Replace protection data of vSphere VMware Data Recovery?

    Yes. vSphere Data Protection replaces the legacy VMware

    In vSphere data recovery function. vSphere Data Protection

    provides equivalent to VMware Data Recovery scalability with

    a stronger and more effective backup engine.

    Julien.

  • Seagate Barracuda 7200.11 failed drive and data recovery

    I own a HP Pavilion Media Center m8350f PC witch came with a 750 GB Seagate Barracuda 7200.11 internal hard drive model #ST3750630AS.  After about 3 months, the system didn't recognize the hard drive.  Having initially contacted HP tech support in December, they told me to send the PC to them for hard drive replacement.  They were unable to diagnose anything other that the drive had failed.  Yet I have to send it, because I know that the drive works, it's just that it is not recognized by my system.  I need a car access.  No replacement drive.

    I discovered recently, Seagate press release that they shipped a defective lot of readers with firmware.  In their initial press release, they stated:

    "We believe that the vast majority of customers are no disruption related to this issue, and that concerned readers can be used as is. But as part of our commitment to the satisfaction of the customer, Seagate offers a free upgrade of the firmware to respond proactively products likely to be affected. This new update fixes compatibility problems that have occurred with the download of the firmware provided on our Web site on 16 January. We regret any inconvenience that firmware problems have caused to our customers... " In the unlikely case where your drive is affected and you can not access your data, the data still resides on the disk and there is no data loss associated with this issue."

    Now that the real problem has been identified, what alternative support is available from HP at this topic?  HP will push their provider, Seagate, to extend this offer to the customers of HP?  Can HP unlock these discs?  The average consumer cannot ' of the Nations United-brick ' these readers with the new firmware and I guess, it's relatively easy for Seagate (i365) data recovery company to manage.

    Bottom line: based on my understanding of the problem, readers have not suffered loss of data, they are stuck in a 'busy' State and must be unlocked.  This is a critical point, because I believe that no one really cares to know if they get a new drive.  They want to only be able to access their data and awaken the drive is all it takes.

    My previous post was the original incorrect announcement of Seagate Barracuda chess.  The message I pasted was monitoring them upward.  The correct statement is below:

    "We offer free data recovery, because the drive information is not deleted. He's just made inaccessible by this suspect firmware,"spokesman of Seagate Michael Hall.

    Seagate said it has reissued the firmware originally proposed last Friday, saying: he has isolated the bug in the firmware in a "limited number of Barracuda 7200.11 hard drives with the SATA drives based on this platform of products, manufactured until December 2008. "In some circumstances, data on hard drives can become inaccessible to the user when the host system is powered on," Hall said.

    "Although we believe that the vast majority of customers are no disruption related to this issue, as part of our commitment to the satisfaction of the customer, Seagate offers a free upgrade of the firmware to respond proactively products likely to be affected", he added.

  • VMware data recovery high CPU, all backup IDLE tasks

    Hello

    Today, I noticed that data recovery is very active, but all my backup jobs are inactive.  According to the top in the VM data recovery:

    vDR.JPG

    The CPU seems busy, and all hearts across this ESXi host are fortification at 85%, with an average of 15%.  What could cause this?  I don't want just restart the virtual machine without understanding what is happening.

    I allocated 2 virtual processors and 2048 MB of mem for vDR.

    vDR version: 1.2.1.1616

    vSphere 4.1u1

    Thank you

    It could have been a check re-indexing, recover or integrity. If a re-indexing running backup jobs will not start. Validate through the logs of vDR.

  • Data recovery restore VMWare DR site

    We have a VMWare (Enterprise) of production environment I want backup several miles on a fiber attached DR site.  We run VMWare Data Recovery in the production environment, backup through the fiber on an EMC on the site of DR. My goal is to have a mirror of our production environment on the DR site where we can manually restore our VMS disaster.

    My question is - can I run say 'VMWare Essentials Plus' on the site of DR who understands "VMWare Data Recovery" and attach it to the backups of the production environment so I can restore backups of production on the DR site failure?  Is that how 'VMWare Data Recovery' works or can I only restore the original environment?

    To be able to restore the backup of the original ESX, you must have (in the DR site) a clone of the vCenter Server, cause, you must 'see' the ESX in the VDR plugin.

    But VDR plugin can also run on vSphere client connected to a single ESX, you can at least restore to another ESX.

    Are there problems?

    The big problem is what happen if you lose your data integrity VDR... can you lose all the restoration? Not a good scenario.

    So I suggest to have at least a second level of backup (perhaps only a month) in a "simple" format converter (for example) can handle. VCB or a simple export with Convert (or a clone of vCenter) could be a simple solution.

    Do not forget that there is also the solution of replication, both at the level of SAN (usually very explensive) and the virtual machine (for example, Veeam Backup or Vizioncore vReplicator) level.

    André

  • Getting error while inserting data from source to the target in the procedures?

    Hello

    I want to insert the data from the source to the target in the procedures, have the same schema.

    For this, I did as follows

    Command on the source:

    Technologies: oracle

    Schema: EDWHCMB

    Command:

    SELECT COMPANY_NAME, COMPANY_CODE OF

    EDWHCMB. DWT_COMAPNY

    Command on the target:

    Technologies: oracle

    Schema: EDWHCMB

    command:

    INSERT INTO EDWHCMB. TEMP

    VALUES)

    COMPANY_CODE,

    COMPANY_NAME)

    I have run the procudere then I got error as follows

    ODI-1228: SAMPLE1 (procedure) task fails on ORACLE EDWH connection target.

    Caused by: java.sql.BatchUpdateException: ORA-00984: column not allowed here.


    How to insert the data from the source to the target in the proceedings?

    Please send any document to this...

    Please help me.

    Thanks in advance,

    A.Kavya.

    Hi Bruno.

    If your tables are on the same schema then why do you use command on the source and the command on the target? You can simply do the following on the command on the target

    INSERT INTO EDWHCMB. TEMP

    SELECT COMPANY_NAME, COMPANY_CODE OF

    EDWHCMB. DWT_COMAPNY


    If you really want at all to use the command on the source and target both then I think you need to change the following code on your order on the target

    INSERT INTO EDWHCMB. TEMP

    VALUES)

    : COMPANY_CODE,.

    (: COMPANY_NAME)

    Hope your TEMP table has only these 2 columns.

    Thank you

    Ajay

  • Call the procedure to set the context before interactive report refreshes the data

    Hi guys,.

    I have a question mind an interactive report which takes the data in a view.

    The problem is that whenever I take the data from the database I need to define a context (user name and password) before running the query so the view will be taken into account the context and return only the lines that I have access.

    Everything works fine when I'm first loading of the page: I have first to define the context, then load all the data I need on the page, including the IR. But when I try to apply IR filters, or even don't go to the next page no data is returned. I believe this happens because the context is not defined before the execution of the query to load the data and I don't seem to find a way to put it.

    I tried to add a dynamic action on some events on IR (change, clicking, etc.) that executes the procedure to set the context, but without success - even if the event is raised, the report still doesn't return any data.

    Can someone help me with this issue please?

    Florin

    Use the attributes of application security Code PL/SQL of the initialization/cleanup of the database Session to do this: http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/bldr_attr.htm#HTMDB28929

Maybe you are looking for