How to display the values of this query? The type is XDB. XDB$ STRING_LIST_T

Hi all

If I run this query using a tool like developer PL/SQL (SQL window), the values are displayed as a Collection. Just click and see the results of the al.

Select
dbms_resconfig.getRepositoryResConfigPaths)
Of
Double;


I want to know how to display these values using any tool of sqlplus (with dbms_output or something like that).

How can I do? With the help of the table? Create a type?

TKS

user12083350 wrote:

I want to know how to display these values using any tool of sqlplus (with dbms_output or something like that).

SQL> select * from table(dbms_resconfig.getRepositoryResConfigPaths())
  2  /

COLUMN_VALUE
--------------------------------------------------------------------------------
/sys/xs/userrc.xml
/sys/xs/rolesetrc.xml
/sys/xs/drolerc.xml
/sys/xs/rolerc.xml
/sys/xs/frolerc.xml
/sys/xs/xdserc.xml
/sys/xs/scrc.xml

7 rows selected.

SQL> 

And in PL/SQL:

SQL> declare
  2      v_list xdb$string_list_t := dbms_resconfig.getRepositoryResConfigPaths();
  3  begin
  4      for i in 1..v_list.count loop
  5        dbms_output.put_line(v_list(i));
  6      end loop;
  7  end;
  8  /
/sys/xs/userrc.xml
/sys/xs/rolesetrc.xml
/sys/xs/drolerc.xml
/sys/xs/rolerc.xml
/sys/xs/frolerc.xml
/sys/xs/xdserc.xml
/sys/xs/scrc.xml

PL/SQL procedure successfully completed.

SQL> 

SY.

Published by: Solomon Yakobson, April 24, 2010 15:04

Tags: Database

