Blob to xml is there any other fast way without decpricated functions.

Hi,
1)please tel me is there any good way of getting xml from blob column or this is good? (function should not be deprecated or future it should not be discuntinue and it should be efficeant way of getting value)
2) also tel me which csid is good defalult DBMS_LOB.DEFAULT_CSID or any other
and storeage will be blob that i can not change.
create or replace
FUNCTION BLOB2CLOB(L_BLOB BLOB) RETURN CLOB IS
L_CLOB CLOB;
L_SRC_OFFSET NUMBER;
L_DEST_OFFSET NUMBER;
L_BLOB_CSID NUMBER := DBMS_LOB.DEFAULT_CSID;
V_LANG_CONTEXT NUMBER := DBMS_LOB.DEFAULT_LANG_CTX;
L_WARNING NUMBER;
L_AMOUNT NUMBER;
BEGIN
DBMS_LOB.CREATETEMPORARY(L_CLOB, TRUE);
L_SRC_OFFSET := 1;
L_DEST_OFFSET := 1;
L_AMOUNT := DBMS_LOB.GETLENGTH(L_BLOB);
DBMS_LOB.CONVERTTOCLOB(L_CLOB,
L_BLOB,
L_AMOUNT,
L_SRC_OFFSET,
L_DEST_OFFSET,
1,
V_LANG_CONTEXT,
L_WARNING);
RETURN L_CLOB;
END;
'<numbers>
<number id= "1">one</number>
<number id= "2">two</number>
<number id="10">ten</number>
<number id= "6">six</number>
</numbers>'
above xml is in abc table col blobcol (type is blob)
select XMLCAST(XMLQuery ('for $num in /numbers/number
where number($num/@id) > 5
order by number($num/@id)
return $num/@id
passing by value XMLPARSE(CONTENT blob2clob(BLOBCOL) returning content)
AS VARCHAR2(100))
from abc;
yours sincerly.
Edited by: 944768 on Dec 29, 2012 1:21 AM

Well, I was talking about XMLtype (type ) and its constructors. And that has nothing to do XPath or Xquery or deprication.
I would suggest that you always use the most appropriate datatype for storing your data, i.e. use XMLtype for XML, clob for large text and blob for binary data.
And for the use of (depricated) Xquery or Xpath functions and operators exists another forum, XML DB

Similar Messages

  • I would like to restore my iphone to ios 4.3.5 from 5.0.1. i've tried and watched videos over youtube  and it doesn't helps. is there any other specific way? the ios 5.0.1 makes my phone crash and drains my battery whenever i tried to switch it back on.

    i would like to restore my iphone to ios 4.3.5 from 5.0.1. i've tried and watched videos over youtube  and it doesn't helps. is there any other specific way? the ios 5.0.1 makes my phone crash and drains my battery whenever i tried to switch it back on. kindly help me.

    There is no legit way to do this at all.

  • Are there any other methods which has same functionality as Ensure method in Sharepoint

    Hi,
    Am using "Ensureuser method" which will checks whether user belongs to the user list in share point  if not it will add the user to list.Is there any other method which can be used in the place of  "Ensureuser method" because
    am facing some problem with it.
    Thanks in Advance.

    Hi Shilpa,
    Am assigning permissions for folders in document libraries to users in external active directory.While assigning permissions to users am using Ensure User method but because of this method some of users are losing permission to folders even after assigning.so,
    am searching for any other method can i use in place of this Ensure User method to overcome my problem.Can I add permissions to user without using Ensure User method?
    Thanks in advance.

  • Is there any other way to get Adobe Captivate help?

    Hi guys,
    is there any other way to get Adobe Captivate specific help? I've posted a question twice with no help, it's very specific, so no one here might actually know the solution. I'm wondering though, since the chat is obviously not for Captivate users with product or service questions.
    Is there a tech team I can somehow contact? We really need an answer to the problem.
    Thanks,
    Nat
    P.S. I'll post the problem again here:
    We publish mp4 training videos as HTML5 content and have the problem that we need to restrict the player to only play/pause.
    Adobe Captivate 7 works fantastic for us on almost all devices, many Androids, many browsers, and even on iPad. Captivate, after adding the video as a multi-slide video to one slide and publishing it as HTML5 content, only lets the student play and pause the video - just what we need.
    But then we test it on iPhone and the iPhone's internal quicktime player recognizes the mp4 video and kicks in, gives the student all the functions they want, totally overrides the HTML5 published Captivate restricted playback options.
    Is there ANY way we can get around that? Any function or box we haven't checked before publishing the HTML5 content?
    We would even be happy, if the video wouldn't play on iPhone - just as long as they can't use it to fast forward to the end of the video.
    Does anyone here know how to bypass the internal iPhone 5 player?
    Thanks,
    Nat

    By the way, I have updated to the newest Captivate 7 version and am using iOS version 7.0.4.
    Again, it's fine on iPad, but not on iPhone 5.

  • Is there any other table like BSEG with same fields.

    Hi Abapers,
    I want to use BSEG table.But due to some promblem BSEG table is not supporting.So is there any other table like BSEG with same fields.
    can any one help me.
    with regards

    Since performance may be an issue when hitting BSEG table
    Any of the below accounting tables can be used.
    1.BSAD
    2.BSAK
    3.BSAS
    4.BSID
    5.BSIK
    6.BSIS
    These are normal database tables, not clusters. Normally every record from BSEG can be found in one of these 6 tables. The program which selects data
    From these tables runs faster than from BSEG.
    Plz reward if helpful.
    Thanks.
    Ramya

  • I have an older ipod shuffle that will not continue to charge when i plug it into my laptop.  is there any other way to charge an ipod shuffle?

    my older ipod shuffle will not charge on my laptop.  it starts and then stops after the light blinks four or five times.  is there any other way to charge a shuffle?

    Hello there, gallo2432.
    The following Knowledge Base article offers up some great  information on how to charge your iPod shuffle:
    iPod shuffle: How to charge the battery
    http://support.apple.com/kb/HT1477
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • My iPhone 4s notified me that I had to manage my storage  so I deleted  apps that used a lot of space I deleted almost all my picture and it still keeps telling me  I don't have enough storage  is there any other way I can make room on my phone ?

    My iPhone 4s notified me that I had to manage my storage  so I deleted  apps that used a lot of space I deleted almost all my picture and it still keeps telling me  I don't have enough storage  is there any other way I can make room on my phone ?  Were it shows how much storage  I have available it still says 9.9 even after all that I have done so I don't know if I need to change my storage plan or what but anything will help I guess

    Check for 'others' in iTunes against your iPhone.
    Restore from a previous backup to reclaim some of it.
    Still want more, Restore in iTunes, setup as New.

  • Can we use Apple tv to present with iPad wirelessly but no internet? if not, is there any other way?

    Can we use Apple tv to present with iPad wirelessly but no internet? if not, is there any other way?  Please tell me what's the best solution if I want to present what's on the iPad screen to TV or projector withtout using internet network or small range of bluetooth. 

    yes

  • I can no longer change my song names like i used to. i use to be able to right click and go to "get info" and then change the song name, artist and album, now i can't is there any other way to change the songs name and info

    When I get songs and put them on my itunes accout on my computer I used to be able to rename them right clicking, going to "get info" and then renaming everything I wanted like song name, album and artwork. I also use to be able to click on the song then click and hold on it and be able to rename it. But all the songs I have gotten after the last update have not been able to be renamed in any of the old ways I use to be able to. Is there any other way to rename songs because I know I can't undo updates and that seems to be whats causing it.
    Thankyou for your time

    You are describing an iTunes problem, not an iPod touch problem. Try posing in the iTunes forum.

  • I Tunes has lost a large proportion of my music library.  The music in question is however still on my IPod.  Is there any way to sync backwards so the IPod updates ITunes?  Or is there any other way I can try to recover the lost music files?

    I Tunes has lost quite a large proportion of my music library.  I think this may have happened when I tried to download a previous version of ITunes that failed to load.  Whatever, the music is still on my IPod.  Is there anyway files on an Ipod can be transferred back into ITunes?  Or is there any other way I can try to recover my music files?  Also, I no longer have any confidence in ITunes ability to store data efficiently and wonder if there is any way I can back up my IPod outside ITunes?

    Your i-device was not designed for unique storage of your media. It is not a backup device and media transfer was planned with you maintaining a master copy of your media on a computer which is itself independently backed up against loss.  To use a device with a new computer you transfer the content from the old computer (or its backup) directly to the new computer, not the device to the new computer. Media syncing is one way, computer to device, updating the device content to the content on the computer, not updating or restoring content on a computer. The exception is iTunes Store purchases which can be transferred to a computer.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - only purchases from iTunes Store
    For transferring other items from an i-device to a computer you will have to use third party commercial software.  See this document by turingtest2: Recovering your iTunes library from your iPod or iOS device - https://discussions.apple.com/docs/DOC-3991

  • I have photos on my iPad that I want to delete. This is my problem. I synced them from my ex-husband's Mac. We are no longer together therefore I don't have access to his computer or iTunes account. Is there any other way to delete them?

    I have photos on my iPad that I want to delete. The problem is I don't have access to the computer used to sync them. It was my ex husbands computer and iTunes account. Is there any other way to delete them?

    Not sure is any of these methods will work.
    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • Since I have the newest version of itunes, I can't back up like normally. The only way is to considilate files and then put them on an external drive which I don't have. Are there any other options? If I can't back up to a disc like I used to, can I inste

    Since I have the newest version of itunes, I can't back up like normally. The only way is to considilate files and then put them on an external drive which I don't have. Are there any other options? If I can't back up to a disc like I used to, can I instead just keep everything on my ipod and then if I have to get a new computer or something just download all my songs from the ipod to my new computer's itunes? Will that work? Will I still be able to keep all my songs that way?

    I'm going to assume the consolidating files does not work due to hard drive space limitations.
    Since you're moving to Windows 7, have you tried using the Windows files and settings transfer utility?  That will move everything for you to the same location on the new computer, it also allows some control over what actually gets moved.
    Alternatively, if you know the location of all of the media, it can be manually moved by copying it from the old computer to the new computer in the same location.
    Also, using the Apple article on moving the library, take a slight twist on what it says.  Move the iTunes library to the external drive, update the settings in iTunes to reflect the library being on the external drive, then consolodate it.
    The options are endless for moving the library... it simply takes a little effort to make it happen and possibly a twist on existing "standard" methods depending on your unique situation.

  • Is there any other method so that I can contact Apple to get IMEI number ? since the phone was shyncronized several times in apple store / iCloud.

    Hello community members, my iPhone has been stolen and I tried to contact police, they are asking for IMEI number of the phone. Unfortunately I could not read the IMEI number on the box due to moisture wiped out most of the number on it. I sacanned it in and enhanced, I'm still unable to read out the number. Is there any other method so that I can contact Apple to get IMEI number ? since the phone was shyncronized several times in apple store / iCloud.

    If you backed up your iPhone in iTunes on your computer -
    Open iTunes - Edit - Preferences - Devices - See Device Backups in the Window.
    Hover mouse/curser on any backup. Read IMEI and Serial no. your of iPhone.

  • I'm trying to backup a my harddrive with disk utility but I'm getting an error  Unable to create Backup.dmg" (input/output error). Is there any other way to save my data? I believe my hard drive is failing or corrupt file. I can't boot up. Grey screen

    I'm trying to backup a my hard drive with disk utility but I'm getting an error  Unable to create Backup.dmg" (input/output error). Is there any other way to save my data? I believe my hard drive is failing or corrupt file. I can't boot up. Grey screen and spinning wheel. I've tried everything https://discussions.apple.com/message/20580424#20580424
    any help will be greatly appreciated.

    Check here. Also have you done a TimeMachine back up?
    http://support.apple.com/kb/TS2570

  • Are there any other hidden editing options?

    Thanks to this forum, I've found the redeye tool in iPhoto to be quite useful, but this wasn't the case before I found out about the Caps-Ctrl-9 trick that was posted in this forum.
    Are there any other tricks that anyone has discovered in iPhoto that isn't mentioned in the help list?
    And any speculation as to why these tools aren't mentioned in the help file? I mean, at first I was ready to give up on iPhoto because of the weak redeye. Why wouldn't they show us how to do this?
    Thanks again to everyone here for contributing and making this a great place to learn about my Mac!
    Paul
    15" MacBook Pro 2.33GHz   Mac OS X (10.4.8)  

    Paul:
    Welcome to the Apple Discussions. There is a hidden feature for changing the Redeye and Retouch tool size:
    How to Change the Size of the Retouch and Red-Eye Removal Tool
    Type Caps lockControl9
    Undo caps lock
    Click on the Retouch or Red-Eye Removal tool
    The tab key will toggle between cursor types, a cross or a circle
    The "[" and "]" keys decrease or increase the size accordingly.
    NOTE: Using the "{" "}" keys will will change the value next to the circle and that represents the degree of change or intensity that the tool imparts on each pass.
    Also check out the tip at the end of my signature for backing up the library database file on a frequent basis.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application, iPhoto dB file backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

Maybe you are looking for

  • How to transfer pics from 1 library to another iPhoto

    How can I transfer pics from one iPhoto library to another iPhoto library, without having duplicated the space on the harddrive? Will the space (GB) duplicate when I copy the pics from one library into the other and delte the 1st one or will it stay

  • Can't view pictures on Samsung Galaxy Note3 since the new update!!

    i have a samsung galaxy note 3.  Since this latest update, my phone is slower and I can't view pictures in my Gallery.  It takes forever to load and a notification window will appear asking if I want to Wait or iif I want to Close?!  Also, I've delet

  • FLASH/Captivate

    I am having an issue with Flash/Captivate. I created a drag and drop in flash and when the user drag and drops they get a result. After the result the captivate movie is suppose to go to the next slide. How can I make this happen in FLASH making the

  • Installation problems exit code: 6

    Exit Code: 6 -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 3 error(s), 14 warning(s) WARNING: OS requirements not met for {33A3F995-8333-4676-8D6F-AB7674BB52EA} WARNING: OS requirements not

  • Component information in WCC DB

    Hi, When a component is created in component wizard in which table of wcc database the component information is stored? Thanks, Lionel.