need help with xml data

Hi all

need your spiritual help once more!
I have a table 'product' as below:

create table product)
product_id number (2),
product_info varchar (4000));

Select * from product:
product_id product_info
1 < ticketing > < product = 'TV' > < productservice = "shipping" > < / productservice > < / product = 'TV' > < / ticket >

I need to get the column product_info information in a new table with 2 columns product and productservice product_details. as in: -.
Select * from product_details:
product_id product productservice
1 expedition TV

any suggestions on how to do it.
PS-> for a product it can be several services and there may be several products for a ticket.

Your XML file is not well formed at all (so many errors in there).

However, if you had a valid XML code, you could do something like that...

SQL> ed
Wrote file afiedt.buf

  1  with t as (select 1 as product_id, '' as product_info from dual union all
  2             select 2, '' from dual)
  3  --
  4  -- end of test data
  5  --
  6  select t.product_id, x.*
  7  from t
  8      ,xmltable('/ticketing/product'
  9                passing xmltype(t.product_info)
 10                columns product varchar2(10) path '/product/@name'
 11                       ,service varchar2(15) path '/product/productservice/@name'
 12*              ) x
SQL> /

PRODUCT_ID PRODUCT    SERVICE
---------- ---------- ---------------
         1 TV         shipping
         2 VCR        delivered

Tags: Database