Similar Questions

  • How to display the results in the order based on the value of research

    Hi all

    How to display the results in the slot order.
     
    
    CREATE TABLE TEST( SONGID  NUMBER, TITLE   VARCHAR2(200))
    
    INSERT INTO TEST(SONGID,TITLE) VALUES (10,'AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (11,'CICCONE, MADONNA (CA)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (12,'DALLIN, MADONNA LOUISE/STOCK');
    INSERT INTO TEST(SONGID,TITLE) VALUES (13,'MADONNA');
    INSERT INTO TEST(SONGID,TITLE) VALUES (14,'MADONNA (A)/ AHMADZAI, MIRWAIS (C)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (15,'MADONNA (CA)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (16,'MIRWAIS AHMADZAI, MADONNA');     
    INSERT INTO TEST(SONGID,TITLE) VALUES (17,'MIRWAIS (CA)/ MADONNA (CA),AHMADZAI');
    INSERT INTO TEST(SONGID,TITLE) VALUES (18,'MADONNA (CA),CICCONE');
    
    SELECT *FROM  TEST WHERE INSTR (TITLE, 'MADONNA') > 0
    
    output: 
    SONGID     TITLE
    10     AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)
    11     CICCONE, MADONNA (CA)
    12     DALLIN, MADONNA LOUISE/STOCK
    13     MADONNA
    14     MADONNA (A)/ AHMADZAI, MIRWAIS (C)
    15     MADONNA (CA)
    16     MIRWAIS AHMADZAI, MADONNA
    17     MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
    18     MADONNA (CA),CICCONE
    
    Expected output :
    13     MADONNA
    14     MADONNA (A)/ AHMADZAI, MIRWAIS (C)
    15     MADONNA (CA)
    18     MADONNA (CA),CICCONE
    ..
    ..
    ..
    ..
    ...
    If the user makes a search with "MADONNA", I view the results as title begins with "MADONNA" first then the rest of the records.
    Please let me know is possible to show the results in this order.


    Kind regards
    Rajasekhar

    This can be a little more specific:

    SQL> SELECT *
      2  FROM   TEST
      3  WHERE  INSTR (TITLE, 'MADONNA') > 0
      4  ORDER  BY INSTR (TITLE, 'MADONNA')
      5           ,TITLE
      6  ;
    
                  SONGID TITLE
    -------------------- --------------------------------------
                      13 MADONNA
                      14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
                      15 MADONNA (CA)
                      18 MADONNA (CA),CICCONE
                      12 DALLIN, MADONNA LOUISE/STOCK
                      11 CICCONE, MADONNA (CA)
                      17 MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
                      16 MIRWAIS AHMADZAI, MADONNA
                      10 AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)
    
  • How to display the value of the variable for bottom of pl/sql

    How to display the value of the variable for bottom of pl/sql

    declare

    V_1 number: = 10;

    V_2 number: = 20;

    V_3 number: = 30;

    v_4 number: = 40;

    v_5 number: = 50;

    test varchar2 (100);

    Start

    I'm in 1.5

    loop

    test: = "v_" | I have;

    dbms_output.put_line(i||) e > ' | test);

    end loop;

    end;

    /

    How to get below output:

    1 > v_1

    2 > v_2

    3 > v_3

    4 > v_4

    5 > v_5

    But I want to output of

    1 > 10

    2 > 20

    3 > 30

    4 > 40

    5 > 50

    Hello

    You cannot reference variables as you did and get the value of the variable. Use pretty collection.

    set serveroutput on size 2000
    declare
      type      number_table is table of number;
      numbers   number_table := number_table(10, 20, 30, 40, 50);
    begin
      for i in numbers.first .. numbers.last
      loop
        dbms_output.put_line(i || '->' || numbers(i));
      end loop;
    end;
    /
    
    anonymous block completed
    1->10
    2->20
    3->30
    4->40
    5->50
    

    See the Collections of PL/SQL and Records http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/composites.htm#LNPLS005

  • How to display Quick values in the story

    With the help of 11.1.1.6.2

    In a dashboard page, I have a table with a hierarchy of dimension for the organization. If you click on a division he runs a link action to call a script in the browser (javascript in a text on the dashboard section) from the division. If you expand the section, and then click on a market, it calls the function javascript even.

    Then, the Javascript function uses path go to update an analysis in an iFrame on the dashboard page and passes the value of the Division or the market value.

    The analysis of the target has two filters: Division is invited and the market is invited.

    So, after all, my question is how could display two values from the call of the road go into a narrative on the analysis of the target? Or I guess the other question is how to view the filter on the narrative values.

    Sorry for the long explanation, but I hope it makes sense.

    Thanks for any help or suggestion.

    Brad

    Try something using the Div tag
    for ex:
    < div id = filterValues > @{WeekBetween} {Default Value} < / div >
    < script >
    var i = document.getElementById('filterValues').innerHTML;
    document.getElementById('filterValues').innerHTML = aParams ["varDivision"];
    < /script >

    If brand pls help

  • How to display a value of transitional attribute to column db entity column?

    Mr President

    Help me at the time 12.2.1 jdev.

    How to display a value of transitional attribute to column db entity column?

    I have the requirement to indicate a value of transitional attribute column in the column db entity for some reason any.

    Any body can help as my show in the picture below

    The StAmt is a transitional column and a column db of the entity.

    tworows.png

    Any body can help please. !

    Concerning

    This means that the amount to be the attribute will always has the same value of the transient attribute? If so, why do you want the amount attribute the transient attribute is sufficient?

    Anyway, if you want to get attribute data in attribute transitional amounts you can open class ViewRowImpl and appearing in the getter or amount, you can get the value in the transitional as attribute:

      public Number getAmount()
      {
        return getTransientAttribute();
        //return (Number) getAttributeInternal(AMOUNT);
      }
    

    in this case, the quantity data store database will not appear on the table it will still get the transitional attribute data and it's meaningless.

  • How to display the parameter string registered by DBMS_XMLINDEX?

    This is probably a stupid question, but I can't seem to find any function to display the setting of a parameter string that was recorded by DBMX_XMLINDEX. REGISTERPARAMETER.

    For example,.

    If I have:
    BEGIN
    DBMX_XMLINDEX.REGISTERPARAMETER('indexParam', 'xxxxxxxx');
    END;
    /
    How to display the value of 'indexParam' after creation?
    SQL> set long 1000
    SQL>
    SQL> select paramstr
      2  from xdb.xdb$xidx_param_t
      3  where param_name = 'MYINDEXPARAM'
      4  ;
    
    PARAMSTR
    --------------------------------------------------------------------------------
    PATH TABLE po_ptab
        PATH ID INDEX po_pidx
        ORDER KEY INDEX po_oidx
        VALUE INDEX po_vidx
        PATHS(NAMESPACE MAPPING(xmlns:p="http://www.example.com/IPO"))
        GROUP MASTERGROUP XMLTABLE PO_TAB
        ('/p:PurchaseOrder'
            COLUMNS
               REFERENCE VARCHAR2(30) PATH 'p:Reference',
               REQUESTOR VARCHAR2(30) PATH 'p:Requestor' )
        GROUP ITEMGROUP XMLTABLE ITEMGROUP_TAB
        ('/p:PurchaseOrder/p:LineItems/p:LineItem'
            COLUMNS
               LINENUMBER NUMBER(38) PATH '@p:ItemNumber',
               QUANTITY NUMBER(38) PATH '@p:Quantity',
               DESCRIPTION VARCHAR2(256) PATH 'p:Description')
     
    

    After you add it to an index, you can also view the content in USER_XML_INDEXES. PARAMETERS (XML format).

  • How to display the data items in the header of tempalte

    Hello friends
    I have this date_from and date date_to parameters which are parameters that the user enters...
    based on these parameters of date, I want to display in the header as
    date_from day (for example if the date_from is 13 - nov - 2010.then I should see 13) and date_to to display as 15, if for example the user enters
    November 16, 2010. (day of the date-1)
    so it should break down for
    date_from-13-nov-2010, 13
    date_to-16-nov-2010, 15
    I want these two values to display in the header of the template how
    pls help
    also let me know how to display the data items in the header template

    Published by: Les on Dec 22, 2010 12:44 AM

    Use and

  • How to display the Date Predefault time

    Hi friends,

    How to display the date in the field to date through sctipting by default I have a requirementy to display the date field as the next day's date with timestamp from 09:00 (15/02/2010-09:00) data type as the field & column is UTC_datetime.please help I get.


    Siebel bee

    Take a look at the function today(), TimeStamp() and ToChar()

    You should be able todo with something similar to this:

    Expr: "ToChar (TimeStamp (), 'MM') + ' / ' + ToChar (TimeStamp (), 'DD') + ' / ' + ToChar (TimeStamp (), 'YYYY') + ' ' + ToChar (TimeStamp (+(1/24), 'HH')) + ': 00:00.

    as a value before failure.

  • How to display the rownum in oracle forms?

    Hai all,

    How to display the rownum in oracle forms?

    Thank you
    RCS
    ----------------

    I would add rowum with the current form of group_mstr:

    former columns:

    group_id
    GroupName

    new columns will be:

    identifier of the line
    group_id
    GroupName


    I created as follows:
    in forms
    text tool > row id
    text element > EXT_ITEM20

    error text element: no white color, it's a different color
    --------------

    create > Trigger > a time new form instance > I gave like this:

    DECLARE
    CURSOR crrow_id IS
    SELECT count (*) + 1 group_mstr;
    BEGIN
    OPEN crrow_id.
    Search FOR crrow_id IN: TEXT_ITEM20;
    CLOSE Crrow_id;
    END;
    ------------
    error: identifier group_mst must be declard
    ============

    I don't know also not quite what you want to display in your form. Do you want to just number the records displayed, from 1 to n?

    If so, create a text whose property 'data base element' element to the value 'no', "calculation method" formula and the formula itself: SYSTEM. " TRIGGER_RECORD, then, in each case, the registration number should be indicated.

  • How to display the drop-down list box in MS excel by using labview report generation toolkit? pleasepost code block diagram?

    How to display the drop-down list box in MS excel by using labview report generation toolkit? Please post the block diagram of the code so that I can able to generate from the drop-down list box in excel with the menu drop-down...

    Like this. (edition, use the reference forms instead of the reference to the worksheet)

    Ben64

  • How to display the list of components in ultiboard 10?

    The DRC report the errors where the components that are no longer in the design have been removed. How to display the list component and then remove them from the netlist to stop this?

    Ultiboard reported missing errors of component (part 'X' is not about design) because the part is always referenced by a net. To fix this, you must remove the part of the net. Following the steps below to remove the part form the net.

    1 tools > Netlist Editor

    2. for each network that the part has been connected to, select the Net (upper-left).

    3. Select the tab of pine trees, select the part and it is the PIN in the dialog box, then click on remove

    The problem is when the part is removed, I see no easy way to determine the threads you need to remove the part of. I entered this as a feature request to make this easier, but as a workaround, you can put part and say Ultiboard what the missing part, then search the net names on the pins and remove the part of these pins

    1 place a piece with a lot of pine trees (for example the part that was removed, or for example through Hole technology > Connectors > SIL & headers > HEADER2X9). When you place the part, make sure that the RefDes matches the RefDes of the part which has been removed.

    2. once the room is placed, you should see rats nest lines that connect the part to the nets.

    3 Zoom on the pins. You should now see the net name on each of the axes. For each of the pins connected, remove it from the net as described above.

    4. remove the part that you placed.

  • How to display the name of my refnum on the front?

    I write data to a file. To do this, I use ' Open/create/replace the file' to prompt the user for a file name, which is then out of my VI as a refnum. I then write strings in this file with "write to a text file.

    How to display the name of the file (including the path) on the front panel once the user has entered it?

    Michael

    Use the Refnum at the path of e/s from file-> advanced file palette. You can wire it to a path indicator.

  • How to display the wireless in my xp on lenovo 3000n200 please show me shortened steps you

    How to display the wireless in my xp on lenovo 3000n200 please show me shortened steps you

    Hello

    1. do you have problems connecting to the wireless network?
    2. don't you make changes to your computer, after which the issue started?
    3. where exactly you want to display the wireless network?

    If you have problems to connect to the network, I would recommend that you reinstall the wireless network cards.

    Follow the steps in this article.

    http://support.Microsoft.com/kb/283658

  • How to display the date on the taskbar (toolbar)

    Please tell me how to display the date at the bottom of the screen.  Currently, everything is displayed is the time.

    Hello

    You said in addition to the clock so I initially think not that you need it however, others said it would be a good idea to show this method of date display. Also if you move the taskbar vertically the date is also displayed.

    Always see the day, date and time in the taskbar
    http://freewindowsvistatutorials.com/meetWindowsVista/taskbarAndSystemTray/showDayDateAndTimeInTheClock.php

    You can lift the taskbar is higher - make a right click on it - uncheck box lock the taskbar then take the upper part of it and lift it higher and the date will be under the clock.

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

    I found a utility that does on one level of the bar tasks if it does not have to be raised-
    T - clock - free - 3 references to it:

    Windows7 like clock on the system in Vista & XP tray
    http://www.tothepc.com/archives/Windows7-like-clock-on-system-tray-in-Vista-XP/

    TClock: See the Date Look like Windows 7 & time in the system tray in Windows XP and Vista
    http://www.askvg.com/tclock-show-Windows-7-look-like-date-time-in-system-tray-in-Windows-XP-and-Vista/

    T - Clock of the Stoic Joker
    http://www.greggdeselms.com/tclock.html

    I hope this helps.
    --------------------------------------------------------------------------------------------
    Rob Brown - Microsoft MVP<- profile="" -="" windows="" experience :="" bicycle="" -="" mark="" twain="" said="" it="">

  • How to display the .dcm file

    How to display the .dcm file

    Hello

    This should help you.

    http://www.FileInfo.com/extension/DCM

    See you soon.

