Extract the data from the ReadyNAS Duo 3 to disk?

Hello

I have a ReadyNAS Duo chassis crashed with two drives of 3 TB in it. Both discs seem to work very well.

How can I do to retrieve the data from disks of theses? they were in a RAID 1 configuration, so I guess I just need to extract one of the disks. Does it matter which drive is it?

I started to connect one of the disks to an installation of Ubuntu and I can find from the disc with respect to the available partitions, but I get no info on the file system used, only that it is flagged as RAID.

Because I don't want ot destroy all the data I was very careful when working with the partitioning tool. So far, I've installed and looked parted, gparted, gdisk and a few others.

Since I'm really new to Linux, I need more detailed assistance with indicators to be used to access the drive.

Any input is highly appreciated.

Christoffer

Look at this: http://kb.netgear.com/app/answers/detail/a_id/29961?utm_source=community&utm_medium=announcement&utm...

Tags: Netgear

Similar Questions

  • DV7 - 7333cl: how to extract usable data from a bad drive using 22 pins adapter usb to SATA on the new HD

    Greetings HP Forum,

    Recently, I replaced a bad hard drive on my laptop. I need now step by step procedure to extract usable data from the wrong drive using 22 pins adapter usb to SATA on the new HD.

    NOTE: I can't not all data that especially if some of the software downloaded on the replaced disk can be altered. Should I first download Internet Antivirus to protect my new hard drive? I'm not an expert, or even close to this when you work on the back of the laptop, so I'll have to step by step how to download and to partition the data recoverable and software, etc..

    Thanks in advance for your help... I greatly appreciate it!

    See you soon!

    Wes

    It is not complex. Attach the drive to the adapter and connect it to any other computer with good antivirus and antispyware installed. I use Malwarebytes and Avast. When you connect the adapter with the drive connected to the usb port, the drive will appear and it will be assigned a letter maybe E:\ or F:\ or something else. Immediately, he analyzes with the antivirus and anti-spyware. Quarantine or delete any virus or malware it finds. Then, it's just a matter of navigate the disk and copy and paste the contents of the host computer in a directory for this purpose. Obviously, you can copy from documents word, photos, music files, but you cannot copy the applications like Microsoft Word, iTunes. Photoshop.  You may need to take ownership of the files on the old hard drive, but Windows will guide you through this. Don't know what else I can answer.

  • Hi, after all stages of extraction of data from oracle to oracle during the execution of command "start extract ext1" his error giving the Manager does not work, can you please help me. Thank you

    Hi, after all stages of extraction of data from oracle to oracle during the execution of command "start extract ext1" his error giving this handler does not run both source and target, can you please help me. Thank you

    Hello

    The setting should be as below, and not only the port number should be...

    PORT 7809

    Kind regards

    Veera

  • Extraction of data from the xmlclob attribute

    Hi all

    I am trying to extract the value of the attribute below clob.

    kindly advice how to retrieve the value by using the xml functions.

    I use version 11.2.0 and toad 9 oracle database.

    I've highlighted the comment tag. the highlighted, I need to recover ' time changed according to the dtd VSG mail 25/01/2013 14:27.» SVK, & #xD; & #xA; Recipient added by mail from Richard dtd 20/02/2013 09:45. SVK" of the value attribute.

    Please suggest how to achieve using SQL. Data stored in xml format in the clob column.



    <? XML version = "1.0"? >

    " < ValuationRequest xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "container =" " http://www.w3.org/2001/XMLSchema "ValueID ="169821"Version ="2.6" "

    " xmlns =" http://XBank.FxVals/ProcessValuationRequest.xsd "Status ="AC"> "

    < ValueID '5' = ClientRelationShipType > < / ClientRelationShipType >

    < ValueID owner = '14539"Name ="JEREMY LEVINE"> < / owner >

    < ValueID customer = "6892067" Name = "XXXXXXXXXX, NEW YORK" > < / customer >

    < ValueID = "1" CMVRegion > < / CMVRegion >

    < ValueID = "1" ValuationTypeID > < / ValuationTypeID >

    < CSRContacts >

    < CSRContact Value = "917" Name = "EVALUATIONS NY[valuations.ny@gmail... com]' > < / CSRContact >

    < / CSRContacts >

    < title >

    < ValueID security = PrimaryID "900158" = "NY-518362" ItemLevel = '2' ItemType = "38" >

    "< rank EffectiveDate =" "2013-01 - 24 T 00: 00:00 ' TerminationDate = ' 0001-01 - 01 T 00: 00:00" comments = "" SecurityDetailID = "429190" > < / row >

    < / security >

    < ValueID security = PrimaryID "900158" = "NY-518362" ItemLevel = '1' ItemType = "38" >

    "< rank EffectiveDate =" "2013-01 - 24 T 00: 00:00 ' TerminationDate = ' 0001-01 - 01 T 00: 00:00" comments = "" SecurityDetailID = "429191" > < / row >

    < / security >

    < / securities >

    < created Value = "2013-01 - 24 T 12: 20:48" > < / creation >

    < ValueID '37126' = CreatedBy > < / CreatedBy >

    < LastModified Value = "2013-02 - 21 T 01: 56:00" > < / LastModified >

    < ValueID = '18732' LastModifiedBy > < / LastModifiedBy >

    < ReportDefinition ValueID = "1" > < / ReportDefinition >

    < StartDate = value "2013-01 - 24 T 12: 00:00" > < / StartDate >

    <Comment Value = "time changed according to the dtd VSG mail 25/01/2013 14:27." SVK, & #xD; & #xA; Recipient added by mail from Richard dtd 20/02/2013 09:45. SVK">< / comment >

    < ValueID = "100" PricePercentage > < / PricePercentage >

    < ISDSL Value = "F" > < / ISDSL >

    < ValueID effects = '0' > < / Effects >

    < WorkFlowAction >

    ActiveChangesApproved < action > < / Action >

    < / WorkFlowAction >

    < ValueID = "4" RecertificationFrequency > < / RecertificationFrequency >

    < RecertificationDate Value = "0001-01 - 01 T 00: 00:00" > < / RecertificationDate > "".

    < RecertificationNextDate Value = 'January 24, 2014' > < / RecertificationNextDate >

    < StatementFrequency >

    < SFrequency Value = '1' Type = 'Daily' date limit indicator = "1005" = "F" PDeadline = '990' > < / SFrequency > "

    < / StatementFrequency >

    < value AutoGenerate = "T" > < / AutoGenerate >

    < monetary value = "Us $" > < / currency >

    < SLanguage ValueID = "1" > < / SLanguage >

    < GP2AccountID Value = "480352" > < / GP2AccountID >

    < SalesApproval Value = "F" > < / SalesApproval >

    < RegenerateAfterPartial Value = "F" > < / RegenerateAfterPartial >

    < SalesCoverageTeam >

    < = 'Sales' sales type Value = "14539" NotificationFlag = "N" name ="JEREMY LEVINE [[email protected]]" > < / sales > "

    < / SalesCoverageTeam >

    < OffSystem Value = "F" > < / OffSystem >

    < HolidayCalendar >

    < country value = 'US' > < / country >

    < / HolidayCalendar >

    < GP2AccountStatus Value = "P" > < / GP2AccountStatus >

    < CurrencySecondary / >

    < GP2ParentID Value = '16649' > < / GP2ParentID >

    < StatementPerspective Value = "D" > < / StatementPerspective >

    < DBEntity ValueID = "2" > < / DBEntity >

    < ValueID DisplayClientName = "6892067" Name = "XXXXXXX, NEW YORK" > < / DisplayClientName >

    < FXRates >

    < FXRate >

    < of Value = "EUR" > < / From >

    < value = "Us $" > < /pour >

    < / FXRate >

    < / FXRates >

    < ShowFXRates Value = "T" > < / ShowFXRates >

    < OfficialMTMs Value = "F" > < / OfficialMTMs >

    < ExcludeStructuredTrades Value = "F" > < / ExcludeStructuredTrades >

    < ValueID = "1" DisclaimerID > < / DisclaimerID >

    < TradeRisk Value = "F" > < / TradeRisk >

    < MTMsInTradeCurrency Value = "F" > < / MTMsInTradeCurrency >

    < / ValuationRequest >

    Thanks in advance.

    with t as)

    Select xmltype (')

    http://www.w3.org/2001/XMLSchema-instance"container ="http://www.w3.org/2001/XMLSchema"ValueID ="169821"Version ="2.6"xmlns ="http://XBank.FxVals/ProcessValuationRequest.xsd"Status ="AC">

    ActiveChangesApproved

    [email protected]]">

    ') double x

    )

    Select comment_text

    t,.

    XMLTable)

    XmlNamespaces (default 'http://XBank.FxVals/ProcessValuationRequest.xsd'),

    «ValuationRequest / / comment»

    go x

    columns

    comment_text varchar2 (200) path "@Value"

    )

    /

    COMMENT_TEXT
    --------------------------------------------------------------------------------------------------------------------------------------
    Time changed according to the dtd VSG mail 25/01/2013 14:27. Beneficiary SVK added according to mail from Richard dtd 20/02/2013 09:45. SVK

    SQL >

    SY.

  • The ReadyNAS Duo RND2000 Player update

    I'm looking to replace the disks and increase the capacity of my ReadyNAS Duo RND2000. The unit itself has been reliable, especially after plug it into a UPS

    Currently, I have Seagate Barracuda 2x1To (ST31000520AS) disks and they were fine, I just need more space.
    One aspect I'm not sure and would appreciate some thoughts on, is the importance of Rotation Vibration pland, as do not opt for that opens up to the top of the range of compatible hard drives. One who looks good value / price is the WD Caviar Green WD20EARX.

    I would appreciate any thoughts/suggestions, including those based on the first hand experience of go 2 TB and this chassis

    Thank you!

    I have several duets. Recently, I upped to 2x1To (X-raided) to 2 x 2 TB. It was a very easy process, but take a few days.

    I use these drives "Seagate Barracuda 3.5 inch 2 to 7200 tr / MIN 64 MB 6 Gbps SATA drive internal" (from Amazon.co.uk)

    -(http://www.amazon.co.uk/Seagate-Barracuda-inch-Internal-Drive/dp/B006H32Q3S/ref=sr_1_1?s=computers&i...

    (Don't say that these discs are good for you, but they are what I have had success with - YMMV).

    The upgrade is easy:

    1. turn the power off and replace the disk 2 with a new 2 TB drive.

    2. turn on and let the RAID unraveling.

    3. Repeat steps 1 & 2 for 1 disc.

    4. when the RAID is all sorted out, restart again to have the X-RAID volume up to 2 TB.

    5. work!

    It is very simple but it takes days and as you probably already know, make sure you have a backup of ALL your data before you start.

    Good luck

    Ian

  • Convert the ReadyNAS Duo v2 in JBOD

    Hello

    I have this old v2 of ReadyNAS Duo with two 1 TB drives that runs X-RAID.

    My system has changed and I no longer need RAID.

    Question:

    Is it possible, to convert the option X-Raid JBOD, which would be much more convenient for me...?

    Thank you very much in advance.

    Best regards

    Lody Claessen J.

    Sorry Mdgm...

    I totally forgot the fact, that the latest proposals just well you... apologies for this...

    As I said before... I'm getting really old... grin...

    In any case, I am also grateful for your help on this. !!

    Very cordially,

    Lody Claessen J.

  • Extraction of data from two tables without discounting

    Hi friends,

    I have a problem I want to extract data from two tables without discount in the text field when I will enter any value in a text field, then the value of corressponding must come to textfield corressponding.

    for example. There are two table A and B.
    Table A has Colunm

    S_ID number;
    C_ID Varchar2 (30);
    VARCHAR2 (4) s;

    Second table B Colunm name

    S_ID number;
    What varchar (30);
    L_Name varchar (20);

    When I enter in a text field then the c_id 101 s_id, dry, first_name and last_name should come to corressponding text without refresh fields.

    How can I do that.

    Thank you
    Maury

    You can use Ajax and there are tons of good examples out there for this purpose;
    For example [http://apex.oracle.com/pls/otn/f?p=31517:236:1876567353842241]

  • Insertion and extraction of data from a database by USING SQL Developer al32UTF8

    Hi guys,.

    Before I post my questions, I think it's better for me to give you guys my first understandings so that it is easier to understand where / if I have gone wrong...

    I use Windows XP and Oracle 10 g
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Non-unicode client - a client program that needs to use the code page of the operating system for the mapping of unicode data retrieved from the database as well as the support to display/insert characters from the code page to the database.
    For example sqlplusw.exe

    Therefore, when you use a non-unicode client

    (1) we define the code page of the OS (Control Panel - regional and language of the parameter - advance - the language for non-unicode programs) to the code page that contain the characters that we will view/insert.

    (2) we also defined the NLS_LANG characterset on the character set of code page, that we'll insert so that when we do an insert (for example in thai), oracle will and automatic conversion to Unicode can take place. This is also true when recover us the database unicode data so that the correct character set conversion can take place.

    INSERTION OF
    THAI->-> UNICODE conversion

    RECOVERY OF
    THAI <-conversion <-UNICODE

    I hope that my basic understanding is correct up to this point.
    ---------------------------------------------------------------------------------------------------------------

    Unicode client - a client program that supports display/inserting unicode characters without the need to set the code page of the operating system (Control Panel - regional and language setting - control - language for non-unicode programs advance)
    For example isqlplus http or SQL Developer

    However,.

    (1) there are still set the NLS_LANG so that the correct conversion can take place between the client and the database.
    For example, when the recovery if we set NLS_LANG value ZHS16GBK (Chinese) character and store data in Unicode in the database is for example (THAI), then the conversion would be a mistake.
    It's a supported unicode client, then the NLS_LANG character set should be set to UNICODE as well.

    ---------------------------------------------------------------------------------------------------------------------------

    Those are my questions
    * Important - please help if you're busy and don't have the time to answer the remaining questions

    (* Q1) if I had to use a unicode client, what should I put my character NLS_LANG set?
    AMERICAN_AMERICA. UTF8?

    (* T2) where can I put the NLS_LANG information of character in SQL Developer, I know there is a metalink for setting NLS_LANG using isqlplus but I cant seem to google each led for SQL developer.

    Q3) is my basic understanding of up to this point? If no, please explain in a term more widespread that I'm really not familiar with character sets code page, unicode and fonts, glyphs...

    A unicode client (Q4) didn't need to refer to the OS codepage (regional and language updates), y at - it a code page UNICODE for the customer to refer to, or is there an available window API?

    Q5)
    , there are still set the NLS_LANG so that the correct conversion can take place between the customer and the > > database.
    For example, when recovery if we set NLS_LANG value ZHS16GBK (Chinese) character and the data store in > > unicode in the database is for example (THAI), then the conversion would be erroneous.
    I'm just on this point for customer UNICODE supported?
    --------------------------------------------------------------------------------------------------------------------------

    Thank you for spending the time to read my questions and I hope to hear soon tips from you guys.
    Million thanks again for sharing.

    Best regards
    Noob, but eager to learn

    The requirement to always set NLS_LANG is not true for JDBC, which ignores the NLS_LANG altogether. Java programs extract the textual data in string variables, which uses Unicode UTF-16 by design. JDBC defines the conversion of character sets so that data is converted between UTF - 16 and the database or the national character set.

    The obligation to set NLS_LANG is not generally true for the OIC, either. The first call to a problem of the BEAK may be OCIEnvNlsCreate(). This call has two parameters that allow the caller to set the character set to use for the text of VARCHAR2/TANK/LONG/CLOB/statement and the character set to be used for NCHAR/NVARCHAR2/NCLOB. Only if these character sets is specified as 0, character set NLS_LANG is used. Also, the OIC programs can specify different character for each binding sets or set the variable (i.e. the buffer input/output). Note: The OIC programs always use NLS_LANG to initialize the language settings and the territory for the client program and the database session. Only the character set can be specified is OCIEnvNlsCreate().

    OCIEnvNlsCreate() can specify the client character set to UTF-16 (platform boutien) format. This is not possible with NLS_LANG.

    Various interfaces based on the BEAK, such as ODBC Oracle and .NET for the ODP, explicitly initialize OCI with character set Unicode and therefore ignore the NLS_LANG character set as well.

    Thnx,
    Sergiusz

  • Extraction of data from MS SQL .bak file

    Hi all

    I received a MS SQL .bak file and need to extract the data into it, what should I do to achieve this?

    In addition, what is a bak file? It's a backup for a database file? I remember that I read somewhere that backup database has several different method (for example, the differential backup, the full backup), which will affect the restoration?

    Thank you

    Lee

    Hi Lee

    Your best resource for information is the Forum dedicated to suppoeting SQL.

    Category of the SQL Server:

    http://social.msdn.Microsoft.com/forums/en-us/category/SQLServer

    Concerning

  • Extraction of data from XMLType field

    Sorry, I am not sure XMLQuery, this is probably a simple question.  I am trying to extract data in a tabular form of an XMLTYPE field.  I will use the following example to illustrate my question:

    WITH a (too)

    Select xmltype (')

    < bugStatus >

    < status >

    < > 111 bugCode < / bugCode >

    < number of bug = "12345" description = "Low severity bug" / >

    < / status >

    < status >

    < > 222 bugCode < / bugCode >

    < number of bug = "67890" description = "high severity bug" / >

    < / status >

    < / bugStatus >

    XMLDATA') of double)

    SELECT x.*

    A xmltable (' bugStatus/status

    by the way the columns in a.xmldata

    status_code number path "bugCode.

    ) x ;

    Run this code extracts block the "bugCode' fields successfully.  But I would also to extract the 'bug number' and 'description' fields.  Ideally in the independent columns.  But even if only as a single line 'number of bug =... description =... ". "I could still do it analyze with SQL.

    Can someone tell me please in the sense of how I can also extract additional data?

    Thank you!

    Attributes are processed by '@' so in your example (thank you), you can solve it through

    WITH a (too)

    Select xmltype (')

    111

    222

    XMLDATA') of double)

    SELECT x.*

    A xmltable (' bugStatus/status

    PASSAGE a.xmldata

    COLUMNS

    ROW_NUMBER for ordinalite,

    path number bugCode "bugCode."

    bugNumber path number "bug/@number."

    path of varchar2 (4000) bugDescription 'bug/@description '.

    ) x ;

    ROW_NUMBER BUGCODE BUGNUMBER BUGDESCRIPTION

    ---------- ---------- ---------- --------------------------------------------------

    1 111 12345 low severity bug

    2 222 67890 high severity bug

  • Extraction of data from three tables.

    Hi all


    I have three tables company (com_id (PK), com_name),
    contact (contact_id (PK), com_id (FK), first_name, email),
    Rental (loc_id (PK), com_id (FK), Country).

    I need a query to extract the first name, the e-mail, the com_name and the country.

    I used:
    Select contact.first_name, m.country, company.com_name, contact.email in contact
    LEFT JOIN place m ON contact.com_id = m.com_id
    Contact.com_id = c.com_id ON LEFT JOIN c company

    but his return lines in double.

    I'm new on this. Please tell me how to solve this problem.


    Thank you

    Sophie wrote:
    Hi all

    I have three tables company (com_id (PK), com_name),
    contact (contact_id (PK), com_id (FK), first_name, email),
    Rental (loc_id (PK), com_id (FK), Country).

    I need a query to extract the first name, the e-mail, the com_name and the country.

    I used:
    Select contact.first_name, m.country, company.com_name, contact.email in contact
    LEFT JOIN place m ON contact.com_id = m.com_id
    Contact.com_id = c.com_id ON LEFT JOIN c company

    but his return lines in double.

    I'm new on this. Please tell me how to solve this problem.

    Thank you

    Hello

    select
        b.first_name,
        b.email,
        a.com_name,
        c.country
    from
        company a,
        contact   b,
        loaction   c
    where
        a.com_id=b.com_id
        and
        a.com_id=c.com_id;
    

    Thanks in advance.

  • Apex. Ajax.CLOB - extraction of data from a clob field

    I have an application that uses a table that stores xml data, and the field of the table that stores the data is a clob. I used the example of Carl Backstrom to build what I have so far, (the blessing of God on her family). Here is the script I use to store the data of an HTML editor in the database:


    function clob_set (request) {}
    var oEditor = FCKeditorAPI.GetInstance ('P59_CONTENT');
    var clob_ob = new apex.ajax.clob)
    function() {}
    var p.readyState = RS
    If (rs == 1 |) RS == 2 | RS == 3) {}
    $x_Show ('AjaxLoading');
    } else if(rs == 4) {}
    $x_Hide ('AjaxLoading');
    $s ('P59_CONT', p.responseText);
    doSubmit (request)
    } else {return false ;}
    }
    );

    $x('P59_CONT').value = oEditor.GetHTML ();
    oEditor.SetHTML (»);

    If (! $v_IsEmpty ('P59_CONT')) {clob_ob._SET ($v ('P59_CONT'));}
    }

    Present it calls a process that inserts the data in the field clob001 of the CLOB_CONTENT collection in my table.

    How can I get the data of the table again to present in the HTML editor? Each option I use me trouble with the limitation of length k 32 surviving more in the Apex. What would be the best way to answer that?

    Hi Yonkovator,

    I've also been struggeling with this problem for some time. Like you, I also used the example of Carl (my greatest condolences to his family and friends).
    Today, I finally managed to make it work. Now I can save the Clob to a HTML Editor field and load the Clob data (from the database) into the HTML editor field.

    * First, I created a region of HTML in which I placed my order on the day of the HTML editor.
    * Then, I created a process (On Load - after header) that retrieves the Clob data from the database and puts it inside the collection
    CLOB_COLLECTION. (Below is the code I used to recover the data).

    declare
    L_Name opcd_entity.name%type;
    l_entitytype opcd_entity.entitytype_id%type;
    l_clob CLOB: = empty_clob();
    Start
    apex_collection.create_or_truncate_collection (p_collection_name-online 'CLOB_CONTENT');
    DBMS_LOB.CREATETEMPORARY (l_clob, false, dbms_lob. SESSION);

    Select name
    entitytype_id
    general_text
    in l_name
    l_entitytype
    l_clob
    of opcd_entity
    where id =: P9_ID;

    : P9_NAME: = l_name;
    : P9_ENTITYTYPE: = l_entitytype;

    apex_collection.add_member (p_collection_name-online 'CLOB_CONTENT'
    p_clob001-online l_clob
    );
    end;

    * I expanded function clob_get of Carl with var oEditor = FCKeditorAPI.GetInstance ('P9_CLOB');
    (In your case, P9_CLOB would be P59_CONT).

    function clob_get() {}
    var oEditor = FCKeditorAPI.GetInstance ('P9_CLOB');
    var clob_ob = new apex.ajax.clob)
    function() {}
    var p.readyState = RS
    If (rs == 1 |) RS == 2 | RS == 3) {}
    $x_Show ('AjaxLoading');
    } else if(rs == 4) {}
    $s ('P9_CLOB', p.responseText);
    $x_Hide ('AjaxLoading');
    } else {return false ;}
    }
    );
    clob_ob._GET ();
    }

    * That I added an addLoadEvent in the foot of the region in the region that holds my agenda of the HTML editor.

    This way the clob data are updated automatically the HTML Editor element when I load the page (at least in my app ;-)).

    I hope this will help you to tackle the problem.

    With respect,
    Ramon van der Weiden

  • Extract specific data from cluster

    Hello

    I have an IMAQ FindCircles Vi where I want to extract the corresponding RADIUS given (in the detected circles) only. Currently I use Unbundle by name and manually select the RADIUS, however this method is impractical when it comes to images where a lot of circles is detected. The following picture describes my situation:

    I want to streamline this process so that the program automatically retrieves the rays without me having to do it manually. Help is dearly appreciated.

    Hello

    Rather than convert the table of cluster in a cluster of clusters (using the table in the cluster function) just browse the table thanks to a for loop. The for loop allows you to retrieve the value of the RADIUS to the unbundle help based on the name. In this way, you can deal with any number of detected circles. Please see the attached picture for an illustration...

    I hope this helps!

    Kind regards

    Dave.

  • Extraction of data from SQL Server 2000.

    Salvation Group

    We have a database of Oracle 9i r2 on AIX.

    Is required to extract data from a SQL Server 2000 Database under Microsoft Windows 2003, through SQL sentences.

    Is this possible?

    If yes how?

    Thanks in advance.

    user12215372 wrote:
    Salvation Group

    We have a database of Oracle 9i r2 on AIX.

    Is required to extract data from a SQL Server 2000 Database under Microsoft Windows 2003, through SQL sentences.

    http://www.Oracle.com/pls/db112/search?remark=quick_search&Word=transparent+gateway

  • Extraction of data from the node

    Hi all. Apologies if it's very basic, but a real beginner here!

    I use 10g and trying to extract data in a XML_Type column for use in a stored procedure. The data I received looks a bit like this:
    <TestRequest RequestName=”Test” TypeID=”1” RequestDate=”20091122093047” Status=”0”>
         <TestParameters>
              <TestParameter TPID=”4” TPName=”Test1”>Test1</TestParameter>
              <TestParameter TPID=”5” TPName=”Test2”>Test2</TestParameter>
         </TestParameters>
    </TestRequest>
    I'm interested in the value in the TestParamter where the TPID = '4 '.

    By using the following query:
    select extract (xml_data,'/TestRequest/TestParameters/TestParameter[@TPID="4"]') from table_name
    I can get:
    "< TPID TestParameter = '4' TPName ="Test1"" > Test1 < / TestParameter > ""

    But all I want is the value of Test1. How to do this?

    Thank you very much

    How to do this?

    Get it in this way:

    SQL> with t as (
      2  select xmltype('
      3  
      4  Test1
      5  Test2
      6  
      7  ') xml_data from dual)
      8  select extractvalue(xml_data,'/TestRequest/TestParameters/TestParameter[@TPID="4"]/text()') from t;
    
    EXTRACTVALUE(XML_DATA,'/TESTREQUEST/TESTPARAMETERS/TESTPARAMETER[@TPID="4"]/TEXT
    --------------------------------------------------------------------------------
    Test1
    

    Max
    [My Italian blog Oracle | http://oracleitalia.wordpress.com/2010/01/10/crittografia-in-plsql-utilizzando-dbms_crypto/]

Maybe you are looking for