Similar Questions

  • Need help with the data storage store, local array and network connections

    Need help with my ESXi 4.1 installation

    My hardware:

    I built a server with an Asus P6T whitebox, i7 920, 12 Gig RAM, NIC, Intel Pro1000 PT Quad, 3ware 9650SE-12ML with 8 1.5 TB SATA green in a raid 6 array gives me about 8 + TB with a spare drive all housed within a NORCO RPC-4220 4U Rackmount Server chassis.  I also have a 500 GB SATA drive which will hold the ESXi and virtual machines.

    The network includes a firewall, Netgear Prosafe FVS336G, GS724Tv of Netgear ProSafe 24 port Gigabit Managed Switch on a dhcp cable modem internet service provider.

    I also have 2 old NetGear SC101T NAS disks (4to) I want to connect to the system how some - at a later date have... data on them and want to transfer to the new storage array. I always looking into the question of whether they will work with ESXi 4.1, or I might have to only access it through Windows XP.

    My Situation:

    I have already installed ESXi 4.1 and vsphere client with no problems and it is connected to a dhcp cable internet service.  I've set up host via a dynamic DNS service name give me a static hostname on the internet.  I installed three machines to virtual OS successfully at the moment and now want to first start by creating a multimedia storage server which will use some of this new 8 TB array, then separate data storage for use with a web server small overhead storage and a backup.  It is a domestic installation.

    Help with the data store and network:

    I was doing some reading, because I'm new to this, and it looks like I'll probably want to set up my table via ESXi as a nfs disk format.  Now, the data store is usually in another physical box from what I understand, but I put my readers and ESXi all in the same box.  I'm not sure that the best way to put in place with grouped network cards, but I want to make this work.

    I understand that in ESXi 4.1 using iSCSi LUN must be less than 2 TB, but nfs - I should be able to add a bigger partition then 2 TB (for my multimedia) in nfs, right? or should I still add it separately as a separate 2 TB drives and then extend them to get the biggest space.

    Any suggestions or direct resources showing examples on how to actually add some parts of the table as data warehouses separate nfs.  I know that to go to the configuration tab, and then select Add to storage, and then select nfs. I have not my picture, but it's here that I don't know what to do because ESXi 4.1 system already has an address, should I put the same thing to the new data store array also (will it work?), and what should I use for the name of the folder and the store of data... just do something to the top.  I thought to later install Openfiler (for a multimedia storage using this table server) as a virtual machine, use the table with esxi so that I can access the same storage space with widows and linux-based systems.

    I also know I have to find a way to better use my quad nic card... put in place of virtual switches, grouping, etc HELP?

    Any direction, assistance, similar facilities to sample, suggestions or resources that would help would be great. I did a lot of hunting, but still a little confused on how to best to put in place.

    You must think of VMDK files of large databases with records of random size guest go read some data (a DLL or an INI file), maybe write some data back, then go read other data. Some files are tiny, but certain DLLs are several megabytes. It's random i/o all and heavy on the search time. IO Opsys is small random operations that are often sequential (go read data, write data, go read other data,...) so that deadlines are critical to the overall performance. That's why people say OPS are / s of reference and forget the MBs flow. The only time where you bulk transfers are when you read media (ISO files).

    Well, now forget all this. Actually the disk activity will depend on the specific applications (database? mail server? machines compiler?), but the above is true for boots, and whenever applications are idle. You should see the profile to know.

    RAID 10 is faster (and often more reliable) than RAID 5 or RAID-6 except in certain specific cases. In General RAID 10 is ideal for many random writes, since the calculation of parity for RAID-5 and - 6 adds to the overall latency between command and response - latency is cumulative if a little slow here and a little slow it adds up to a lot of overall slow synchronous especially with e/s on a network. OTOH RAID-5 and -6 can produce faster readings due to the number of heads, so you can use it for virtual machines that transfer bulk. Test. You may find that you need several different types subdashboards for best results.

    You said 3ware, they have some good grades on their site, but don't believe it. With my 9650 that I found myself with only a couple of their recommendations-, I put the (simple) table for allocation size 256 k, nr_requests at 2 x the queue_depth and use the planner date limit. I had the habit for the Ext4 file system formatted with stride and stripe-width synced to the table and used the options large_files with fewer inodes (do not use the huge_files option unless you plan to have single VMDK files in the terabyte range). Use a cache of great reading in advance.

    Virtual machines use VMDK files in all cases except raw iSCSI LUN that they treat native disks. VMDK is easier to manage - you can make a backup by copying the file, you can move it to a PC and load it into another flavour of VMware, etc. There could be some features iSCSI to your San as a transparent migration but nothing for me. NFS has less chatter of Protocol if latency lower times to complete an operation. NFS is good to read and write a block of data, that's all it boils down to.

    UPS is good, but it won't help if something inside the machine explodes (UPS does nothing if the PC power supply goes down). If the RAID card has an option for a battery backup module, so it can contain some writings in memory and may end up the disk i/o after replacing the power supply. 3ware also limits the types of caching available if help is not installed, and you get just the right numbers with the module.

  • Need help with XML, view the data by scanning/click

    Hello.

    I am creating a moibile app that displays XML data. It is a telephone directory. I want the data to change when we slide. I can get the data very well. I can get it to display fine. I do not see the correct image first, however. I think it's a problem with my imagenum variable.

    Then, I want to change what is displayed when the user clicks/slide on the screen. How do I do that?

    Stop();
    var nameArray:Array = new Array();
    var countryArray:Array = new Array();
    var portraitArray:Array = new Array();
    var flagArray:Array = new Array();
    var jobtitleArray:Array = new Array();

    var imageNum:Number = 0;
    var totalImages:Number;

    Loading XML
    var XMLURLLoader:URLLoader = new URLLoader();
    XMLURLLoader.load (new URLRequest ("recbook.xml"));


    XMLURLLoader.addEventListener (Event.COMPLETE, processXML);


    function processXML(event:Event):void {}

    var theXMLData:XML = new XML (XMLURLLoader.data);
    totalImages = theXMLData.name.length ();
    for (var i: Number = 0; i < totalImages; i ++) {}
    Data in the tables xml push
    nameArray.push (theXMLData.name [i]);
    countryArray.push (theXMLData.country [i]);
    portraitArray.push (theXMLData.portrait [i]);
    flagArray.push (theXMLData.flag [i]);
    jobtitleArray.push (theXMLData.jobtitle [i]);
    }
    the data is processed

    loadData();
    }

    function loadData (): void {}

    var thisPortrait:String = portraitArray [imageNum];
    var thisCountry:String = countryArray [imageNum];
    var thisName:String = NomTableau [imageNum];
    var thisJobtitle:String = jobtitleArray [imageNum];
    var thisFlag:String = flagArray [imageNum];

    var dataLoader:Loader = new Loader();
    dataLoader.load (new URLRequest (portraitArray [imageNum]));
    dataLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, dataLoaded);
    function dataLoaded(event:Event):void {}

    I want to start with 0 (img1.jpg) image and scroll with a click of the mouse (finger on iOS kick)
    stage.addEventListener (MouseEvent.CLICK, loadMainImage1);
    function loadMainImage1(event:MouseEvent):void {}
    portraitUILoader.source = thisPortrait;
    flagUILoader.source = thisFlag;
    selectedName.text = thisName;
    selectedCountry.text = thisCountry;
    selectedJobtitle.text = thisJobtitle;
    }
    }

    Add to imageNum (1);
    imageNum ++;
    If (imageNum < totalImages) {//stopping to img2
    trace ("imageNum" + imageNum);
    trace ("name of the image (tomyline)" + tomyline "); losing picture 4 somewhere

    loadData();
    }

    trace ("Total Images" + totalImages);

    }

    Click here to pass the screenI House would this gap. do not know how.
    homeScreen_mc.addEventListener (MouseEvent.CLICK, goNext);

    function goNext(event:MouseEvent):void
    {
    nextFrame();
    }


    * / Here is the result:
    imageNum 1
    image name (tomyline) images/img1.jpg
    imageNum 2
    image name (tomyline) images/img2.jpg
    imageNum 3
    image name (tomyline) images/img3.jpg
    Total of 4 Images
    Total of 4 Images
    Total of 4 Images
    Total of 4 Images

    It starts on frame 1 display (the second in the series img2.jpg) * /.

    If (imageNum< totalimages)="" {//stopping="" at="">
    trace ("imageNum" + imageNum);
    trace ("name of the image (tomyline)" + tomyline "); losing picture 4 somewhere
    imageNum ++;
    If (imageNum! = totalImages) loadData();
    }

  • Need help with the date of Validation Urgent

    Hello

    We need help in the Validation Date.

    We have 2 fields of Date on the form the Start Date, End Date

    The requirement is: End Date (cannot be more than 30 years as of the start date).

    I wrote after the script on the exit eventof the End Date . But the problem is its calculation of 30 years from the current Date not from the Start Date

    var

    tDate = util.scand (' mm/dd/yyyy', new Date());

    var

    M = tDate.getMonth ();

    var

    D = tDate.getDate ();

    var

    Y = tDate.getFullYear ();

    var

    SRes = util.printd("yyyy-mm-dd", new Date((Y+30), M,D) );

    App.Alert (SRes)

    If

    (SRes < = this.rawValue)

    {

    App.Alert ("cannot be greater than 30 years from the start date")

    () xfa.host.setFocus

    ce );

    }

    can someone help me please

    Kind regards

    Jay

    Hello

    You need to get the LCD field javascript and calculate & compare with the future date in date javascript.

    Try the following script.

    var sDate = StartDate.rawValue;
    var wkStartDate = util.scand ("yyyy-mm-dd", sDate);

    nYear var = wkStartDate.getFullYear ();
    nMonth var = wkStartDate.getMonth ();
    nJour var = wkStartDate.getDate ();

    var wkFutureDate = new Date (+ 30 nYear, nMonth, nJour);

    sDate = EndDate.rawValue;
    var wkEndDate = util.scand ("yyyy-mm-dd", sDate);

    If (wkEndDate.getTime () > wkFutureDate.getTime ()) {}
    xfa.host.messageBox ("cannot be more than 30 years from the start date");
    xfa.host.setFocus (this);
    }

  • Need help with coversion date

    Hello

    I have a date format that is varchar2 and value is as on 2009-03 - 31.i need to convert to date and it must be as on 31 March 09

    I get as error 0RA-01981... Please help me in this
    SQL> select to_date('2009-03-31','yyyy-mm-dd') xc from dual ;
    
    XC
    ------------------------------
    31-MAR-09
    

    For your http://ora-01981.ora-code.com/ error

    SS

  • Need help with substring data

    Having problems reading CLOB data > 32000 and thought that maybe I can load the data into 3 separate columns less than 32000 k each.

    I tried to substring of a part of it first to see if it worked.

    DDL

    CREATE TABLE 'E406702 '. "" DSR3 ".

    (

    "RECORDNO' CHAR (8 BYTES),

    'DOCUMENTUNIVERSALID' CHAR (32 BYTES),

    "CREATIONDATE" TANK (30 BYTES),

    VARCHAR2 (250 BYTE) "ETL_STATUS."

    VARCHAR2 (4000 BYTE) "DSRDESCRIPTION."

    VARCHAR2 (4000 BYTE) "FORM."

    'REQUESTID' VARCHAR2 (4000 BYTE)

    )

    CONTROL FILE

    DOWNLOAD THE DATA

    INFILE 'DSR2DATA.txt' ' str "\r '"

    ADD

    IN THE DSR3 TABLE

    FIELDS TERMINATED BY ' <: s: >.

    (RecordNo CHAR (8),

    DocumentUniversalID TANK (32),

    CreationDate CHAR (30),

    CHAR ETL_STATUS (250).

    DSRDescription TANK (32700) "substr(:DSRDescription,1,32)."

    SHAPE TANK (4000).

    RequestId TANK (4000))

    Doing this, that I was able to load half of my files.

    Check the newspaper and saw


    SQL * Loader: release 11.2.0.1.0 - Production on sea Feb 19 09:40:40 2014

    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

    Control file: c:\mytest7\DSR3CONTROL.txt
    Data file: DSR2DATA.txt
    Chain of the treatment of the files option: ' str "\r '"
    Bad leadership: c:\mytest7\DSR3CONTROL.bad
    Discard File: none is specified

    (Allow all releases)

    Number of loading: ALL
    Number of jump: 0
    Authorized errors: 50
    Link table: 64 lines, maximum of 256000 bytes
    Continuation of the debate: none is specified
    Path used: classics

    Table DSR3, loaded from every logical record.
    Insert the option in effect for this table: APPEND

    Column Position Len term Encl. Datatype name
    ------------------------------ ---------- ----- ---- ---- ---------------------
    RECORDNO FIRST 8 CHARACTERS
    String endpoint of: "<: s: > '"
    DOCUMENTUNIVERSALID THEN 32 CHARACTERS
    String endpoint of: "<: s: > '"
    CREATIONDATE THEN 30 CHARACTERS
    String endpoint of: "<: s: > '"
    ETL_STATUS THEN 250 CHARACTERS
    String endpoint of: "<: s: > '"
    DSRDESCRIPTION CHARACTER THEN 32700
    String endpoint of: "<: s: > '"
    The SQL string for the column: 'substr(:DSRDescription,1,32) '.
    TRAIN THEN 4000 CHARACTERS
    String endpoint of: "<: s: > '"
    REQUESTID THEN 4000 CHARACTERS
    String endpoint of: "<: s: > '"

    value used for the parameter LINES increased from 64 to 6
    Record 79: Rejected - error on the DSR3 table.
    ORA-01461: can bind to a LONG value only for insert into a LONG column

    Record 82: Rejected - error on the DSR3 table.
    ORA-01461: can bind to a LONG value only for insert into a LONG column

    Record 94: Rejected - error on the DSR3 table.
    ORA-01461: can bind to a LONG value only for insert into a LONG column

    Recording 160: Rejected - error on the DSR3 table.

    What is the problem that.   My goal was to make it work and then try to perform the following operations:

    Change the ddl to

    'DSRDESCRIPTION' CLOB,

    'DSRDESCRIPTION1' CLOB,

    'DSRDESCRIPTION2' CLOB,

    Change the control for this file.

    DSRDescription TANK (32700) "substr(:DSRDescription,1,32700)."

    DSRDescription2 TANK (32700) "substr(:DSRDescription,32701,65401)."

    DSRDescription3 TANK (15000) "substr(:DSRDescription,65402,80000)."

    Is - this bad way to go on this subject?

    If you can load data without any problem and read-only is a problem then you can use SUBSTR and concate (|) to read the entire string. Something like this:

    Select substr (DSRDescription, 1, 32000) | substr (DSRDescription, 32001, 64000) | dsr3 substr(DSRDescription,64001);

    or

    with the data as

    (

    Select substr (DSRDescription, 1, 32000) in the DSRDescription of dsr3

    Union of all the

    Select substr (DSRDescription, 32001, 64000) in the DSRDescription1 of dsr3

    Union of all the

    Select substr(DSRDescription,64001) in the DSRDescription2 of dsr3

    )

    Select * from data;

    Onkar

  • Need help with vSphere data script, packaging and sending it to the data warehouse

    Greetings PowerCLI gurus.


    Everyone can offer suggestions on a script which can query vSphere and pull on the following fields of the virtual computer:

    NameStateStatusHostSpace in useSpace used

    Format in a file in the CSV format and send the file to an FTP server?

    Much respect to all, thanks a lot in advance.

    Hello-

    Happy to help you.

    OK, well, if this database is accessible through a UNC path, you might make a copy directly using Copy-Item.  If you use different credentials, you can encrypt and store in an XML file.  HAL Rottenberg wrote to do http://halr9000.com/article/531.

    Or, if this pension data is something that supports the secure copy (scp) or secure FTP (SFTP), those who would be good options.  Again, you can store the alternative credentials in an encrypted in an XML file format and use them as needed.

    Certainly, there is a balance to be struck between security and ease of use.  It may be such that the transmitted data are not considered sensitive to all, and clear data transfers are acceptable.  Probably still a good idea to take measures to protect the credentials at least.

  • What is the 'Live' page and need help with the data merge

    Hello

    Im very new to indesign naked with me. Im trying to merge data (need to create a fusion template?) and what I understand is that I need to be on the page 'Live '. Someone on the forum suggested this...

    There are two ways to set up the model of fusion. You can put your placholders on the master page or on the live page. If the placehlders are on the master page, only the frame (s) with placeholders, as well as other grouped objects, will be duplicated. On the live page, ID will try to duplictate EVERYTHING on the page, so you must be very careful about installation and sizing of objects.

    I want to be on the LIVE page... How can I do this? Got any other sort but can't get several records for the life of me to come.

    Thank you for your help adavance

    It is the opposite of multiple records per page. Make x copies of a single record on a page, put x sets of organized placeholders as you want on the page. A good way to do it is with Edit > step and repeat after you set up the left superior set. Now merge as one record per page.

  • Hi, I need help with the dates of the plugins added to my browser

    Hi I need to know when a plugin has been installed on my browser.

    openh264 / video codec provided by cisco systems.

    If you can't help, please point me in the direction of someone who can?
    

    Any help much appreciated.

    Hello, this particular plugin has been installed with the update for firefox 33.
    http://andreasgal.com/2014/10/14/openh264-now-in-Firefox/

  • Need help with the date

    Hi all

    I have a requirement where my table contains the values key1, Key2, and timestamp (example 24 January 2013 06:45:45)

    Now I have several values for the same key1, key2, and date with different stamps. I need to keep records only 2 with less output and max timestamp for key1 and key2.

    Can you please indicate how this can be done?

    Like this

    SQL > create table k (key1, key2 whole integer, date of ts);

    Table created.

    SQL > insert into k
    2. Select 1, 1, trunc (sysdate) + numtodsinterval (level, 'time')
    3 double
    4. connect by level<=>

    10 rows created.

    SQL > alter session set nls_date_format = 'DD-MON-YYYY HH24:MI:SS ";

    Modified session.

    SQL > select * from k;

    CLE1 KEY2 TS
    ---------- ---------- --------------------
    1 1 31 JANUARY 2014 01:00
    1 1 31 JANUARY 2014 02:00
    1 1 31 JANUARY 2014 03:00
    1 1 31 JANUARY 2014 04:00
    1 1 31 JANUARY 2014 05:00
    1 1 31 JANUARY 2014 06:00
    1 1 31 JANUARY 2014 07:00
    1 1 31 JANUARY 2014 08:00
    1 1 31 JANUARY 2014 09:00
    1 1 31 JANUARY 2014 10:00

    10 selected lines.

    SQL > select key1
    2, key2
    3, ts
    4 of)
    5. Select k.*
    6, min (ts) over (partition by key1, key2, trunc (ts)) min_ts
    7, max (ts) over (partition by key1, key2, trunc (ts)) max_ts
    8 k
    9         )
    10 where ts = ts or min_ts = max_ts;

    CLE1 KEY2 TS
    ---------- ---------- --------------------
    1 1 31 JANUARY 2014 01:00
    1 1 31 JANUARY 2014 10:00

    SQL >

  • Need help with xml parsing

    Hello everyone. I have a question about parsing of an xml file. So I have to build a section of a Web site, in which I have to create a carousell 3d, showing different images. The images are loaded from an xml file, and their number is random. Basically, when I enter the section, I must choose a random number of galleries and when visit on a gallery name, a carousell appear, filled with images with for this gallery. The Gallery xml structure is as follows. It is still for the test, so there no concrete values.

    <? XML version = "1.0" encoding = "utf-8"? >

    < eveniments >

    < organization >

    < title > eveniment1 < / title >

    < photos >

    < poza1 > one < / poza1 >

    < poza2 > n < / poza2 >

    < poza3 > c < / poza3 >

    < poza4 > s < / poza4 >

    < / photos >

    < / organization >

    < organization >

    < title > eveniment2 < / title >

    < photos >

    < poza1 > one < / poza1 >

    < poza2 > b < / poza2 >

    < poza3 > c < / poza3 >

    d < poza4 > < / poza4 >

    < poza5 > e < / poza5 >

    < / photos >

    < / organization >

    < organization >

    < title > eveniment3 < / title >

    < photos >

    < poza1 > b < / poza1 >

    bb < poza2 > < / poza2 >

    bbb < poza3 > < / poza3 >

    < poza4 > bbbb < / poza4 >

    < poza5 > bath < / poza5 >

    < poza6 > bath < / poza6 >

    < / photos >

    < / organization >

    < organization >

    < title > eveniment4 < / title >

    < photos >

    < poza1 > c < / poza1 >

    < poza2 > one < / poza2 >

    < poza3 > cc < / poza3 >

    < poza4 > aa < / poza4 >

    < poza7 > ccc < / poza7 >

    < poza5 > aaa < / poza5 >

    < poza6 > < / poza6 >

    < / photos >

    < / organization >

    < organization >

    < title > eveniment5 < / title >

    < photos >

    < poza1 > CAD < / poza1 >

    < poza2 > CAD < / poza2 >

    < poza3 > ca < / poza3 >

    < poza4 > cc < / poza4 >

    < / photos >

    < / organization >

    < / eveniments >

    I need to access all the

    The question is: How can I access the child 'pictures' for each node?   I tried to access le.eveniment.poze "xmlfile", but it seems to not work.

    It seems that your pozas are in a section of , then you probably need to target through who tag images.

  • I need help with the date

    Hi all
    CREATE TABLE INV
    (INV_DATE DATE ,
     QTY      NUMBER)
    Insert into INV (INV_DATE,QTY) values (to_date('01/01/13','DD/MM/RR'),2);
    Insert into INV (INV_DATE,QTY) values (to_date('02/01/13','DD/MM/RR'),1);
    Insert into INV (INV_DATE,QTY) values (to_date('01/02/13','DD/MM/RR'),5);
    Insert into INV (INV_DATE,QTY) values (to_date('10/02/13','DD/MM/RR'),6);
    Insert into INV (INV_DATE,QTY) values (to_date('03/03/13','DD/MM/RR'),1);
    Insert into INV (INV_DATE,QTY) values (to_date('04/03/13','DD/MM/RR'),77);
    I need result like this (I have total amount per month)
    inv_date     qty
    1                3
    2                11
    3                78

    Analytical use.
    John post in a hurry lol

    select
     to_number(TO_CHAR (inv_date, 'MM')) inv_date,
    sum(QTY)
    from INV
    group by
    to_number(TO_CHAR (inv_date, 'MM')) 
    
  • Need help with XML (bold/italic) attribute access

    Hello

    I have a form that displays data in livecycle designer. When a person imports an xml file into the form in Adobe Acrobat format, it should be able to display data in the form of fat and some italicized based on the xml file.

    Here is an example of xml file

    < Table1 >

    < Row1 >

    < Cell1 style = 'none' > 1 < / Cell1 >

    < Cell2 style = "bold" > 2 < / Cell2 >

    < Cell3 style = "italic" > 3 < / Cell3 >

    < / Row1 >

    < / Table1 >

    And the output should be:

    1 2 3

    Can someone please! If the xml file must be designed differently, please let me know.

    Thank you!

    The implementation of Rich Text use xHTML to define the styles of fonts. I suggest you create a RichText Field on your form, set the text the way you want, then export the data to see how the styles are represented.

    Paul

  • Need help with XML import

    I created the project using jdevelopr.
    locally, it works fine.
    I moved all my files from my development instance.

    trying to IMPORT an xml file using the following observation.

    When I try to import xml AU_TOP rum.

    I am getting error "java denied execute permission.

    Same as I did chmod - A - R 777
    Should I do something else?

    If I run of webui where my pg.xml is available, I get java not found error.

    PL. Let me know where I need to run this file

    Also, pl. check the import xml command I use to import


    Java oracle.jrad.tools.xml.importer.XMLImporter
    /oradev2/test/testcomn/Java/xxhr/Oracle/Apps/xxhr/selfservice/personalaction/WebUI/XXHRPersonalActionSearchPG.XML
    / oradev2/test/testcomn/java/xxhr/oracle/apps/xxhr/selfservice/personalaction/webui - rootdir/userId - apps
    rootPackage - / oradev2/test/testcomn/java/xxhr/oracle/apps/xxhr/selfservice/personalaction/webui /.
    apps - username username-password apps - dbconnection ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=10.1.4.57) (PORT = 1528)) (CONNECT_DATA = (SID = dev))) ".


    PL. Let me do I need to do any authorization or what the problem is.

    pl in a timely response.

    Thanks in advance
    Siva

    Yes, you can run it from any path (if you all the access path to the command)

  • Need help with SQL/PL/SQL for Dates

    Hi Experts - need help with a SQL query.

    I need to insert some date fields in a table called CALENDAR_PERIOD.

    Current data in CALENDAR_PERIOD table with their data types:

    STARTPERIOD (DATE) YEAR (NUMBER) PERIOD_LABEL (Varchar2 255)

    02/11/2014 2014 2014/02/11 SUN

    03/11/2014 2014 14/03/11 MON

    04/11/2014 2014 11/04/14 MAR

    I have to increment above values up to the year 2025. I don't know how to write SQL and increment of these values.

    Ex: My next value should insert: 05/11/2015 2014 11/05/14 WED like that I need to insert data until 12 31, 2025.

    Can you please help me with PL/SQL block?

    Really appreciate your help!

    DB version:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    CORE Production 11.2.0.3.0

    AMT for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production

    NLSRTL Version 11.2.0.3.0 - Production

    Thank you
    Sandy

    Hello Sandy,

    Maybe something like

    INSERT INTO calendar_period (startperiod, year, period_label)

    SELECT DATE '' 2014-11-04 + LEVEL

    , TO_NUMBER (TO_CHAR (DATE '' 2014-11-04 + LEVEL, "YYYY"))

    , TO_CHAR (DATE '' 2014-11-04 + LEVEL, "MM/DD/YY DY")

    OF the double

    CONNECT BY LEVEL<= date="" '2025-12-314="" -="" date="">

    ;

    ((mais je ne comprends pas pourquoi nous créons une telle table "année" et "period_label" peuvent être calculé à partir de startperiod))

    Best regards

    Bruno Vroman.