Maybe you are looking for

  • Have I not icloud on my PC Windows 10

    I have itunes and tells me when there are updates that also show updates to icloud.  I was not downloading updates to icloud and I don't know if I really icloud. have the PC with Windows 10.  If advised to download please send a link.  Iclous is not

  • Extending Wi - Fi in the Church

    (Beginner - first post!) We have a N router in a Community Hall that is physically connected to our church building and a road winding wire stretching CAT 5/5 to the Church. Signal to the nearest point of the Church is very low. Two options originall

  • How to use Camelio H20 as webcam

    Can anyone help? I recently bought the camcorder above. The manual indicates that the camcorder can be used as a * WEBCAM *. However, when I plug it into a PC or a laptop it does not recognize.I tried this on a laptop with Windows XP and a new PC wit

  • Problem with the reinstallation of Windows XP Pro

    A few days ago my Windows XP Pro showed an error at startup, which has declared "activation failed". I have been using the computer for several years. I installed my XP disk to recover the system. After several hours (overnight), he continued to show

  • After installing Windows 7, the option to dual boot with my Windows XP already installed is not available.

    PROBLEM TO DUAL BOOT XP AND 7... 1 XP I have 4 partition one my h/d. in win xp (S.P 2) c drive is already install. now I install win 7 in d. disc 7 victory is also insal smouthly. but when I restart my computer, startup bual option not shown... only