Including service pipeline to package


I'm trying to insert a function in the pipeline in a package. I always encounter the error: Error (5,20): PLS-00103: encountered the symbol "REFCUR" during awaits one of the following values: =. (@ %; default range no null characters in the symbol ': = ' was replaced by 'REFCUR' continue.)

The following PL/SQL code below:

create or replace package my_pkg as
  type refcur is ref cursor;
  function get_rsn return rsn_tbl;
end my_pkg;
 
create or replace package body my_pkg as
  function get_rsn
    return rsn_tbl pipelined is
      o_cursor out refcur;
      rec rsn%ROWTYPE;
    begin
      open o_cursor for select * from rsn;
      loop
        fetch o_cursur into rec;
        exit when (o_cursor%notfound);
        pipe row(rsn_rec(rec.rsn_cd,                                                                                                                                                                                            
                         rec.eff_dt,                                                                                                                           
                         rec.rsn_desc,                                                                                                                         
                         rec.expr_dt,                                                                                                                                                                                                                                                                                                                                                                                                                                                                        rec.insert_id,                                                                                                                                                                                                  
                         rec.insert_dtmz,                                                                                                                                                                                                
                         rec.update_id,                                                                                                                                                                                                  
                         rec.update_dtmz)
                         );
  end loop;
      return;
  end;
end my_pkg;

Thanks in advance

You said it like pipelined in the package body, but not in the package specification. Must be:

create or replace package my_pkg as

type refcur is ref cursor;

function get_rsn return rsn_tbl in pipeline;

end my_pkg;

But still, I'm not sure what you are trying to achieve. All your code is nothing but:

Select * from rsn.

And if you think that wrapping with function pipeline will make it faster, think again. It will be slower than the plain

Select * from rsn.

SY.

Tags: Database