Maybe you are looking for

  • Difference between "Download clear ' and ' clear list?

    I clicked on the arrow down which is the icon for downloads. I right click on a file you downloaded and I saw an option 'clear list'. Another time, I clicked on 'Show all downloads', then on the top of the screen it displays a tab mentioning "clearly

  • Toshiba Canvio USB external drive does not work well

    I hope this is the right forum for this questionPlease help me with my external hard drive, Toshiba Canvio usb e05a032bau2xk. It worked fine, but not now.My OS is win xp, sp3, home ed. The Toshiba drive is more steady and is almost impossible to work

  • Need driver Win7 for Satellite C75D-A7310 chart

    Hello I have a new Satellite C75D-A7310 and windows 7 64 bit is installed but cannot find the drivers for the video chipset. Does anyone have an idea where I could get it. I tried from Toshiba Web site which was no help. Thank you

  • HP PAVILION G6 2320: upgrade graphics for HP PAVILION G6 2320

    Can I put my graphics for the PC with the configuration below? If so, what are the best options and extent of memory, I can go up to? HP PAVILION TX NB PC 2320 G6 i5 - 3230 M CPU @ 2.6 GHz (Planning to upgrade disk SSD and RAM 4 GB to 8 GB) http://h3

  • Problem with Message of Smartphones blackBerry (storm)

    Someone please... it says there are new unread messages and I can't seem to find them anywhere. Anyone know what to do?