About  Function FAN IN - FAN OUT

Hi All,
In lot of workflow item exemple with business event activity we see a new function name : FAN IN and FAN OUT.
Have you some technical informations about this functions.
Regards.

HI
I have made little bit changes in ur code. try this
create or replace function get_minimum_salary (i_job_id in varchar2)
return number
as
v_Min_sal jobs.salary%type=0;---- Variable declaration
begin
SELECT min_salary INTO v_ min_sal
FROM jobs
where job_id = i_job_id;
RETURN v_Min_sal;
end get_minimum_salary;
Regards
Srikkanth.M

Similar Messages

  • Question about function with in parameters

    Hello,
    I have a question about functions with in-parameters. In the HR schema, I need to get the minimum salary of the job_id that is mentioned as an in-parameter.
    this is what I am thinking but I dont know if it's correct or not or what should I do next!
    create or replace function get_minimum_salary (i_job_id in varchar2)
    return number
    as
    begin
    SELECT min_salary INTO min_sal
    FROM jobs
    where job_id = get_minimum_salary(xy);
    RETURN i_job_id;
    end get_minimum_salary;
    thanks in advance
    EDIT
    Thanks for your help all.
    Is it possible to add that if the i_job_id which is the in type parameter does not have a minimum salary then use the following function to register an error:
    create or replace procedure insert_error (i_error_code in number,
                                                      i_error_message in varchar2)
    as
    begin
    insert into error_table (error_user, error_date, error_code, error_message)
    values (user,sysdate,i_error_code,i_error_message);
    end insert_error;
    This function is basically to say that an error has occured and to register that error, at the same time I need to print out the error using the dbms_out.put_line.
    Any ideas of how to do that?
    Thanks again
    Edited by: Latvian83 on Jun 1, 2011 5:14 AM

    HI
    I have made little bit changes in ur code. try this
    create or replace function get_minimum_salary (i_job_id in varchar2)
    return number
    as
    v_Min_sal jobs.salary%type=0;---- Variable declaration
    begin
    SELECT min_salary INTO v_ min_sal
    FROM jobs
    where job_id = i_job_id;
    RETURN v_Min_sal;
    end get_minimum_salary;
    Regards
    Srikkanth.M

  • Menu Insert Function is often Greyed out

    Hi
    New user of numbers and Forum. Have searched this to no avail sorry if inappropriate post.
    Insert>Function submenu is greyed out under all circumstances other than when a blank cell is selected (not even an "=" allowed). This makes it very tedious to construct longer formulars with >1 function in them (ie. most formulars!). Is there something I am missing? This is User friendly software gone too far, not friendly.
    In particular I want to use Insert>Functions>More Functions... inside a formular as I am still migrating from Excel and iWorks memories.
    Cheers

    With iWork you got three PDF Users Guides which are also for you.
    On page 26 of the English one dedicated to Numbers you would find useful explanations.
    You are right, the Insert functions menu item is often greyed but the efficient way to insert a function is not this one.
    It's a button in the toolbar:
    +-+-+-+-+-+-+-+-+
    Worried Life Blues 2008
    +4. Discussions+
    +Apple Discussions, launched in August, 2000, have grown rapidly in usage and features. The main features include personalization, subscription capabilities and email capabilities. _For information on how to use Discussions, please visit the Discussions Help Page_. Cookies should be enabled and an Apple ID account is required if you would like to contribute to the discussions.+
    +Entering the Help and Terms of Use area you will read:+
    +*What is Apple Discussions and how can it help me?*+
    +
    Apple Discussions is a user-to-user support forum where experts and other Apple product users get together to discuss Apple products. … You can participate in discussions about various products and topics, find solutions to help you resolve issues, ask questions, get tips and advice, and more.+
    +_If you have a technical question about an Apple product, be sure to check out Apple's support resources first by consulting the application Help menu on your computer and visiting our Support site to view articles and more on our product support pages._+
    +*I have a question or issue*—+
    +how do I search for answers? _
    It's possible that your question or issue has already been answered by other members so do a search before posting a question._ On most Apple Discussions pages, you'll find a Search Discussions box in the upper right corner. Enter a search term (or terms) in the field and press Return. Your results will appear as a list of links to posts below the Search Discussions Content pane.+
    +Search tips are available here:+
    +http://discussions.apple.com/help/search-tips.html+
    +-+-+-+-+-+-+-+-+
    Yvan KOENIG (from FRANCE lundi 4 août 2008 08:57:44)

  • How to achieve Check point functionality in SSIS with out using check point.

    I got question from
    interview!!! How
    to achieve Check
    point functionality in SSIS with out using check point. If package
    fails it has to be re-run from the point that it failed instead
    of rerunning the entire package.without
    using check point.
    Please
    any one can explain step by step...

    Sorry you have failed your interview question. Good thing you remembered it, thought about it, and ask a question about it. The solution is actually very straightforward.
    Create a table to store the state of your progress. Before each step read the table to find out where left off, then skip each completed step. After each step write to the table which step you have completed. A step can be anything, a task, a component,
    a row, an import file, an export file. You don't have to use a table, it could also be a file, just something you can read and write, and does not disappear when your package stops.
    If you find this difficult to comprehend, think of a checklist of things you do everyday and work from there.

  • Should the removeable fan assembly fans be spinning?

    10 Days ago my 2.5 GHz Quad Power Mac G5 froze and I had to cut the power. Upon trying to turn it back on, it wouldn't power up so I brough it to Apple for repair.
    A few days ago I was told the logic board had been replaced but the problem wasn't totally fixed and they were awaiting another part as the problem was not totally solved. I picked it up today to find only the power supply had been replaced. Got it home, plugged it in, and there wasn't any video and after a little while some (all?) fans switched to running at full speed. It was very loud.
    Brought it back and it was immediately looked at. Initially everything was fine but thankfully after a while the video got flakey. They replaced the video card and I brought it back home.
    The good news is that at the moment it's working however I happened to notice that the fan assembly fans aren't spinning. Hardware Monitor reports activity for all the fans it's monitoring so this must be two it can't. I am speaking of the assembly that one would pull out to replace RAM and/or reset the PMU. I called the Apple store and spoke with the tech who said sometimes they don't spin at all and not to worry.
    Well, I'm a little worried. If anyone has a current model G5 I'd appreciate if you could check your fans and tell me what you see. You can shine a flashlight through the front grill or pop open the side panel. I don't know if they used to spin and I don't know if they are intake or exhaust fans. The two exhaust fans at the back of the case seem to be working as does the video card fan.
    Thanks.

    By "DP2" I guess I was really saying, "I don't have a quad, which is liquid-cooled, and therefore may have different parameters for the fan behaviour than this Rev.A Dual-Processor 2GHz, (as opposed to Dual-Core 2GHz) and that said, this is the best answer I can come up with". We try to help.
    Anyway... the fans in this G5 "DP2"(but maybe not the quad) are:
    2 PSU fans - at the front, behind the silver grille, below the lower internal metal plate, inaccessible, not reported on by HM, presumably running at a constant speed
    Next up, at the front, beside the puny internal speaker, is what HM calls the "PCI Slot Fan"(expansion slots), (currently, usually, running at 35%)
    Moving to the back of the G5, at the top, with a silver wire guard, in front of the hard drives, is what HM calls the "Drive Bay" fan (currently, usually, running at 1000RPM)
    Beside this Drive Bay fan, in a grey plastic housing, at 90deg, is what HM calls the "Main Logic Board Backside" (currently, usually, running at 20%) [this pulls air over the back of the main logic board, through the Memory Controller Heatsink]
    Then, behind the CPU heat-sinks, at the very back, are the two fans that HM calls "CPU A (&B) Exhaust Fan" (speed very variable - "Specified Upper Limit - 3200 RPM", "Specified Lower Limit - 300 RPM")
    In front of the CPU heat-sinks, the two fans that you are interested in, in a removable sliding plastic housing, which HM calls ""CPU A (&B) Intake Fan" (speed very variable - Limits as for Exhaust)
    Just discovered, somewhat late in the day perhaps, that while HM (hopefully) reports actual temperatures from the various sensors around the G5, the fan speeds reported are not the actual speed of the fans, but the speed at which they are being instructed to spin by OS X. This could be verified by tilting the clear plastic deflector panel outwards, but keeping the locator pegs in place, and withdrawing the sliding "CPU Intake Fan" housing from the connector; the fans will stop - but HM will continue to report the OS X-instructed fan speeds.
    From your description it sounds as though the sensor identifiers that HM is picking up from the quad are different(to the "DP2") and also it's just possible that HM is not fully optimised for either the hardware and/or OS X 10.4.6. (HM is at v.3.4 (March 2, 2006) and so should be quad-aware)
    Anyway... "bottom line" - judging by this "DP2" and a quad sample of one(thanks KentZ!), your "CPU Intake Fans" probably should be turning all the time. As yours don't - it's possible your quad may have a different, but appropriate, Thermal Calibration.
    If you load up the processors and observe the fans through the clear plastic deflector panel and they still never spin, (and also HM reports they should be) you must surely have either a bad connection to the fans or faulty fans. If they both never move, it would seem likely it's a bad connection.
    Hope some of this helps. Post again if it doesn't.
    Of course, a few more quad users' experiences (with 10.4.6)would be even better...

  • Function Module to find out the release value in contract

    Dear All,
    I have to upload the contract with new accoutn assignment without changing the existing contract. For that i have to download all the existing contract data with value.
    In that case i have some issues regarding the value.
    For example : In the system old contract is created with value 1000 and the released value as 500.
    In that case i have to uload the new contract with all the details of existing contract with value of 500 (1000-500=500).
    How can i get the value (500) and from which table.Is there any functional module to find out the release value in contract.
    Thanks and regads,
    PM
    Edited by: PM on Jan 21, 2010 8:40 AM
    Edited by: PM on Jan 22, 2010 9:48 AM

    Hi
    You need to link the table VBFA and VBAK.
    For a contract you can check all the subsequent document (which you can filter whether you want to see Order / delivery / Billing) in VBFA and then from there pick the subsequent document no. and then from VBAK you can pick the Net value of these subsequent documents, and so you will have both the values (value of Contract and value in subsequent document) and you can determine the balance value.
    Regards
    Amitesh Anand

  • How to setup a function is cannot print out if didn't fill up all the required field on PDF form?

    how to setup a function is cannot print out if didn't fill up all the required field on PDF form?

    No way with just the free Reader. It may be done with Adobe Acrobat.

  • "Place in" function in Bridge greyed out, after uninstalling previous version of CC.

    I recently updated to the CC 2014 version of the apps. After that I removed the previous versions of Photoshop, Indesign and Illustrator.
    Now the 'Place In" function in Bridge is greyed out. I tried restoring File associations, re-installing Bridge etc... but nothing worked. It's still unavailable.
    Is there any way I can link Bridge with the 2014 apps again so I can use the 'place in' function again?

    There are 2 startup scripts in Bridge: "Adobe Bridge CC" script & "Auto Collection Scripts CC 2014". When I click 'reveal all my startup scripts' I get an empty folder.
    I also tried resetting my preferences but that didn't help. The 'Place in...' function is still greyed out.
    I also had to manually set all the file associations with my apps because bridge always tried to open the previous versions from Photoshop CC, Illustrator CC etc...
    (in fact...If I reset the file associations, bridge defaults back to the previous versions for all apps... and then I have to change it again to the CC 2014 version)
    It's as if Bridge doesn't know I have the CC 2014 version and can't communicate with it.

  • Function Module to find out detail of open period of Finance (FI)

    Hi  All,
    I have a query that I want to know the existing function module to find out
    FI period detail thatis detail of opened period in FI.
    Regards,
    Rishi

    Hi Rishi
    Go to transaction SE37 and you can see the list of FM.
    Thanks
    Ashok
    Assign points for useful answer

  • Table Name or Function Module to find out all the Screens & Subscreens for

    Hello Experts,
          Table Name or Function Module to find out all the Screens & Subscreens for all T-Codes
    Helpful Answer will b rewarded
    Arif Shaik

    Hi Balaji,
       But TSTC only Gives the Program Name , T-Code and Screen but not all the Subscreen details
    Any other which U know

  • Is there any function module that brings out profile planner

    Hello experts,
    Is there any function module that brings out profile planner (I want to set planner profile as u201CSAP800u201D. I am using 7KE1 transaction.
    Example: I know, the FM - K_KOKRS_SET_BATCHINPUT will set the controlling area to 'CTIC' for the entire batch input process.
    Thanks in advance.

    look at these fms..
    CACS_PROFILE_PARTNER_READ
    CACS_PROFILE_SHOW

  • Function module to find out DATA BASE size, free space, used size

    Is there any function module to find out DATA BASE , free space, used size
    FM that gives all the details of the Date base
    what data base, what is the size, free space, used space etc...
    instead of writing case by case for each data base. based on  CASE SY-DBSYS.

    Hi,
    Check this FM:
    DB02_ORA_SELECT_DBA_SEGMENT
    alternatively u can check the tcode: DB02
    thanks|
    Mahesh

  • HT4623 my ipad is version 5.1.1  gen 3 ipad ,  says software update available ,  when i accept  click  update  download  it  gos about 1 minute  then throws out a  message An error occurred  downloading  7.0.2  what  should  i do

    my ipad is version 5.1.1  gen 3 ipad ,  says software update available ,  when i accept  click  update  download  it  gos about 1 minute  then throws out a  message An error occurred  downloading  7.0.2  what  should  i do,  so  i  hit reset  no  i have  lost all  ,  i cant  even  find  my  wifi  its  going from  bad to worse  please  advise

    Tap Settings > General > Reset > Reset Network Settings
    You will have to re enter the Wi-Fi password.
    Then tap Settings > General > Software Update

  • Lync 2013 I have a strange problem concerning group call pickup in lync 2013.the pickup calls on snom 710 having only a second delay, but in lync client it having about 5-7 second Anybody out there having similar problems with call pickup Groups?

    HI
    I have a strange problem concerning  group call pickup  in lync 2013.the pickup calls on snom 710 having only a second delay, but in lync client it having  about 5-7 second
    Anybody out there having similar problems with call pickup Groups?

    Hi,
    Did you meet any other call delay when you using Lync?
    As the issue happen for Lync desktop client, it can be performance issue. Please check if there is any error message from FE Server when the issue happen.
    Also please check if you have updated Lync Server to the latest version, if not, update it and then test again.
    Best Regards,
    Eason Huang  
    Eason Huang
    TechNet Community Support

  • EMac Pinwheels about 2 mins after coming out of sleep

    Computer Pinwheels about 2 mins after coming out of sleep and will not recover. Have to turn it off and back on. eMac 1GHz 3rd gen 1.5GB RAM

    Hi Leo,
    Open console in Applications>Utilities, check the system log for the date/time of the last sleep/wake problem  & the Startup right after that for clues.

  • Why does SQL execute inner selected functions again in the outer select?

    Hi,
    Why does SQL execute inner selected functions again in the outer select?
    Given:
    CREATE OR REPLACE FUNCTION K_TEST
    RETURN NUMBER IS
    BEGIN
    RETURN 1;
    END;
    SELECT K_TEST, K_TEST FROM DUAL;Will (logically) execute the function twice.
    SELECT intest, intest
    FROM (SELECT K_TEST intest FROM DUAL);Will execute the function twice too!
    Why can't SQL buffer the inner result?
    Does anyone have an idea on how to achieve executing the function only once? My original called function is quite heavy and returning a user defined type. Adding predicates, the function is executed 3 or 4 times!
    Thanks for any tips,
    K.

    Hello
    Depending on your version of Oracle, Sub query caching could help....
    XXXX> create sequence seq_1
      2  /
    Sequence created.
    Elapsed: 00:00:00.07
    XXXX> CREATE OR REPLACE FUNCTION K_TEST
      2  RETURN NUMBER IS
      3
      4      ln_Ret  NUMBER;
      5
      6  BEGIN
      7      SELECT
      8          seq_1.NEXTVAL
      9      INTO
    10          ln_Ret
    11      FROM
    12          dual;
    13
    14      RETURN ln_Ret;
    15  END;
    16  /
    Function created.
    Elapsed: 00:00:00.60
    XXXX>
    XXXX> SELECT K_TEST, K_TEST FROM DUAL;
        K_TEST     K_TEST
             1          2
    1 row selected.
    Elapsed: 00:00:00.06
    XXXX> SELECT K_TEST, K_TEST FROM DUAL;
        K_TEST     K_TEST
             3          4
    1 row selected.
    Elapsed: 00:00:00.01
    XXXX> SELECT intest, intest
      2  FROM (SELECT K_TEST intest FROM DUAL);
        INTEST     INTEST
             5          6
    1 row selected.
    Elapsed: 00:00:00.10
    XXXX> SELECT
      2      intest,intest
      3  FROM
      4      (
      5          SELECT (SELECT K_TEST FROM dual) intest
      6          FROM
      7          dual
      8
      9      )
    10  /
        INTEST     INTEST
             7          7
    1 row selected.
    Elapsed: 00:00:00.03
    XXXX> /
        INTEST     INTEST
             8          8
    1 row selected.
    Elapsed: 00:00:00.01THis last example takes advantage of a specific optimisation for calling functions in a subquery. Not sure if it would suit your circumstance though...
    Alternatively - again depending on your version - you might be able to look at function result caching...
    HTH
    David
    Edited by: Bravid on Feb 1, 2012 12:32 PM

Maybe you are looking for