How can store a very large file in Oracle XML DB?

Hello
I m looking for a quick way to store an XML file to an oracle 10 g XE. I was trying to store the file of 500 KB in the database as an xmltype or a clob, but I still have the same error: "ORA-01704: string literal too long." I m looking for a long time the possibility to store this file and one other (113 MB) in the database. I had sought by google to see if there is no solution, and the unique solution is to splitt the document in a loop (due to the limit of 32 KB) instruction. But this solution Don t allow storage with an XML schema and must slow down.
Here is an example how I did it (but it didn t work):
create table world (Nr int. xmldata xmltype);
INSERT INTO global VALUES (1, 'big xml file');
I would also try the alternative with a variable binding as follows:
create or replace PROCEDURE ProcMondial IS
poXML CLOB.
BEGIN
poXML: = 'large xml file ";
INSERT INTO the world of the VALUES (1, XMLTYPE (poXML));
EXCEPTION
WHILE OTHERS THEN
raise_application_error (-20101, ' Exception occurred in the :'|| global procedure) SQLERRM);
END ProcMondial;
I'm also getting the same error: long chain!
I use developer sql for the query.
Please help me, I m desperate.
Thank you!

Michael

This should help
{: identifier of the thread = 887934}

Tags: Oracle Development

Similar Questions

  • How can I retrieve the code behind reports ORACLE XML?

    Every afternoon.

    I need to customize a copy of one of ORACLE's XML reports.  (Receipts not invoiced report - CSTACREP - PL/SQL, stored procedure)

    So I need to work on the data behind the original report model... But how home? Where is he? This is a directory issue somewhere because you can not download the app.

    Thanks a lot a lot for research.

    Al

    #facepalm wrote:

    .. Thank you very much both of you for your help.

    The problem I have is that I only know 11i (and now proceed to r12.1.3) report delopment via rdf style and/or xsl data report models and have no idea how I can take this code in order to create a customized version of it.

    Is there a Note/link somewhere that can tame me through the method of reports customized using PL/SQL procedures?

    Thanks a lot, a lot.

    Al

    There are many examples/docs/tutorials available, just google "XML report customized pls/sql" and you should get a lot of success.

    Oracle, SQL, PL/SQL applications: Development XML Publisher report - using Data Source as PL/SQL stored procedure

    http://erpschools.com/articles/XML-Publisher

    Thank you

    Hussein

  • How you Zip a very large PowerPoint file to email?

    How you Zip a very large file Power Point in order to send email?

    Select the .ppt file. CTRL - or RIGHT click and select compress... from the context menu. There is no assurance that zip the file to reduce its size enough for your needs. In this case you'll need a third-party utility that can split archive into several parts such that you can send each part in separate emails. Notify the recipient which utility you used to replace parts in the file size.

  • How can I save a large number of files tif into jpeg files?

    How can I save a large number of files tif into jpeg files?

    Hello

    You can convert to PDF ' first through batch conversion.

    Please see the following to the same forum thread.

    Batch convert TIFF to PDF

    Once converted to PDF ", you can convert and save in jpeg.

    Hope it will work for you.

    Concerning

    Sukrit diallo

  • How can I convert a PDF file that is larger than 100 MB?

    Hello! How can I convert a PDF file that is larger than 100 MB?

    Hi larissat90944947,

    As you have discovered, there is a 100 MB file size limit for files to download for ExportPDF online service. Acrobat has such a limitation, however. If you want, you can start a free 30 day trial of Acrobat. You can download the trial of http://www.adobe.com/products/acrobat.html.

    Best,

    Sara

  • Very large file upload > 2 GB with Adobe Flash

    Hello, anyone know how I can download very large files with Adobe Flash or how to use SWFUpload?

    Thanks in advance, any help will be much appreciated.

    If the error comes from php there is a server limit, not a flash limit.

    you will need to edit your php.ini or .htaccess file download limit.

  • How can I clean up unwanted files myself?

    How can I clean up unwanted files myself? I seem to be getting much, would it be because im always install stuff and then uninstall. Last night, I deleted 250 very tedious 900 junk folders. Oh, I wxp8 {sp3}.

    Hello ROXANNETUOMI,

    For the problem you describe, I suggest posting this question on the link below.  Please indicate what type of email that you use.

    Microsoft Answers:

    http://answers.Microsoft.com/en-us/Windows/Forum/networking

    Or if you use Hotmail, please see below:

    The question you have posted is bound using Windows Live (hotmail) and would be better suited in the Center to help Windows Live Hotmail. Please visit this link to find a community that will provide the support you want.

  • How can I check Auto .dbx files in My Documents. I have a lot

    How can I see the .dbx files in My Documents. I have a lot

    How can I see the .dbx files in My Documents. I have a lot

    You can not. DBX files contain e-mail messages and are read with Outlook Express. If you have a file with dbx files and included Folders.dbx, you can use the OE import function and import from a store directory.

    If Folders.dbx is not included, then you must import the manually.

    How to restore individual dbx files
    http://www.oehelp.com/backup.aspx#imp1

  • How can I recover all my files that I lost in an accident? I had to use my system recovery disk and install drivers for my computer again. I lost all my files. Is there something I can do?

    Help!  How can I recover all my files that I lost?  I was answering an e-mail message when I heard a couple of clicks then my computer off.

    I thought that my computer was destroyed.  Nothing I tried would bring it to the top, so I decided to use the system recovery disc that

    came with my computer.  I've also downloaded all the drivers for the application.  My computer is back on, but I lost everything.

    It's like putting into service with a new computer.  I had a lot of important information in the files that I lost.  I've tried everything I know to do

    without success.  Is it still possible to recover these lost files?  Thank you very much for your help!

    Hello

    I'm sorry, but when you did the recovery of the system you have disabled your hard drive of everything, including your files.

    You now have a new computer.

    You can try this program (it's free) to see if he 'can' find and recover your files. no guarantee:

    http://www.Piriform.com/Recuva

    See you soon.

  • files and folders: How can I load all my files and folders to my new account of my external hard drive?

    Who can help, I just put a new account on my computer and deleted the old account. I backed up the old files on my external hard drive. I want to know is how can I load all my files and folders to my new account of my external hard drive? I thank you for your time and knowledge have a very nice evening, Shawn

    Because it's a new account (even if with the same name), the restore procedure is unable to put files and folders in the same place, they came (because this place technically no longer - if yes, then the process is done and the transfer is complete). It can create a set of separate files (maybe even under a new user name, if it has been stored in this way).  If so, all you need to do is copy the data as you would copy any other files and folders (not the main files of the user profile themselves but the data in them) on the new files in your user account and who will take care of the transfer. Here is more information about the restore procedure which may help you in the process.

    Here is an article on the restore procedure:http://www.vista4beginners.com/How-to-restore-files to make sure you do this right.  It's a selective restore of a full or selective backup (not a full restore from a full backup) - but since you did a full backup, it matches your process more closely than would a full restore.

    This is a GREAT article on the backup and restore processes in Vista http://technet.microsoft.com/en-us/magazine/2007.09.backup.aspx , but he won't go into detail about the restoration process - considering almost as easy, of course.  But it teaches you a lot about what is possible and how to do it.  It also focuses primarily on the full backup process, but he did mention the full backup and restore process as well.

    Here is an article on the advanced use of restoration (during normal restore does not work):http://www.mayankraichura.com/post/2009/08/06/Avdvanced-Restore-via-Windows-Vista-Backup-and-Restore-Center.aspx.

    Restore files from a backup
    http://Windows.Microsoft.com/en-us/Windows-Vista/restore-files-from-a-backup

    Back up and restore: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/back-up-and-restore-frequently-asked-questions

    I also found the following (but don't know if it of true or not):

    1. after the start of "backup and Restore Center."

    2. I chose "Advanced Restore"

    3. I was did not an administrator password... maybe because my account is an administrator account.

    4 choose "files from a backup made on a different computer.

    5. in the dialog box indicating "Select the location of the backup to restore", select "hard drive, CD or DVD...". »

    6. under the drop-down list box, select your drive/partition and continue

    7. If all the backups on your drive, it will show a list of them.

    8. in my case, he showed a backup, but in the backup location, it will show "backup location is not available."

    9. I was frustrated, but then I somehow just select this backup (Yes... even if he said that thebackup location is not available " ")

    10. and you press "next".

    11 guess what... no error!

    12. a window appeared asking me if I wanted to do a full restore, or I want to select specific folders or files.

    13. I selected the folders I wanted to restore and bingo... it their restored smoothly.

    14. so that the next time see a mistake, try to continue with him... ;)

    I don't know if this will help, but it does not provide much information about the process (when it works).

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How can I convert a .mp4 file to a .wav file?

    What is the difference between a .mp4 and .wav file?

    How can I convert a .mp4 file to a .wav file?

    Hello

    MPEG-4 (.mp4)

    MPEG-4 is a specification of the international standards organization (ISO) that covers many aspects of multimedia presentation, including compression, creation and delivery. Although the video compression and file container definition are two entities separate and independent of the MPEG-4 specification, many people mistakenly believe that the two are interchangeable. You can implement only the parts of the MPEG-4 specification and stay compliant.

    The file format MPEG-4, as defined by the MPEG-4 specification, contains encoded MPEG-4 video and audio content encoded AAC Advanced Audio Coding. He usually uses the .mp4 extension. Windows Media Player does not support playback of the .mp4 file format. You can reproduce .mp4 media files in Windows Media Player when you install the decoders compatible DirectShow MPEG-4 packs. MPEG-4 compatible DirectShow decoders packs include the Ligos LSX-MPEG Player and the EnvivioTV player.

    Audio for Windows (.wav)

    Versions of Windows Media Player that support this file type:

    Windows Media Player 7

    Windows Windows XP Media Player

    Windows Media Player 9 Series

    Windows Media Player 10

    Windows Media Player 11

    Windows uses the file Wave Form Audio (WAV) format to store sounds as waveforms. One minute of its coded in PCM Pulse Code Modulation can occupy as little as 644 kilobytes (KB) or 27 megabytes (MB) of storage. This size of the storage space depends on the sampling frequency, the type of sound (mono or stereo), and the number of bits used for the sample.

    Similar in format AVI, ASF, WAV is a container file only. Audio content that is compressed with a wide variety of codecs and that is stored in a .wav file can be played in Windows Media Player if the appropriate codecs are installed on the computer. The most common audio codecs that are used in .wav files include Microsoft Adaptive Differential Pulse Code Modulation (MS ADPCM) and uncompressed Pulse Code Modulation (PCM).

    I also suggest you to perform a search engine of search favorite you hot to convert a .mp4 file to a .wav file.

    WARNING: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • How can I find out what files are multiplying?

    More about 700 meg hard drive / day.    How can I find out what files are multiplying?   I have the total space 1 t, exhausted 600 g.   Is there a directory command in w7?

    Tried to reset in time earlier, but had «system restore did not finish sucsessfully.»  Your computer setttings, unmodified files.   unspecified error has occurred (Oxc0000022)

    Recently installed WD backup items and ran about 4 times, but says backup windows no backup has never been run.

    Thanks for any help:

    http://answers.Microsoft.com/en-us/newThread?Forum=Windows&threadtype=questions&cancelurl=%2Fen-us%2Fwindows

    Investigating disk space use to download, install and run Treesize (freeware) as an administrator.
    http://www.Jam-software.com/treesize_free/

    Place a Treesize shortcut on your desktop, right-click on the icon and select run as administrator to open Treesize. You must run as administrator to see all the files.

    Information about Treesize
    http://www.Jam-software.com/treesize_free/

    When you open Treesize scan select in the Menu and you will see a list of drives. Click on C and it will generate a list of files. Display names and 6 larger files sizes and the total at the top of the list.

  • How can I combine two PDF files on the same page?

    How can I combine two PDF files on the same page? Please share any ideas you may have. Thank you.

    The term for what you want to do is called "page imposition.  There are third party tools that can do it for you like this: quite large: home page

  • How can I attach a PDF file to an employment application?

    I have the ipad to Apple 4 with the last update ios8, my question is... How can I attach a PDF file that is recorded in a job application that I do online? I installed Adobe reader on the App store.

    Hi Simon,.

    Unless this application has the ability to attach a PDF document with her, I am sorry that you can not.

    Kind regards

    Ajlan Huda.

  • InDesign CS5 and CS5.5, how can we get a large amount of text in MS Word in the pages?

    InDesign CS5 and CS5.5, how can we get a large amount of text in MS Word in the pages?

    I'm just looking to get started.

    It's easy to get a small amount of text - I am using simple methods of "copy / paste" but I have a document which is over 70 pages in size.

    I have it in MS Word format and PDF format and are seeking to use either format (not both)

    Please can someone help me?

    Terry

    File > Place. Go to the Word file.

    Shift + click on the page of your document.

    Bob

Maybe you are looking for