I can't have more than one value of function?

I hope all of you can point me to some introductory articles/documents on function.

I know the function is used to calculate a value and it always returns a single value.

I want to know I can get more than one value of function? If so please share a few lines of code

Hello

Certainly, you CAN define functions with OUT parameters. It is generally not advisable to do so, however. Working with settings, for example, can be called from SQL, among other useful things.

If you are wanting a function that returns multiple values, you would generally be

-create a procedure that has several OUT parameters

-create a function that returns a type of object that encapsulates the values that you want to return

How to make FUNCTION returns several columns and several outputs line

can functions return multiple values?

oracle function to return more than one value

You must give several values of function that can be found in Sql

Tags: Database

Similar Questions

  • can we have more than one type of topology for a rule?

    Hello

    5.6.4 can we have more than one type of topology for a rule? How insert and separate?

    Thank you.

    Try something like this, but be very careful that you understand the implications of the scope of the rule to a very large number of objects:

    $objectsbytype(/Host|) VMWVirtualMachine | VMWESXServer | VMWCluster | VMWDatastore /) If you do not need to check each type separately

    or

    the ((hôte où name like 'a%') Union (VMWVirtualMachine where name like would be %')) If you need condition the type of each object separately, and then join the results)

  • Can we have more than one system secure in Oracle Identity Manager?

    Can we have more than one system secure in Oracle Identity Manager?

    Yes we can
    Assume that we are reconciling userid and certain attributes of database and electronic mail, jobcode, city of AD.

    We will have then two trusted resource. We have a number of trusted resource based on the client system.

  • Can you have more than one shared reminder of family?

    I want to share more than one reminder with family

    You can have only one list of automatic reminder of family, but you can create your own playlists and share them with whoever you want.

  • Can I have more than one player iCloud folder in my finder? One account for work and one for personal use.

    I want to synchronize my work to my home mac mac but don't want my work and personal files of mixture in the same iCloud drive. I want to be able to simply select the folder in the finder and access my files to work with my staff connected to iCloud services. I have 2 sets of devices. A working iPhone and a personal iPhone. My work requires that I have strictly for work purposes only to get rid of my phone personal is not an option. Is there a way to have the disc records hard icloud of two different accounts on the same mac under the same profile?

    ICloud there than one disc for each Apple ID. You can, however, create more than an Apple ID, but that creates other issues as demanding that you trade ins iCloud to access the content of the newspaper reader.

    You can create subfolders in your drive to iCloud for work and personal use. You can also purchase a subscription to more storage if you need.

    No solution to this question. Each has its compromise.

    Could you use, say, iCloud for your personal files, but use Dropbox for those work-related?

  • Can you have more than one to get action on a slide?

    I would like to assign a variable to a slide on enter so I can have a script that tells the audio does not play again if they return to the slide.  I was able to do that on another slide by setting a variable on input, then the script basically checked the variable and hidden the audio object if the variable was = to 1.  I want to do it on another slide, but the problem is, I already have an action on enter on this slide.  Is there another way to assign a variable when the user calls visit one slide, other than the action on enter?

    A standard action can be inserted as a decision, with a condition that is always True. Example:

    IF 1 is equal to 1

    Assign the visited_coursemenu with 1

    The sequence is important: If you want that to happen before your present conditional action, it must be the first decision, if you want to happen after, it must be the final decision.

    I have a lot of examples on my blog (one in responses on this forum), showing that the current work. For most label this standard simulated action such as "Always" for apparent reasons.

  • How can I put more than one value in a variable?

    Hi, very new for PLSQL, but someone could please help with this problem?

    If I do the following, it works fine:

    Select salary, the name of employers where salary = (select max (wages) of employers);

    But if I do it in PLSQL im stuck in how you allocate 2 values in a variable.

    I can do the following using fair pay:

    declare

    v1 varchar2 (30);

    Start

    Select salary in v1 of employers where salary = (select max (wages) of employers);

    end;

    However, if I try to select salary, name in v1 of employers where salary = (select max (wages) of employers);

    I get the following error:

    ORA-06550: line 65, column 31:
    PL/SQL: ORA-00947: not enough values
    ORA-06550: line 65, column 4:
    PL/SQL: SQL statement ignored


    Thank you very much


    Thank you very much this is the answer - incredibly fast response!

    Edited by: 882839 01-Sep-2011 08:51
    select salary,name into v1 ....
    

    You cannot select two columns and put them in a variable. You must have two variables to store two values.

    Like this:

    declare
    
    v1 varchar2 (30);
    v2 employers.name%type;
    begin
    
      select salary,name into v1, v2 from employers where salary = (select max (salary) from employers) ;
    
    end;
    
  • Can we have more than one attachment to the activity "email with attachment.

    Guys,

    I have a condition in which the process has n number of approvers in the stream, and each approver can add attachments to the form in the variable list < document > which transports rasthaus documents.

    At the end of the process, I'm supposed to send an email with all the files attached to a help desk team.

    I know that the activity to send an e-mail with an attachment supports one attachment. y at - it a possibility or any other activity that I can use to send an email with any number of attachments?

    Hey Ashok

    The service you want is called "send with map of attachments. This service is not on the toolbar.

    If you drag on the market to define the activity type "email" in the search box, you can see the title of the foundation that there is 3 e-mail services.

    Choose send with map of attachments.

    For help on this service, see: http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=000570.html

    Diana

  • How can I have more than one window open at a time, for example to compare the information?

    I am doing family research, I need sometimes to open a window so that I can transfer some information to another window, or check dates etc. Although the information is available instantly by clicking on the tabs, I still prefer to have in front of me for the comparison.

    You can tear off a tab (right click: switch to the new window) to open it in another window and resize the two windows, so that see you them at the same time.

  • How to have a variable the function "return" have more than one value

    @using the Sub function how can user_id accepts the values 0 and 6?

    create or replace function xxactive_user_test)

    p_schema in varchar2,

    p_object in varchar2)

    return varchar2

    as

    Start

    return 'user_id = 0';

    end;

    /

    Post edited by: 880492

    The question or needs is not clear, to me at least.

    > How user_id can take the values 0 and 6

    How the function is used.

    You mean like this:

    return 'user_id IN (0,6)';
    
  • Supporting specification documents &gt; &gt; can we have more than one file on the details of the attachment?

    The user believes Add button is missing to add files as 'attached files' is plura and there are line numbers in the grid.  Use case is that the user wants to upload three photos not in compliance with the details of one attachment because they share the title and dates.  Also wants to print on the same page in the PDF print specification.  If added as separate titles, then print one per page.  We lose a button?  Thanks, BeckieC

    Capture_UserQuestion.JPG

    Hi Beckie,

    I'm afraid in the current PLM4P, we do not support function on the document to support customer demand. However, we have some improvements to 6.2 to support the document, I suggest you to submit an enhancement request and wait for the next major version if it is not urgent

    Thank you

    Jessie

  • Remote Desktop RDG cannot have more than one remote gateway server.

    Original title: Remote Desktop RDG

    The app works very well except that you can not have more than one remote gateway server.  I have two different infrastructures that I connect and they have different configurations of RDG.  You cannot change the advanced options when you create a new connection.  You can't modify it until you connect once.  I can not connect because the RDG are for another server.  Check connection options during the installation of the initial connection.

    OK, never mind.  I figured this out.  When you are on the home screen see you the bar charms and select settings.  From there, you can change the default RDG server machines new use.  Exactly what I needed.  Works fine now.

  • Can we have more than two keys in the recon field mappings

    Hello

    Can we have more than one key defined for a particular process in the field mappings recon. If this can be done then how does the matching process happen? ... It is the combination of these two keys that will match the process?

    Thank you
    AD

    Yes, you can have more than 1 key (composite keys) in the recon field mappings.
    Matching will happen to consider them as composite keys...

    Thank you
    Suren

  • I have more than one firewall installed product. How I can for deleete all and keep only the MSN Firewall?

    I got like Norman antivirus programs and now I move to Msn essintials. but the computer turned out to be very slow. I scanned the computer with the MacAfee Scan more and I got a message that I have more than one firewall installed, product that could create problems on my Pc I have bleive that I only have widows Firewall now. but the analysis said the contrarey.

    (1) using a router?  They usually have a firewall.

    2) go to control panel and click on security.  Click the down arrow next to firewall and windows will tell you what is running

    (3) you could also look in Control Panel > programs and features for the firewall software like McAfee, ZoneAlarm, or any that you have previously installed.  You can uninstall then from there.  Use the Norton uninstaller to remove the software and/or the traces that were left during uninstall.

    http://us.Norton.com/support/kb/web_view.jsp?wv_type=public_web&docURL=20080710133834EN&LN=en_US

    If the computer is slow, check programs and features for applications that are installed but you never or rarely use.  Uninstalling those who help you in speed.  And if you go in program files, search for files left behind from applications already installed.  If more than six months, it is safe to remove them.  Remove temporary files, run disk cleaner, empty the trash, defrag your unit.

  • When the Portfolio officially be released? And when that happens, I can have more than one portfolio?

    When the Portfolio officially be released? And when that happens, I can have more than one portfolio?

    We will announce the release later today.  Each AdobeID can only be connected to a portfolio Adobe/CC membership account.  Hope that helps!

Maybe you are looking for