How to send the result of a function as an input to another function

Hello

I wrote a function wich return string. I want to send string returned as an input to another function. How can I integrate these two functions.

Thank you...

I want to send the result of the first function as input for another function

It's what do all these examples.

Do not get hung up on BOM - function1 and function2 - the one call it first (with or without argument) returns a value that is passed in a second and even, in my example, the output of the last second in a third (dbms_output).

select function72727347(function9596943 (argument)) from dual

Published by: Dom Brooks on February 18, 2011 12:08

Tags: Database

Similar Questions

  • How to send the email from the content server?

    How to send the email from the content server? Is this enough to configure the SMTP server with the content server oracle? I want to send a mail generated both system admin system and author of the content when a content is expired. Please suggest how to enable e-mail functionality. Please suggest how the mail will be sent both SYSADMIN and author.

    Thank you

    In particular, this can be achieved by configuring - see EnableExpirationNotifier

  • Don't know how to read the results of netstat EI s list? If I received 860592506 bytes sent from 43421482 how to convert MB? And does this mean byte received?

    Don't know how to read the results of netstat EI s list? If I received 860592506 bytes sent from 43421482 how to convert MB? And does this mean byte received?

    Hello

    This shows the total number of bytes transmitted and received via the Ethernet card. This is the total of the amount of use up to this day.

    This includes all the Web sites you have visited and emails you sent, etc..

    You can calculate using one of the following methods:

    Method 1:

    860592506 / 1048576 = 820,72 MB

    Method 2:

    Multiply 860592506 with 9.53674316 * 10 ^-7 that will give us the result in mega bytes.

    860592506 bytes = 820 MB 9MB not, accept my apology for the miscalculation.
    Similarly 43421482 acroos = 40MB

  • How to send the student card to activate my acrobat from Adobe pro ED program?

    How to send the student card to activate my acrobat from Adobe pro ED program? It is uncomfortable!

    Redemption Code https://creative.adobe.com/educard

    Proof of ID http://www.adobe.com/store/au_edu/academic_id.html

  • The course does not send the results of the tests and reports system (Saba) after trial. The course remained "incomplete". What can you recommend?

    The course does not send the results of the tests and reports system (Saba) after trial. The course remained "incomplete". What can you recommend?

    Ok.  So you're screenshot compared to SCORM clouds now shows you're scoring 100% in the quiz, but your state of completion will still come out incomplete.  Then of course, your quiz notification settings not award success based on passing the test.

    Try to set your quiz the way I show this screenshot using SCORM 1.2 instead of 2004.

  • How to display the result of a java class in InputText?

    Hi all
    How can I get the result of the java classes to InputText or OutputText?
    also everyone in the forum can road map me to deal with Java in oracle adf because I am a beginner in oracle adf
    I saw a few samples in corner of oracle adf, but it is difficult for me.

    I use JDeveloper Version 11.1.2.3, technology of the Adf.
    My question is how to return the result of java Bean InputText or OutText
    Thank you

    see if you want to have show some .so beans instance variable value you can have a few bean .define managed a variable as
    string abc = "abc";

    create the getter set for her.

    in the value property of inputText or OutPutText write an el as #{beanscope.managedbeanName.abc}

  • How to display the result sqlplus in java?

    I want to call sqlplus to run some commands sql in java, but how can I print the result of sqlplus?

    In java code, I call sqlplus as:

    Process of p;
    Run the command
    p = Runtime.getRuntime () .exec (commandString);
    print the result of the command
    InputStream inputStream = p.getInputStream ();

    How to display the result of the execution?

    Published by: Yi on February 26, 2012 23:41

    You can use ProcessBuilder. Copy the following code starts sql * more and runs the script in the variable "filename". It displays the results in the console of NetBeans.

    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.io.File;
    import java.util.Map;
    
    public class test1 {
    
        public static void main (String args []) {
    
            test_script();
        }
    
        public static void test_script () {
    
            String fileName = "@test_table.sql";
            String sqlPath = "E:\\";
    
            String sqlCmd = "sqlplus";
    
            String arg1   = "user/password@sid"; -- plug in your user, password and db name
            String arg2   = fileName;
            try {
                String line;
                ProcessBuilder pb = new ProcessBuilder(sqlCmd, arg1, arg2);
                Map env = pb.environment();
                env.put("VAR1", arg1);
                env.put("VAR2", arg2);
                pb.directory(new File(sqlPath));
                pb.redirectErrorStream(true);
                Process p = pb.start();
              BufferedReader bri = new BufferedReader
                (new InputStreamReader(p.getInputStream()));
              BufferedReader bre = new BufferedReader
                (new InputStreamReader(p.getErrorStream()));
              while ((line = bri.readLine()) != null) {
                System.out.println(line);
              }
              bri.close();
              while ((line = bre.readLine()) != null) {
                System.out.println(line);
              }
              bre.close();
              System.out.println("Done.");
            }
            catch (Exception err) {
              err.printStackTrace();
            }
    
        }
    
    }
    

    Here is the content of the script at E:\\test_table.sql

    Prompt drop TABLE ANOTHER_TEST;
    DROP TABLE ANOTHER_TEST CASCADE CONSTRAINTS
    /
    
    Prompt Table ANOTHER_TEST;
    CREATE TABLE ANOTHER_TEST
    (
      BATCH_SEQ             NUMBER,
      BATCH_GROUP_ID        NUMBER,
      STATUS_FLAG           VARCHAR2(30 BYTE),
      OBJ_BEING_PROCESSED   VARCHAR2(80 BYTE),
      BATCH_RUN_START_DTTM  DATE,
      BATCH_RUN_END_DTTM    DATE,
      CREATE_DTTM           DATE,
      CREATE_USER           VARCHAR2(30 BYTE),
      UPDATE_DTTM           DATE,
      UPDATE_USER           VARCHAR2(30 BYTE)
    )
    LOGGING
    NOCOMPRESS
    NOCACHE
    PARALLEL ( DEGREE DEFAULT INSTANCES DEFAULT )
    MONITORING
    /
    
    COMMENT ON TABLE ANOTHER_TEST IS 'This is a test table.'
    /
    
    EXIT
    /
    
  • How to send the value of the prompt to an another dashboard with action link?

    Dear all,

    I find how to send the parameter to a different dashboard with the link of the action.

    URL = http://hostname/analytics/saw.dll?Dashboard & PortalPath = % 2Fusers % 2Fweblogic % 2FMartin % 20Test % 2FMartin & Page = page 1 & Action = Browse & P0 = 1 & P1 = eq & P2 = entity. "" Gen6, entity ' & P3 = % 22EntityCode % 22

    But I don't know how to send the value of the command prompt. I tried @{EntityCode}, Entity.Gen6, Entity, etc. None of them worked. They just be send as a string.

    Anyone know the solution? Thank you.

    Best regards
    Martin

    Try to do a manual URL to see if it works. Static variables are called as Valueof (variable) and presentation of variables such as @{variable}
    Discover th url below and add your variables as needed and of course override other settings.

    '' || Link | ''

  • How to interpret the result of validation.

    How to interpret the result of validation.

    13366 [element < 7 >] [3, 4 rings] [edge < 0 > < 3 > cycle] [edge < 0 > in the < 4 > round]

    -ORA-13366: incorrect combination of inner outer rings
    -Cause: In Oracle Spatial geometry, the inner and outer rings do not always serve.
    -Action: Make sure that the interior rings corresponding to an outside ring follow the outer ring of the orderly table.

    I think it means that the rings 3 and 4 in element 7 have inside outside questions vs, but element 7 has no rings 3 or 4; There no cycles 1 and 2.

    I'm using Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production

    You can call sdo_geom.sdo_union on this geometry to fix.

    It's

    Update de_lec set c.lec_gcode = sdo_geom.sdo_union c (c.lec_gcode, c.lec_gcode,: tolerance)
    where c.lec_gcode = '9417';

    There is no fix for the problem of validation still on 11.2.0.2, so you have a file a bug for it if you need this patch.

    Siva

  • In SQL Developer, is it possible to send the results of a sql statement?

    In SQL Developer, is it possible to send the results of a sql statement?

    Right-click on the query results pane, select "Export data" in the context menu, then select "xls".

  • How to display the results in the order based on the value of research

    Hi all

    How to display the results in the slot order.
     
    
    CREATE TABLE TEST( SONGID  NUMBER, TITLE   VARCHAR2(200))
    
    INSERT INTO TEST(SONGID,TITLE) VALUES (10,'AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (11,'CICCONE, MADONNA (CA)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (12,'DALLIN, MADONNA LOUISE/STOCK');
    INSERT INTO TEST(SONGID,TITLE) VALUES (13,'MADONNA');
    INSERT INTO TEST(SONGID,TITLE) VALUES (14,'MADONNA (A)/ AHMADZAI, MIRWAIS (C)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (15,'MADONNA (CA)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (16,'MIRWAIS AHMADZAI, MADONNA');     
    INSERT INTO TEST(SONGID,TITLE) VALUES (17,'MIRWAIS (CA)/ MADONNA (CA),AHMADZAI');
    INSERT INTO TEST(SONGID,TITLE) VALUES (18,'MADONNA (CA),CICCONE');
    
    SELECT *FROM  TEST WHERE INSTR (TITLE, 'MADONNA') > 0
    
    output: 
    SONGID     TITLE
    10     AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)
    11     CICCONE, MADONNA (CA)
    12     DALLIN, MADONNA LOUISE/STOCK
    13     MADONNA
    14     MADONNA (A)/ AHMADZAI, MIRWAIS (C)
    15     MADONNA (CA)
    16     MIRWAIS AHMADZAI, MADONNA
    17     MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
    18     MADONNA (CA),CICCONE
    
    Expected output :
    13     MADONNA
    14     MADONNA (A)/ AHMADZAI, MIRWAIS (C)
    15     MADONNA (CA)
    18     MADONNA (CA),CICCONE
    ..
    ..
    ..
    ..
    ...
    If the user makes a search with "MADONNA", I view the results as title begins with "MADONNA" first then the rest of the records.
    Please let me know is possible to show the results in this order.


    Kind regards
    Rajasekhar

    This can be a little more specific:

    SQL> SELECT *
      2  FROM   TEST
      3  WHERE  INSTR (TITLE, 'MADONNA') > 0
      4  ORDER  BY INSTR (TITLE, 'MADONNA')
      5           ,TITLE
      6  ;
    
                  SONGID TITLE
    -------------------- --------------------------------------
                      13 MADONNA
                      14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
                      15 MADONNA (CA)
                      18 MADONNA (CA),CICCONE
                      12 DALLIN, MADONNA LOUISE/STOCK
                      11 CICCONE, MADONNA (CA)
                      17 MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
                      16 MIRWAIS AHMADZAI, MADONNA
                      10 AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)
    
  • How to unregister the Microsoft 8 on 1 PC and reinstall on another PC?

    How to unregister the Microsoft 8 on 1 PC and reinstall on another PC?

    You are required for installation on PC 1 completely disassembling, (agreement 1 license = 1 computer)

    Then you can install on 2 PCs, if the version is a version upgrade, 2 PC must also have a current operating system eligible installed. The only problem you may encounter is the activation, it cannot activate via internet, otherwise you will have to activate by phone.

    If you need clarification, read; License terms for Microsoft software. Which is available to the page of Activation of Windows in the center of the Action.

  • How one move the templates of virtual machine from one host to another host in the cluster even

    Hello

    Can you get it someone please let me know how to move the templates of virtual machine from one host to another host in the cluster even?

    Thank you

    James

    Welcome to the forums!

    Convert it to a virtual machine (right click on guest and choose the appropriateoption), move it through the migration feature (right-click Guest, and then choose "Migrate") and convert into a model (right click on guest again and choose to convert to a template).

    If you found this information useful, please consider awarding points to 'Correct' or 'Useful' responses Thank you!!

    AWo

    VCP / vEXPERT 2009

  • Send the results by email

    My colleague wants to know if there is a way to implement email report function Captivate quizzes so that e-mail will also indicate which course reports on e-mail. We use Captivate 3. In his own words:
    - - - - -
    I have five modules of separate courses that make up a class together. Each module contains a quiz. I use the feature to e-mail results so that the results are sent by e-mail to a person for the purpose of follow-up.

    Unfortunately, the results of email are generic and do not reference the names of five of the course modules. So the person who receives the e-mail will get five emails (one for each module) with "results: Date" in the line object and status, location, notes gross, Max, Min Score Score and time in the body.

    How can it be put in place so that the person who receives the results of email can easily know which module each e-mail is for?

    Here is an example of what gets the person email and he or she will not be able to tell where modules each e-mail is for.

    Topic: Results: 02/09/2009

    Results =
    Basic data
    'Status', 'Place', 'Raw score', 'Score Max', 'Score Min', 'time '.
    'impossible', '18' '20', "100', '0',"00:01:03 "

    - - - - -

    Thank you!

    Janatwork,

    Yes, it is possible. If you edit the HTM with Captivate, you can
    include the document.title or hardcode the course for electronic mail.

    For example, if you change the model for email for Captivate 3 HTM
    (there's usually: C:\Program Files\Adobe\Adobe Captivate)
    3\Templates\Publish\email_body.htm)

    You can change the "padMail" method such as:

    gstrEmailSubject = document.title + '-' + strSubject;

    I just published an article that * may * help to provide a better
    mechanism for sending e-mail messages via a script on the server side (if it of)
    your needs prise_en_charge / environments). It is published:
    http://www.ConnectUsers.com/tutorials/2009/02/proprietary_tracking/index.php.

    Who help me?

    Kind regards

    Andrew

  • Rotating table with 6 test stations. How to track the results data at each station to a machine of rotating table with 6 test stations?

    I would like to know if someone has worked with table Rotary testsystems and want to share an idea of how he dealt with follow-up of the results of each test result data in all the test station is in the table of rotation, so at the end of the cycle the results of good data by each DUT. There's a kind of technique used in arrays or clusters?

    Any comments would be grateful.

    Hi shada

    There are many ways that you can store your results, such as Matthew commented that you can use an array of Clusters. I would recommend this table of cluster storage in a Global Variable that is functional to make data transfer safer and easier to climb. There are many examples on how to use them on the community.

    There are a few tools in advance that you can also use to store your results as Of present value Tables (CVT).

    TestStand parallel model with the "Result of processing" option enabled stores automatically all the results of your Tests.

    Hope this information is useful.

Maybe you are looking for

  • "Batch File translate" systematically blocks...

    Hello I often need to translate files. Copy in Google Translate is a mess. I installed "Batch queue Translater" (sic) to try to help with this, but whenever I try to translate anything, it crashes with: Request for clarification: "Reason for terminat

  • Cannot connect day 1000 Photo Frame to the Flickr site

    I try to sign in to my flickr account form the journe air 1000 and it says that the user exists.I can access flickr from my computer very well.I can connect to picasa of day without problem.I tried the two username or [email protected] without success.

  • How to fix error 0000022 for Windows Update

    How can I fix this 0000022 its my update of the window * original title - how can I fix this 0000022 its my updater__ window *.

  • Do search companion my default search request.

    Windows XP: How can I make my default search application, the search wizard.  In windows Explorer, I call to search and get a little familiar window, which has a 'click here to use the Search Assistant' at the bottom.  I would like to as the Research

  • Administrator account type changed from standard

    I have 2 on my pc to Setup user accounts - two of them have been "administrator."  They have now been changed to the standard.  That's happened?  Was it a Vista update that made that change?  I used the built-in Administrator account to log in and th