Similar Questions

  • Where can I find the atg.service.pipeline.PipelineManagerResources files in atg

    Hi people,

    Can you please tell me the location of the file of atg.service.pipeline.PipelineManagerResources resource group. I mean, in the module in which I can find it and path of the source?

    Thank you

    Vishnu

    Hello

    resource files can be found in DAS/lib/resources.jar/atg/service/pipeline package

    David

    Please check the answer as useful or correct if she attends.

  • Windows Servicing identified that package KB972036 (Update) is not applicable to this system

    How can I get rid of this update? I find only information for the installation of updates failed, nothing on the automatic reception of an update through Windows Update that is not valid for my system.

    Windows Vista Home Pemium Service Pack 2
    HP Pavilion DV6700
    Microsoft Office is NOT installed, only the viewers

    "Windows Servicing identified that package KB972036 (Update) is not applicable to this system"

    "Windows Servicing has not finished the process of change update 972036-11_neutral_LDR of State of Staged (Staged) packaging KB972036 (Update)"

    Log name: System
    Source: Microsoft-Windows-maintenance
    Date: 2009-09-02 10:52:50
    Event ID: 4375
    Task category: no
    Level: error
    Keywords: Classic
    User: T24622056-PC\Alan
    Computer: T24622056-PC
    Description:
    Windows Servicing failed to complete the process of the package configuration KB972036 (Update) in install Requested(Install Requested) State
    The event XML:

     
       
        4375
        0
        2
        0
        0
        0 x 80000000000000
       
        103100
       
       
        System
        T24622056-PC
       
     

     
       
          KB972036
          Update
          Install requested
          Package_for_KB972036 ~ 31bf3856ad364e35 ~ x 86 ~ ~ 6.0.2.0
          Installed
          True
          0 x 80070643
          Fake
         
         

       

     

    Hi BrechbieIAD,

    Welcome to Microsoft Vista answers Forum!

    I have a few here that might solve the problem.

    Step 1:

    You may need to start the computer in safe mode and uninstall the update, follow these steps to start the computer in safe mode:

    1 restart your computer if it is running.

    2. tap on the F8 key after your initially on powers computer.

    3. Once you see the menu Advanced Boot Options, you can stop tapping.

    4. use the up/down arrow keys to highlight your selection.

    5. Select Mode safe mode with networking and press ENTER.

    6. you should see loading drivers and wait please.

    7. you should then be at the Welcome screen.

    8. connect to your computer using an account with administrator privileges.

    See the link: http://windowshelp.microsoft.com/Windows/en-US/help/323ef48f-7b93-4079-a48a-5c58eec904a11033.mspx

    Step 2:

    Now, you may need to delete the contents of the download on your system folder, follow these steps:

    Click Start > type download in the start search > delete the folder KB972036.

    Step 3:

    Now, run Windows Update and allow to install KB972036.

    After Windows Update has finished reboot normally and everything should be fixed.

    Hope this information is useful.
    Let me know if it worked.
    All the best!

    Thank you, and in what concerns:
    Swathi B - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I have an old Dell computer with Windows XP Prof installed including service pack 1. All of a sudden, I'm not able to use my password to connect.

    I have an old Dell computer with Windows XP Prof installed including service pack 1. All of a sudden, I'm not able to use my password to connect. I'm sure that the password is typed correctly, but it does not accept it. Now what?

    original title: password problem

    Hello

    Please try some of the suggestions provided in the following article:

    http://support.Microsoft.com/kb/321305

  • I downloaded the trial version of CC PS and then subscribed to the cloud including PS and Lr package. I can't open the PS, just keep telling me that the trial has expired. Any suggetions?

    Can someone help?

    I have subscribed to the cloud including Ps and Lr package after having previously downloaded trial Ps CC.

    Cannot open a newly downloaded Ps, keeps saying that my trial has expired.

    I looked online for help but just keep going in circles.

    Hi gavinjpriest,

    You can allow the software in trial version with your Adobe ID and activate the software.
    The subscription is linked to your Adobe ID

    Kind regards

    Rave

  • Windows update - updates keep crashes when I try to install the updates various, including Service Pack 2 for Windows Vista

    I tried numerous amounts of time to install several updates, including windows vista service pack 2, but whenever I do they keep all default. I have a genuine copy of windows Vista Home premium which is activated, I tried different fix windows tool tips as well as the standalone update. Also, ive tried to download updates from the Microsoft Web site. Can anyone help.

    Hello

    1. do you get an error message?

    I suggest you to follow these steps and check if that helps:

    Method 1:

    If you have installed a security software on the computer, then I suggest you try to disable temporary and check to see if the same problem happens. Make sure that you enable security software back once the diagnosis is made to prevent the computer from virus attacks.
    http://Windows.Microsoft.com/en-us/Windows-Vista/disable-antivirus-software

    Method 2:

    Try to perform the clean boot and check if it helps:

    http://support.Microsoft.com/kb/929135

    NOTE: When you are finished troubleshooting, make sure that restore you the computer mode normal startup such as suggested in step 7 of the above article.

    Method 3:

    Follow the steps in this link and check if that helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-installing-updates

    It will be useful.

  • include the shortcut in package

    We test the Thinapp solution and of the DBMS is a customer navision Ms. We need to specify a server name and temp file locations when we start to the customer. So we used to specify this information in the shortcut properties. How can we include the short in the package so that the settings are kept in the package.

    You can accomplish this by using the command line parameter =...

    Here is an example:

    [Mozilla Firefox (Safe Mode) .exe]

    Source=%ProgramFilesDir%\Mozilla Firefox\firefox.exe

    Shortcut = Mozilla Firefox.exe

    WorkingDirectory=%ProgramFilesDir%\Mozilla Firefox

    CommandLine="%ProgramFilesDir%\Mozilla Firefox\firefox.exe" - safe-mode

    Shortcuts=%programs%\Mozilla Firefox

    Basically, you use: CommandLine = "SameAsYourSourceParameter" AddAnyParametersNativeApplicationSupports

  • What products are included in the complete package for students

    I am looking to buy the complete student package from adobe, but I was wondering what products it includes. What I really need is photoshop, dreamweaver and flash. can you tell me these are included in this package? Thank you.

    What is in the set of Cloud http://www.adobe.com/creativecloud/catalog/desktop.html

  • What is exactly included with the new package of photography for adobe?

    well first of all, I'm in love with all these massive changes all around.

    Secondly, I'm kinda a hot mess.

    For starters, I put to level my poor old PC to a Mac (it was time!), it means I'm losing all my previous software. (It's time to also update in all cases) I currently have installed cs4 and also lr4 on my PC. I pick up my new Mac mini tomorrow and would like to have a solid game plan.

    I'm having a hard time to understand what the new cloud options, as well as the package of photography for $9.99 / month. With that, cloud creative included? do I have to buy cloud creative membership in addition to the packaging of photography? This includes full use of photoshop and Lightroom versions? And finally, what is the advantage vs lr5 buying outright (physics software) and / or using Photoshop full download purchase and use by creative cloud. My how times have changed... I feel so out of the loop, however extremely excited for the changes and the inspiration.

    Thanks in advance and follow the incredible changes.

    RP

    My understanding is that the photographer $ 9.99 package includes 2014 CC Photoshop and Lightroom CC 2014, as well as 2 GB of cloud storage. He does not include access to the rest of the apps universe CC (what you would get with a full package of CC), nor does it include TypeKit as part of the package. It also includes access to iPad and iPhone applications of Lightroom and the Photoshop Mix app for the iPad.

    Here is a link to the press release: Adobe Releases New Creative cloud photography Plan for $ 9.99 per month

  • Error, including icons in the package

    I try to include icons in my Air application. Unfortunately, during the phase of the package, I get the following errors:

    (/ Users/gene/Development/Projects/Flex/app/My-app.xml(18): error 303: Source/assets/icons/icon16.png icon does not appear in the package

    (/ Users/gene/Development/Projects/Flex/app/My-app.xml(19): error 303: Source/assets/icons/icon32.png icon does not appear in the package

    (/ Users/gene/Development/Projects/Flex/app/My-app.xml(20): error 303: Source/assets/icons/icon48.png icon does not appear in the package

    (/ Users/gene/Development/Projects/Flex/app/My-app.xml(21): error 303: Source/assets/icons/icon128.png icon does not appear in the package

    I found several threads dealing with this issue, but all say to do what I already do. I write my - app.xml file and the command I use in the hope that someone can see what I'm missing. Thank you.
    -App.xml:
    <? XML version = "1.0" encoding = "UTF-8"? >
    " < application xmlns =" http://ns.Adobe.com/air/application/1.5 ">
    com.baruconsulting.Myapp < id > < /ID >
    < version > 1.0.8 < / version >
    < file_name > Myapp < / name of the file >
    < programMenuFolder > Baru < / programMenuFolder >
    < initialWindow >
    < content > Myapp.swf < / content >
    < visible > true < / visible >
    < systemChrome > no < / systemChrome >
    < clear > false < / transparent >
    < width > 1000 < / width >
    < height > 750 < / height >
    < x > 50 / < x >
    < y > 50 / < y >
    < / initialWindow >
    < icon >
    < Image16x16 > Source/assets/icons/icon16.png < / image16x16 >
    < Image32x32 > Source/assets/icons/icon32.png < / image32x32 >
    < Image48x48 > Source/assets/icons/icon48.png < / image48x48 >
    < Image128x128 > Source/assets/icons/icon128.png < / image128x128 >
    < / icon >
    < / application >
    package command:
    ADT-package - stores pkcs12 - keystore temp.pfx Myapp.swf Myapp.air My - app.xml
    Thank you
    Gene

    Hello

    You must add your icon paths in the ADT command, (because they are not automatically added).

    Hopefully this might solve your problem.

  • Get the code 646 on several upgrades to office 2007, including Service Pack 1, KB951550 KB959997 KB946983, KB951338, KB950114, KB956358, KB951944, KB952142, KB975960, KB967642.

    I can't download manual for these items links in the chain of forum.  It is on a Vista Home Premium machine.

    There are a total of 11 updates.  I tried 1 updates both and each installation failed with the same error code.  All updates are downloaded via Windows Update and install all fail.  What is happening here.  Based on forum entries, this seems like a very repetitive mistake without intuitive solution.

    You may have missed: http://social.answers.microsoft.com/Forums/en-US/vistawu/thread/6e716883-7af4-4a9f-8665-2f4dd57eee8d ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • What files are included in the Webwoks package

    Hi, I have a doubt and I hope you guys can help me. I m doing a doubt webworks app is on what should the files I put in my package webworks. I have a webproject running on a server. What I would like to put the XML for the index.html file that sound on the server (so I can make changes without updating the app). I tried this and the page well but I m facing some problems:

    1. sometimes I get connection error and I have to close and reopen the App (which not´t happen if I put the file index.html inside package webwork).

    2º the blackberry feature does not work, for example when I want to capture the back with blackberry.system.event button... launching a blackberry not defined error.

    So, is it really necessary to put all the js + html inside the webworks packaging to make it work very well?

    PabloBB89 wrote:

    Thanks for the reply, very useful for both.

    So I might be missing something in the code because the blackberry feature is not found by my application. If you'd take a look.

    It is important to note that this code works fine when I put the HTML and js files inside the package webwork.

    
    http://www.w3.org/ns/widgets"
            xmlns:rim="http://www.blackberry.com/ns/widgets"
            version="2.0"
        rim:header="RIM-Widget: rim/widget">
      http://www.example.com/"
              rim:copyright="Copyright 1998-2012 My Corp">My Corp
      FIDS_Light
      
      http://192.168.0.104:8080/Test_Project/"/>
      
    
      
      
      
      
      
      
      
      
      
      
      
    
    

    I've cut out a lot of elements in the environment. In order to have the API load correctly when you access a remote page, you will need something like:

    
    
    

    If you place items of functionality at the root, it's implied "local: / / / ' in the white list. Another thing that you must be explicit.

  • Development Kit which includes the javax.servlet package

    Which java development package contain the javax.servlet package.v that I can't seem to find a. Thank you

    Hello

    Servlets Java EE do not belong and are there for a long time.

    Frank

  • I want to install the backup feature in Windows XP. The instructions say to put the Windows XP CD in the computer. I can only find the reinstallation CD "for XP Home Edition, including Service Pack 1" which is the correct CD or is there another?

    This CD is the 'Windows XP' CD?  What he should say about it?  How CD supplied with Windows XP (my computer is probably 4 years old).  I need to install the backup feature in Windows XP.  I cannot find a single CD only and not know if it is right - it's the reinstallation CD.  I don't want to reinstall windows XP. I want to just install the backup feature.

    Hi AlexandraCALIF,

    Thanks for posting. The XP CD that the system is referring to is your XP (maybe not the reinstallation CD) installation CD.  I would test of the first reinstallation CD to see if it has components which seeks the system. If it isn't you need to contact your manufacturer and get a CD of the OS on their part.

    I hope this helps! Let us know if you have any questions.

    Shawn - Support Engineer - MCP, MCDST
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Microsoft Security Update 11/01/2012 installed including Service Pack 2 and now start the computer fails. No Windows security, no system restore.

    Can't start at a fixed point to the password screen. Goes to a blue screen and try to restart automatically.  When you run safe mode cannot use the system restore, have no security of windows, so does not automatically restart when the change is made impossible to read.  Norton 360 found two viruses at the origin and the fixed, no viruses detected in recent failure.

    Hello

    You can use the full version of Windows Vista installation disc and try to perform a restore of the system, the Windows recovery environment and check.

    For more information, you can consult the following article ot.

    What are the system recovery options in Windows Vista?

Maybe you are looking for