How can I remove the rowset element

Hi,
Does anybody have an example of how to use the xmlformat object. The documentation says there is a setenclosingelementname method which enables you to change (and hopefully remove) <rowset> to something else, but I can't seem to find an example of its use in the documentation
I have generated my XML using sys_xmlagg in version 9.2.0.4
Any help will be much appreciated.
Gary

Hi,
Though I have not used this package I think the following may help you.
While using dbms_xmlquery to get the XML , there's one built-in by name dbms_xmlquery.setrowsettag
which helps you to change the rowset tag.
HTH
Elango.

Similar Messages

  • How can we remove the key from the dataset which has json

    uid
    id
    Json
    4588
    51
    { "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
    4589
    52
    { "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
    4590
    53
    { "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
    I have the above dataset resulting from merge operation .
    UID -Integer data type
    ID- Integer data type
    Json- String data type holding json document
    How can I remove  the " key" element from the json field  and make my dataset look like 
    Expected output which will strip of key value pair from the json column
    uid
    id
    Json
    4588
    51
    { "element1":{ "a":10 "b": "test1" } }
    4589
    52
    { "element1":{ "a":10 "b": "test1" } }
    4590
    53
    { "element1":{ "a":10 "b": "test1" } }
    Mudassar

    Hello Mudassar,
    In SQL Server / T-SQL we don't have a native JSON support, so you would have to implement a solution on your own = parsing the string and remove the "Key" + it's value.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • When uploading to Facebook how can I remove the "via Photoshop & Adobe Premiere Elements Uploader" ?

    Hi everyone,
    I am slowly getting to grips with Premiere Elements12.
    When uploading to Facebook how can I remove the "via Photoshop & Adobe Premiere Elements Uploader" ?
    I see there was an earlier posting (http://forums.adobe.com/message/3320214#3320214) which was for version 8, and I can understand the issue, but, (assuming its the same issue) has a remove tagline feature been installed??
    Is this also the same in the Pro version?
    Thanks in advance for any good info
    Pete

    Offul Duster
    I do not know if Premiere Pro CS6 CC offers an upload to Facebook export. Strictly an Elements Windows person here.
    The Premiere Pro Forum is a good place to ask about that.
    http://forums.adobe.com/community/premiere
    I do not have any Facebook accounts, so I cannot answer your specific Facebook question, but generalizing I can offer the following suggestions.
    If your issue with Publish+Share/Computer/Social websites/Facebook is with tagging, you might want to check the Facebook web site for the Video Manager section of it (or that by some counterpart name). I know that YouTube at the YouTube web site allows the account holder to go into Video Manager and manage his/her tags for the file uploaded there and displaying. Have you been there and done that type of thing for your Facebook upload.
    Please see
    https://www.facebook.com/help/tag-suggestions
    https://www.facebook.com/help/privacy/photos
    Please review and then let us know the outcome.
    Thank you.
    ATR
    Add On...As suggested in your inserted link, in Premiere Elements can you export to file saved to computer hard drive and then upload that file from there to Facebook at the Facebook web site without the tagging issue?

  • How can I remove the page number from the first page of the document that is the cover page?

    How can I remove the page number from the first page of the document that is the cover page?

    If you open the Pages panel, (Window>Pages) you will see thumbnails of your master pages and your document pages. In new documents, there is usually a master called A-Master and one called None. If you drag the thumbnail of the None master onto the thumbnail of a document page, it will apply that master to that page. Presumably, you have made your page numbers on A-Master, so this will usually do the trick. If you have elements on A-Master that you need on the first page, but just not the page number, you can duplicate A-Master (which, by default will give you B-Master, but you can change the names if you like) and remove the page number on the duplicate and apply that to the document page.
    It might also be worth noting that you can apply master pages in the fly-out of the Pages panel. Go to the fly-out triangle and go down to Apply Master to Pages…, then select a master to apply and the range of pages (1-8 will give you all 8, 1, 3, 5, 7 will be the odds, 1-3, 4, 6-8 if you want continuous ranges and individual pages).

  • How can we remove the following zeros from quantity field ?

    Hi All.
    how can we remove the following zeros from quantity field while populating ALV by using FM REUSE_ALV_GRID_DISPLAY ?
    eg:getting output zqty = 2.000
    but i need           zqty = 2.
    help me to reslove this issue.
    Regards.
    jay

    Hi,
      While populating the field catlog do the following thing to   avoid zeros.
      wa_fieldcat-tabname = 'I_OUTPUT'.    " Curr
      wa_fieldcat-fieldname = 'FWAER'.
      wa_fieldcat-seltext_l = text-023.
      wa_fieldcat-no_zero = 'X'.
      APPEND wa_fieldcat TO i_fieldcat.
      CLEAR  wa_fieldcat.
    Thanks,
    Khushbu.

  • How can we remove the commas from the Formula value in SAP BW BEx query

    Hi All,
    How can we remove the commas from the Formula value in SAP BW BEx query
    We are using the formula replacing with characteristic.The characteristic value needs to be display as number with out commas.
    Regards
    Venkat.

    Do you want to remove the commas when you run the query on Bex Web or in RSRT?
    Regards

  • How can I remove the Apple ID authorization only on one computer and authorize another in his place?

    how can I remove the Apple ID authorization only on one computer and authorize another in his place?

    De-authorize the computer in question.
    Then authorize the new computer.
    Or de-authorize all computers and authorize only the ones that actually exist.

  • HT201363 My iPhone, iPad and iPod are all associated with the same Apple ID.  How can I remove the iPod and associate it with a new Apple ID without affecting the data on the other devices (note: there is no data on the iPod I want to keep)?

    My iPhone, iPad and iPod are all associated with the same Apple ID.  How can I remove the iPod and associate it with a new Apple ID without affecting the data on the other devices (note: there is no data on the iPod I want to keep)?

    Very simple.  Turn off Find my iDevice, then  Tap Settings, General, Erase, Erase all content and settings.

  • I have lost my phone IMEI  Number 012546005322381, Serial Number 87******A4S, is there a way it can be tracked? Also, how can one remove the device from the itunes account

    I have lost my phone IMEI  Number 012546005322381, Serial Number 87******A4S, is there a way it can be tracked? Also, how can one remove the device from the itunes account
    <Serial Number Edited By Host>

    If you enabled Find my iPhone then you should use that. If not, I'm afraid you're out of luck for finding it. 
    To manage your devices, go to Your Account in iTunes.

  • HT3702 how can i remove the authorization hold from my card...

    how can i remove the authorization hold from my card

    You can try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Express Lane, then iTunes > iTunes Store
    How much was the amount ? A 'normal' holding charge is a small amount (e.g. equivalent to about $1), and usually happens after you add or change credit card details on your account. Here in the UK it can take a few working days for it to disappear (so a weekend can extend the elapsed time).
    Edit : I don't know what a non-liability certificate is and/or whether Apple can do one.

  • How can I remove the credits from the apple ID and import it to another apple ID?

    How can I remove the credits from the apple ID and import it to another apple ID?
    I want to remove the credit I have from my apple ID to another apple ID.
    Is there a way?

    No, sorry. You cannot transfer an iTunes credit to another Apple ID.
    Cheers,
    GB

  • How can i remove the U2 Album from my music library

    Dear All,
    In the recent update, one U2 Music album added automatically in my (I think its added by apple in all devices) which i really don't like.
    Please anyone suggest me how can i remove the album from my music library...!!

    Remove iTunes gift album "Songs of Innocence" from your iTunes music library and purchases - Apple Support

  • In My iphone 5s,i have disabled automatic download from whatsapp app.So whichever images,video i feel is good i download them and then save them to my camera roll section.So i want to know how can i remove the images from cache of my phone.

    In My iphone 5s,i have disabled automatic download from whatsapp app.So whichever images,video i feel is good i download them and then save them to my camera roll section.So i want to know how can i remove the images from cache of my phone which are downloaded and not saved,but they remain in cache.
    Even in some apps i have data which i want to remove,but cant find a way to remove them and they are in my cache eating up my memory.

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • I just installed Firefox 5. How can I remove the Bing search from the address bar? I don't want to see Bing at all.

    I just installed Firefox 5. How can I remove the Bing search from the address bar. I don't want to see Bing at all. I tired the Firefox options, right-clicking on the search field and the toolbar selection drop-down but could not find a way to get rid of that unwanted search window.

    *'''at the bottom of firefox''' there is a weird looking greenish circle with a lightning bolt in it*
    1. click it and hover over to '''PREFERENCES'''.
    2. click the second circle that say's '''BING.'''
    3. '''Un-check''' both boxes.
    4. you're done :)
    Note: it's not going to show the google symbol encrypt when you open a new tab it's just going to automatically use google as a search engine.

  • HT1277 how can i remove the email add from a deleted mailbox from the prompts of the 'from' field?

    how can i remove the email add from a deleted mailbox from the prompts of the 'from' field?

    Thanks a lot, roam! That worked

Maybe you are looking for

  • RSA SecurID Software Token for Nokia

    Hi C7-00 is on the symbian^3 platform, which is the same as N8 & E7. While SecurID Software Token for nokia is qualified for N8 & E7, why is it not qualified for C7? They are all on the same platform (Symbian^3) !! When can it be qualified?

  • HT4113 what happens if you forget the password?

    What happens and what can you do if you forgot your passcode? is there anything you can do?

  • XML file size increases GREATLY with ![CDATA[

    I have several .xml files that provide info for a website of mine and was quite surprised to discover, while I was uploading them, that some of them were around 60-70kb, while others were 4kb or less. Knowing that the amount of content in all of them

  • Printers: Postscript vs Adobe PDF

    ID CS2. I'm exporting an ID file to PDF (a book) per printer's instructions by printing it as a postscript file, then running it through distiller. This produces a whopping pdf of nearly 20 mb. Now, if I select Adobe PDF as the printer in ID, I can s

  • Catching Alt Key Press with the Key Down Filter Event

    I am writing an application that requires specific key combinations using ctrl, shift, and alt in addition to a function key (F1, F2, F3, etc).  The application works great except for when I try to catch an alt key press.  The alt key press does not