How can I get a dbms_xmlgen.getxml sql statement to write to a file

I tried several things by using dbms_xmlgen.getxml to work in the generator from Oracle 10 g:
Select dbms_xmlgen.getxml ("select prefix, suffix, fiscal_yr")
OF rcv.recv_accessions ra
where ra.prefix = 8 and ra.fiscal_yr = 11') double xml;

It works very well in pl/sql developer, but not in the form builder.
I get the following error in the form builder:
Restriction of implementing: 'NONE': cannot directly access the slider or the package variable remote

I also tried the following without success (with the exact same error as above):
qryctx: = DBMS_XMLGEN. NEWCONTEXT ("select the prefix, suffix, fiscal_yr")
OF rcv.recv_accessions ra
in the case where ra.prefix = 8 and ra.fiscal_yr = 11');
DBMS_XMLGEN. SETROWTAG (qryctx, 'HIV');
result: = DBMS_XMLGEN.getXML (qryCtx);


So, how do a query to output to a file in XML format in the form builder?
Thank you

The function DB would be something like this:

create or replace function get_xml
return clob
is
   result   clob;
   qryctx  dbms_xmlgen.ctxHandle%type;
begin
   qryctx:=DBMS_XMLGEN.NEWCONTEXT('select prefix, suffix, fiscal_yr
       FROM rcv.recv_accessions ra
       where where ra.prefix = 8 and ra.fiscal_yr = 11');
   DBMS_XMLGEN.SETROWTAG(qryctx,'SERO');
   result := DBMS_XMLGEN.getXML(qryCtx);
   return result;
end;

In your trigger of W-B-P, then simply:

declare
   v_xml    clob;
begin
   v_xml := get_xml;
end;

Tags: Oracle Development

Similar Questions

  • How can I get rid of the red balls with the exclaimation, on files brands?

    How can I get rid of the red balls with the exclaimation, on files brands?

    What is the kind of thing you're talking about?

    https://community.McAfee.com/thread/37128?start=0&TSTART=0

    As well as McAfee online backup, similar icons are seen with Mozy backup.

    It seems that the McAfee online backup is difficult to turn off without uninstalling all your McAfee products or do a custom reinstall. If you are a user of McAfee, I suggest that you contact for advice.

  • How can I get Windows 7 to recognize my NAS drive as a file server?

    I just bought a new desktop computer with Windows 7 (the first time I used it at home).  I have three drives NAS; one of them is an of Maxtor Central axis.  I use the Central axis as a file server, it has Word, Excel and other Office files in addition to my music library and a handful of videos.  Whenever I try to open a document, say Word, Windows 7 does not show the Maxtor under my network.  It shows one of the other drives NAS (Iomega).  When I right click on the network, click "Open in a new window", I see the Maxtor drive. However when I click on it, Windows will open Windows Media Player.  I see only three songs, which aren't even mine; I think they were samples placed on the disk by an application.

    Other machines on my network (a computer laptop PC and Mac) continue to be able to see the of Maxtor Central axis.

    I can open my documents giving the fully qualified network path "\\Mca-054e16\Public", but it's a pain.  I can't map a drive letter for the drive; I just get the small circle who constantly.

    How can I get Windows 7 see Maxtor Central Axis like a file server and not only a media server?

    Thanks in advance for any help that anyone may be able to provide,

    Nolan

    Hello

    ·        How do you set up the network?

    ·        Have you used a Maxtor software?

    The Seagate knowledge base indicates that his NASwas released before the release of Windows 7. Therefore, it has not been tested in this environment and is not supported by Technical Support. http://Seagate.custkb.com/Seagate/CRM/selfservice/search.jsp?docid=211931&NewLang=en&HiLite=Maxtor+central+axis+Windows7#note

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • How can I get the reasult like SQL

    The SQL code:
    SELECT ABAN8, ABAC01, A.AC01DSC, ABAC02, B.AC02DSC, ABAC03, C.AC03DSC, ABAC04, D.AC04DSC, DRSY, MOVING IN THE PRODDTA. F0101
    LEFT JOIN (SELECT DRSY, DRRT, DRKY, DRDL01 AS AC01DSC FROM PRODCTL. F0005 WHERE DRSY = '01' AND '01' = DRRT) ON TRIM (ABAC01) A = TRIM (A.DRKY)
    LEFT JOIN (SELECT DRSY, DRRT, DRKY, DRDL01 AS AC02DSC FROM PRODCTL. F0005 WHERE DRSY = '01' AND DRRT = '02') ON TRIM (ABAC02) B = TRIM (B.DRKY)
    WHERE ABAN8 = '20000 '.

    1.I import two tables F0101 and F0005
    2.i creat the joint complex physical schema:
    TRIM (BOTH 'PRODDTA. F03012 ". AIAC01) = TRIM (BOTH 'PRODCTL. F0005. DRKY)

    OR

    TRIM (BOTH 'PRODDTA. F03012 ". AIAC02) = TRIM (BOTH 'PRODCTL. F0005. DRKY)
    3.I creat the comlex participate full diagram
    4.I creat two Soursces
    The first is for AC01
    Second, one is fo AC02
    5. in the responses, I can't get the reasult.
    How to do? Please help me!
    Thank you very much.

    1. create a separate query to SELECT DRSY, DRRT, DRKY, DRDL01 AS AC01DSC FROM PRODCTL. F0005 WHERE DRSY = '01' AND DRRT = '01'
    2 create a query seprate for SELECT DRSY, DRRT, DRKY, DRDL01 AS AC02DSC FROM PRODCTL. F0005 WHERE DRSY = '01' AND DRRT = '02'
    3. Insert a query and drag the PRODDTA table. F0101 in the catalog, select the top of the query results. now join a left outer join on two results with the main request.
    4. use the filter and create a where condition. run u should get the desired result.

  • How can I get the logic of sql from the catalog or the obiee Manager

    I try to get the logic sql behind a report. Can someone help me how to get sql obiee presentation services or from Catalog Manager

    Hello

    Addition to the response of Srini, you know that there is a new view in g 11 responses to display SQL logic? Just choose in the analysis-> results-> new view-> other-> SQL-> Standard SQL logic views.

    I hope this helps.

    Diakité

  • How can I get a refund?  I'm unable to convert pdf files.

    I would like to know how I can get a refund.  I bought earlier today adobe reader software to convert a pdf file, I tried several times to convert the file, but I get the same message to try again.

    Hi Hollywood2020 ,

    I would like to inform that Adobe Reader is a free application, could have bought service Adobe export in PDF format to convert PDF files. Refund, please refer to this article:- return, cancel or Exchange an Adobe order

    Kind regards

    Christian

  • How can I get the best video quality on a DVD from .avi files?

    This first effort with elements first 13, I had a company to convert my movies to 50 (8mm) in digital files (.avi).  But the company cannot know how their sequence so I will try to make the DVD 'movies '.  I want to make for parents to use (so they work in most consumer DVD players).

    I tried to make Blu - ray movies, but (using M-record) they wouldn't even play in my Blu - ray player.  Then I tried to make AVCHD movies, but 31% of the process, I get a "transcription error."  So I made DVDs with the program, but the quality is (I think) even worse 8mm films they came.  They appear more grainy for me until I discovered the files on the computer.

    Question 1: Can I do better?

    1a: If that AVCHD would be better, is my problem only to use the right type of disc?

    Question 2: Each film PREL only 30 minutes and uses less than 2 GB to the drive.  Assuming that better quality images would use even less than 4.7 GB, is there an easy way to combine two movies PREL?  Making each .avi files has been a challenge...

    -First elements 13

    -DVD - R verbatim discs

    -HP laptop burner

    Very well! This is a video of good quality, editable file. However, this is a standard definition video file and it will not produce a good high-def or BluRay video.

    That said, when you add the video to your timeline first 13 elements, the program should implement your project according to the specifications of your video. And, When you do, you should be able to easily output a very nice DVD to research.

  • How can I get my Windows Home Edition Basic, backups of only changed files, it will only make full backups?

    Hello

    My Windows Home Basic Edition will only make full backups.

    I just want to make backups of my modified files and it doesn't let me do.

    I think I'm missing a few steps on the page where I can change the settings.

    I also had some problems with my Internet explore

    I have dial for my aol.

    Please help me.

    bjssnoopy

    Hello

    My Windows Home Basic Edition will only make full backups.

    I just want to make backups of my modified files and it doesn't let me do.

    I think I'm missing a few steps on the page where I can change the settings.

    I also had some problems with my Internet explore

    I have dial for my aol.

    Please help me.

    bjssnoopy

    Related to Internet explorer, you can download Firefox from http://www.mozilla.org or Chrome from http://www.google.com/chrome and use them as alternatives.

    Regarding backups, I suggest avoid you the Windows backup program and you get a good commercial backup program. This forum meets for a windows problem reports. I know that I was very impressed when I tried it. Three I'm familiar with and like Norton Ghost (which I use for 8 years no 1 problem), Easeus Todo Backup free, you can download it on http://www.todo-backup.com/products/home/free-backup-software.htm and Memeo, which has 30 day free trial and you can buy it for $29.99 - you can download it from http://memeo.com . You can get Ghost for almost nothing (like me), if you look at the sales.
    The March 2012 issue of PC World is very high on Easeus FREE program, and I was recently tested in a variety of configurations and must say that I am very impressed.  As Ghost will support up to a network drive and it will create a bootable CD for when your PC does not start.  See commentary to PC World to
    http://www.pcworld.com/downloads/file/fid, order 80031, 4/description.html .
    -
    CNET has a lot of reviews of backup program to
    http://download.cnet.com/windows/backup-software/?tag=contentBody;sideBar .

    Some of them are free (the last time I checked there over 300), some have free trials (more), and some are buying only (more than 200).
    -
    External hard drives are the best for backup. You can get a 500 GB one for $70 and a 1.5 to one for about $90. You can also buy a flash drive 16 GB for as little as $10. It is the best insurance you can buy ever!

    -
    I hope this helps.  Good luck

  • Sir, I have windows 7, after the creation of PDF files the icon was in solid color red and grey, but now the icon changed to adobe acrobat 7 professional, logo, how can I get the icon or the old logo for my PDF files as the previous icon is very easy to i

    Mr President

    I have windows 7, after creation of the solid color red & gray icon PDF files, but now the icon has changed to adobe acrobat 7 Professional logo, how do I re obtain the icon or the old logo for my PDF files as the previous icon is very easy to identify, also I used acrobat adobe 7 Professional but this problem was not there.

    Hi manojp35249311,

    Acrobat 7 is not compatible with Windows 7, so it's difficult to judge how the application on an incompatible environment will behave.

    Please attach a screenshot so that we can diagnose the problem correctly.

    Kind regards

    Nicos

  • How can I get 11 items to open a Panasonic Lumix FZ1000 raw files?

    I can't open the files of my Lumix FZ1000 in 11 elements.

    If anyone can help?

    Thank you?

    The DMC-FZ1000 did not support until Camera Raw version 8.6.

    11 items delivered with Camera Raw version 7.1 and can be updated to 7.4.

    Your choice is upgraded to 13 items or get the free DNG Converter to convert your RAW DNG for use among the 11 items.

  • Why Windows backup all files to predefined backup weekly? How can I get to only add additions and changes to the backup files?

    I back up my files to an external hard drive.  Rather than simply add changes or additions, it adds all the files each time, causing the hard drive fills up quickly.  This problem was not always present; It began less than a year ago, so I wonder if it was caused by an update.

    Hello

    Method 1: the link below will help you to set or change automatic backup settings:

    http://Windows.Microsoft.com/en-us/Windows-Vista/set-up-or-change-automatic-backup-settings

    Method 2: you can also check out the link below:

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

    I hope this helps!

  • How can I get 13 items to read the RAW of Nikon D750 files?

    I move my camera since Nikon D3200 to Nikon D750. With the D3200 I used 11 items to edit JPEG and RAW files, but discovered today that 11 elements is not compatible with the D750 to read RAW files. I downloaded the trial version of 13 items - which is compatible with the Adobe help desk, but taken with the D750 RAW files aren't always be seen. However, I don't see the RAW files that I took with the D3200.

    Same card memory is used and I formatted the card when I changed from one camera to another.

    What I am doing wrong? I almost always shoot RAW, so I need to be able to the files.

    I wonder if the 13 elements is really compatible with the D750.

    I want to add that I use a Mac.

    Thank you!

    Shannon

    Just use help > updates in the element editor 13 photoshop to get camera raw 8.7, so you don't have to use the DNG converter and then you will be able to open the nikon D750 directly in 13 EPS files.

  • How can I get a copy of my statement, which has been charged on my credit card?

    I was charged for my annual dues, but I can't find any mail copy of the present and are in need of repayment. I don't see any place to download a copy of this. Grrrr

    Hi , recruiter2013,

    Please see this: print a received payment or invoice. Cloud Creative

    You can find the instructions to print your invoice in the payment section & credit cards.

    Kind regards

    Florence

  • my emails have been removed some how. How can I get back them?

    my emails have been removed some how. How can I get back them?

    Same Hotmail must have a file deleted somewhere? I know that Gmail and it has 30 days of deleted messages.

  • My daughter bought InDesign CS5 inscribed at the University of Albany. Since then, she hasn't needed InDesign and I would like to move to my computer but cannot access his old email. Support is a joke (running around in circles). How can I get this on my

    Since then, she hasn't needed InDesign and I would like to move to my computer but cannot access his old email. Support is a joke (running around in circles). How can I get this on my machine? I have all the files download, she had.

    Legally, you can't transfer a teaching license.

Maybe you are looking for

  • How to import my AOL address book?

    The address book can I access it through Firefox is different from that I get when I open AOL directly instead of through Firefox. Change I made to the address book in AOL do not appear in the address book in Firefox.

  • open message format

    When I opened a new email I get sudden pages of resembles what the following. What should I do to solve it. Thanks in advance for any help. is 09 is 09 = 09 = 09is 09 = 09 = 09 = 09 is 09is 09 = 09 = 09 = 09 is 09 = 09is 09 = 09 = 09 = 09 is 09is 09

  • Netflix does not work in Vista Media Center window

    I am trying to use my Netflix account in Windows Vista Media Center, but when I click on the portal itself I get this POP UP: INTERNET CONNECTION There was a problem of data recovery. Check the works of your internet connection and try again. I am co

  • Keep, send a message, this computer is low on memory

    Original title: low memory I have a Compaq laptop with 2 GB of memory running with Vista, I get a message that my computer is low on memory.  When I check the Task Manager it shows 88 percent used physics.  This leaves little to run certain programs,

  • Speaker not working after installation of Service Pack 1 of Vista.

    I have been under Vista Home Premium on my laptop for about 2 years, but have only now went on the internet with it.  I did the updates of windows, including Service Pack 1.  Now the speaker on the laptop does not work.  If I put the mouse on the spe