Using TYPES with out in a procedure

Can you use TYPES with the OUT parameter when executing a procedure?
CREATE OR REPLACE PROCEDURE get_assoc_status (fin_aor_id IN ASSOCIATE_OFFICE_RECORDS.ASSOCIATE_OFFICE_RECORD_ID%TYPE,
v_amr_id OUT ASSOCIATE_MASTER_RECORDS.ASSOCIATE_MASTER_RECORD_ID%TYPE, ....
In all documentation where I've looked procedures up, all the examples use internal defined types, like NUMBER, VARCHAR2,etc...It seems like there shouldn't be a problem but I keep getting this message:
Error at line 2
ORA-06550: line 2, column 70:
PLS-00103: Encountered the symbol "," when expecting one of the following:
:= ( ; not null range default character
ORA-06550: line 9, column 1:

Yes, you can use typed output parameters:
sql>create or replace procedure p_test(p_empno in emp.empno%type, p_sal out emp.sal%type)
  2  is
  3  begin
  4    select sal
  5      into p_sal
  6      from emp
  7     where empno = p_empno;
  8  end;
  9  /
Procedure created.
sql>var the_salary number
sql>exec p_test(7369, :the_salary)
PL/SQL procedure successfully completed.
sql>print the_salary
THE_SALARY
       800

Similar Messages

  • How to read the content from a External Content Type with out creating External List in Sharepoint 2013?

    Hi,
    I have a requirement to read the External Content Type and storing the Data in a Session Variable. The Reading of the content from External Content Type with out creating a External List.
    Please help I am trying to find the solution, but unable to do that.
    Thanks,
    Pradeep

    Hi,
    Firstly an external content type designed to work with SharePoint list and there is no way to read apart from this.
    If you are looking the solution out of the " Business Connectivity" then find that data source has been exposed through WCF and  Web Service ?
    So you can use REST API and CSOM to consume those data in SharePoint.
    You can also leverage the ADO.NET option if the datasources based on MS technologies.
    Murugesa Pandian| MCPD | MCTS |SharePoint 2010

  • Accessing BAPI's using JAVA with out using webdynpro URGENT

    hi Experts,
    What is the procedure for calling RFC/BAPI's using JAVA with out using the webdynpro. Please let me know what are the possibilities with step by step implementation.
    Regards
    Vijay

    Hi Boris Rubarth,
    Thaks for relavant information.
    I have kind of the requirement. The clinet is asking for connecting the SAP RFC using java application. The build Jar or .war or .Ear for which are going to develop should be compatible for running on any of the Applications server like they have Tom cat, weblogic, websphere server.
    so the .jar for or .ear file which we are going to develop should be able to run accessing the RFC/ BAPIs from any of these servers other than SAP WAS that is what their target.
    Please give me your suggestion, which is better approach. currently their SAP system is 4.6c . So presently it is not possible the webservice approach. But they have plans to go for upgrade to ECC6.0
    In that case only JCO option is possible. If use this option . Is it possible to access application which is deployed irrespective of the WAS by doing the required configuration.
    Basically i am aware of the ABAP webservice work bech steps and also the JAVA coding also.
    Please suggest me what is the better way to achieve this.
    Regards

  • How to generate reportdesign dynamically using java with out xml file

    hi
    how can i generate a reportdesign dynamically using java with out passing xml file to jasperDesign , i want to create my reportdesign with out xml file
    how can i ,please help
    thanks

    LiveCycle does provide a Java API to forms; LiveCycle is in fact a suite of programs, mostly enterprise level for running on server (next to which the cost of the master suite is a drop in the ocean). LiveCycle Designer is perhaps the only end user tool, and it is not for server use and doesn't have an API.
    Are you looking for a server solution? If so, nothing in the master suite can help, it isn't for server use.

  • How to Insert Data in Database using BCS with out External List

    Hi,
    How to Insert,Update and Delete User Interface  data using business connectivity service with out External List.Please suggest me solution.
    Regards,
    khadar

    Once you've configured the external content type, you can interact with it using the BDC Object Models available to you.  You can use server side or client side and interact with the database without an external list.
    Check these links:
    Server side:
    http://msdn.microsoft.com/en-us/library/office/ff464357(v=office.14).aspx#sectionSection3
    Client Side: http://msdn.microsoft.com/library/jj164116.aspx
    Brandon Atkinson
    Blog: http://sharepointbrandon.com

  • HT5622 Why can't I use my Apple ID to iTunes?  How can I use it with out credit card?

    How can I use my Apple ID in iTunes with out credit card?

    For me it's the same, I've just bought an iPad mini two weeks ago but I cannot log in with any Apple account in FaceTime.
    I enter my apple account in faceTime, then I press next the second screen and it shows "validating..." but it never gets validated.
    What's happening? This is really annoying

  • To create a Material using BAPI with out passing the material number

    Hello Experts,
    I am using BAPI_MATERIAL_SAVEDATA to create a material of some Ztype. I am successfully creating a material if I am passing Material Number as input. I want the material number to generated internally.
    When I am doing material creation with same input data with out material number using BDC, it is working fine. It is generating the material number.
    But, not with the BAPI.
    Do, I need to specify this some where in the BAPI to generate the Material number internally? Please let me know.
    Please help me in this regard.
    Thanks & Regards,
    Naresh.

    Hi,
    Read the BAPI documentation regarding Internal Number range for materials.
    When you create material master data, the following fields must always
    contain a value in the structure:
    o   MATERIAL
        Only external number assignment is supported for the material number
        (MATERIAL). If you want the material number to be assigned
        internally, the method BAPI_MATERIAL_GETINTNUMBER must first be
        called. This method determines an internal number for the material
        to be created. You must enter this internal number in field
        HEADDATA-MATERIAL.
    Regards
    Vinod

  • Can I use log4j with a java stored procedure

    I have code that resides on the middle tier and on the database. Our company is using log4j for debugging purposes. In order to get my code to work on the database, I have had to remove all the log4j stuff. Has anyone tried to get code that has log4j messages to run on the database? I am not concerned with actual debugging, I just don't want to have to strip this code out if I can avoid it.

    Hi Laura,
    As far as I know, you have two choices:
    1. Load the log4j classes into the database (using the "loadjava" tool).
    2. Enable remote invocation of log4j classes via RMI (or similar).
    Hope this helps.
    Good Luck,
    Avi.

  • Can you use Itunes with out an apple id?

    my stepson has an Ipod and Itunes but he isn't old enough to have an apple id, what do we need to do? can he use them?

    No. It has never been migrated to Linux.
    With the current market share that Linux has, I seriously doubt that it will ever be migrated to that platform.

  • Showing what's on phone screen using z2 with out a Sony TV that mirrors

    Hi folks is there some adapter that I can get that will allow me to show on my tv what I'm streaming on my z2 utilising my hdmi input on my tv.I know that you can mirror with a Sony TV but what about using other brands of tv.....Thanks for reading

    Hi, as Alexdon says these work a treat.......The Kit MHL-ADNK Micro USB to HDMI MHL Adapter for Mobile Devices enables you to convert your phone's micro USB port to HDMI, opening up high-definition sharing and viewing options to you.
    Small becomes large
    With this slimline MHL (Mobile High-Definition Link) adapter, you'll be able to transform the micro USB port on your phone or compatible mobile device to HDMI, allowing you to connect it to your HD TV.
    Strong signal support
    Since the MHL standard can support up to 1080p high-definition (HD) video and digital audio, the MHL-ADN-K Micro USB to HDMI Adapter is your ticket to enjoying web content, photos, videos and games from your phone or mobile device in outstanding quality on a large TV screen.
    The perfect solution for versatile and spontaneous at-home entertainment, all you need do is plug the output from your device into the adapter and connect the setup to your television's HDMI input.
    You'll need to use a micro USB charger for the adapter to work, and once it's up and running, you'll be able to charge your device whilst enjoying HD content.
    Give yourself more entertainment options with the simple yet innovative Kit MHL-ADNK Micro USB to HDMI MHL Adapter for Mobile Devices.

  • How do I install Windows 8 on Mountain Lion (mac mini) 2010 Server using bootcamp with out Optical Drive?

    I have a 2010 Mac Mini server running 10.8.4 (12E55).  I just bought a brand new copy of Windows 8 from micrsoft.  I have tried using boot camp and it will not recognize a burned DVD in my remote optical drive on my laptop running windows 7 or my macbook running Lion 10.7.5.   I have had Microsoft on both of my computers remoted in for about 8 hours and they tried just about everything that I've tried.
    Microsofts tech support has made me a bootable DVD and a bootable Flash Drive through remote desktop (awsome good job microsoft tech support).  I have even tried formatting my mac mini's second 500GB hard drive to FAT32 using this whole disc as my windows partition.  I know that when I go to install windows 8 it is going to reformat the drive to NTFS but all the articles that I've found, say this is what you have to do to get the drive formatted properly to get the ball rolling and get windows will fix it when it goes to install by reformatting to NTFS. 
    Ok so right now I have my second 500GB hdd on my mac mini formatted to FAT32 and I have tried to reboot holding my option key like I do on my mac book.  If I want to boot to a different hdd on my macbook all I do is hold the OPTION key during start up and you get prompted to choose one of the bootable disc that is on your computer.  Well if I put my USB drive which is bootable on my macbook into my macbook and do this right now its not showing up. 
    Now I just put the DVD that they made me in my macbook and it shows up as bootable disc.  But the USB doesn't.  (1 hour later)  I just got microsft to remake the USB drive and am going to try that again so ta ta for now and I'll come back on to post to tell you if it works.

    mikkel-kj wrote:
    These apps paralells and fusion and virtualbox, are they in Mac App Store? And when I have the app installed what then, now it ain't only bootcamp what shall I do now to install windows 8?
    Mikkel
    Parallels, Fusion, and VirtualBox are available from their respective sites. Read their installation instructions which explain how to install Windows.

  • Rating a List Item using jquery with out using User profile service

    Hi,
    I dont have access to Central admin and i was not not able to enable USer profile service.
    can i rate a list item in Sharepoint 2010 using any jquery plugin
    i got the link
    http://blogs.msdn.com/b/carloshm/archive/2009/08/24/jquery-rating-in-sharepoint-lists.aspx
    But i am not able to find any plugin in it.
    Please advice.
    Thnaks,
    Pallavi

    Hi,
    According to your post, my understanding is that you wanted to rate a list item using JQuery in SharePoint 2010.
    The link you had posted above is for SharePoint 2007.
    You can refer to the following articles which about using the JQuery to call the rating service.
    http://blog.dennus.net/2011/08/09/using-spservices-and-jquery-to-include-social-rating-control-on-_layouts-page/
    https://www.habaneroconsulting.com/insights/Calling-the-Rating-Service-using-jQuery-in-SharePoint-2010-Part-1-of-2#.UxbQxvmSz6k
    You can also use the tool of the CodePlex to achieve it.
    http://sptoolbasket.codeplex.com/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Using type, with Flash Album Exporter

    Hello. I just discovered this plugin, and it works great. Is there an easy way to incorporate type into the albums?
    thanks

    Not in the flash portion of the slide presentation but you can embed the SimpleViewer flash slideshow in an iWeb page which has the navbar at the top. The following demo pages have examples of several of the FAE themes embedded:
    SimpleViewer
    Postcard

  • Can I use photoshop with out installing other apps for cs6?

    can I use photoshop without installing other apps?

    You absolutely can
    Usually, Adobe Bridge is automatically installed as a companion app for Photoshop - for example, if you download Photoshop CS6 through Creative Cloud, Bridge will also be installed. But Photoshop can definitely be used as a "stand-alone" application.

  • Can i use smartprint with out bing bar and or internet explorer ?

    Can I use smartprint without Bing bar and or internet explorer? I am not a fan of Microsoft explorer and I Do not want Bing on my computer. I don’t like either program.
    I prefer other options like Firefox, slim-browser and others. I also don’t use any tool bars.
    This question was solved.
    View Solution.

    Sorry, no.  The current smartprint stuff requires IE and the Bing bar.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

Maybe you are looking for

  • How to get previous 2 months from current date in a dropdown?

    Hello Experts ,                        In the application which I am developing, there is a requirement wherein , I want to Populate current month and previous two month in a drop down depending upon today's date. please help. Thanks & Regards, Pratb

  • Full Screen Window on second screen minimizes when windows explorer opens..

    I did implement a full screen window on my second screen (it's a feature needed by my application) When I open windows explorer (I'm on windows XP), or when I click in a windows explorer window, the second screen window is minimized, even if explorer

  • Compressor now creating unusable .m2v files - on two different systems

    Hi all, This week I was in Sydney attempting to show a friend how to use compressor. I showed him the way I use it and all was fine until the file was encoded. The resulting audio file was fine, but the video file with a m2v extension ended up with a

  • Time machine reporting space error

    My TM backups are coming back with an error saying that my backup is XX.X and I only have XX.X space on my external drive. The confounding thing is that the external HDD has more than double the space that the backup needs. I have attached a couple o

  • Routing outbound SMTP email for a domain to a GWIA

    Hi, I need to forward email as the original sender to an ISP for certain of our users to pickup with their BlackBerry's. I had originally configured our production GWIA's with: /flatwd and /realmailfrom which achieved the forwarding of email messages