SET SERVEROUTPUT ON...............  its not working for me on oracle 9i.

hi, i have used SET SERVEROUTPUT ON , in my plsql but i am unable to see the output after the execution , iam using oracle 9i any reason for not displaying..

DECLARE
V_Empno     NUMBER(4)     :=     &EnterEmpNo;
V_Ename          VARCHAR2(30);
V_Deptno     NUMBER(2);
V_Job          VARCHAR2(30);
V_MGR          NUMBER(4);
V_HireDate     DATE;
V_Sal          NUMBER(7,2);
V_Comm          NUMBER(7,2);
BEGIN
     SELECT
     Ename, Deptno, Job, MGR, HireDate, Sal, Comm
     INTO
     V_Ename, V_Deptno, V_Job, V_MGR, V_HireDate, V_Sal, V_Comm
     FROM Emp
     WHERE Empno = V_Empno;
DBMS_OUTPUT.PUT_LINE('The Details of Employee Number '||V_Empno||' Requested by You Are ...');
DBMS_OUTPUT.PUT_LINE('The Employee Name : '||V_Ename);
DBMS_OUTPUT.PUT_LINE('The Department Number : '||V_Deptno);
DBMS_OUTPUT.PUT_LINE('The Designation : '||V_Job);
DBMS_OUTPUT.PUT_LINE('The Manager Number : '||V_MGR);
DBMS_OUTPUT.PUT_LINE('The Joining Date : '||V_HireDate);
DBMS_OUTPUT.PUT_LINE('The Basic Salary : '||V_Sal);
DBMS_OUTPUT.PUT_LINE('The Commission Earned : '||V_Comm);
END;
/

Similar Messages

  • Database roles seems like its not working for me - your help is appreciated

    Hi,
    I am using database 10g express edition.
    I am using sql developer to connect to database.
    I have 2 database connections,
    one is called TCF and has a user called oracle.
    two is called TCF_TEST and has a user called smith.
    oracle user has privileges to do anything.
    smith user has privileges to only connect, and something called resources.
    I logged in to the database using oracle and gave the following command:
    CREATE ROLE TCF_R;
    GRANT SELECT ON EMP_IOD TO TCF_R;
    GRANT TCF_R TO SMITH;Then I logged in as smith and was able to create a table.
    first of all, the user does not have any privileges to create a table.
    Second, when creating a table, smith can insert, update, delete records which also smith does not have any privileges to do.
    so basically this whole thing is not working the way I want.
    what am I doing wrong and what do I do to fix it ??
    Thanks,
    if you need more info, please let me know so I can provide it.

    hey 009,
    thanks for your help,
    ok this is what I did step by step:
    first , I created a user and granted create session to that user as below
    CREATE USER SMITH IDENTIFIED BY SMITH;
    GRANT CREATE SESSION TO SMITH;Then I logged in and gave SMITH privilege to create tables. (the reason for this is only for testing, I create a table and then I want to check if SMITH can drop it later on).
    Then I created one table.
    then Revoked the create table privilege from SMITH, log out, log back in and tested to make sure SMITH cannot create tables.
    up to here everything is successfull.
    Now since SMITH only has the following privileges which is only create session:
    Privilege     Admin Option     From Role
    CREATE SESSION          -
              1 - 1      
    it should not drop, insert , or update any table, or even select because I did not give it any grants.
    but its doing all of the above.

  • Firefox 4: have 4 users and its not working for one. The actual Firefox search bit doesn't load properly: very bare and search doesn't work . However, bookmarks etc seem OK

    Have just upgraded to Firefox 4 today, and seems OK for 3 out of 4 users, but not for one of us. It's just that bit in the middle with the red fox logo and the search box that don't load properly - looks very bare - and can type into box but nothing happens when press 'search'

    Don't know - the bit in the middle of the web page which sounds like the search container!
    However, have found a work around - opening up Google and saving that as the home page.
    Thanks for your reply.

  • Setting delayedautostart mode is not working for few services AudioEndpointBuilder, SENS

    Am I missing some this in this command.
    Senthil Kumar M

    Hi Senthil,
    I found another document to help us to understand this issue:
    The Service Control Manager starts services that are configured for delayed automatic start after all of the automatic-start threads have finished starting.  The Service Control manager also sets the priority of the initial thread for these delayed
    services to THREAD_PRIORITY_LOWEST.  This causes all of the disk I/O performed by the thread to be very low priority.  Once a service finishes initializing, the priority is set back to normal by the Service Control Manager.  The combination
    of the delayed start, low CPU and memory priority, as well as the background disk priority greatly reduce the interference with the user's logon. 
    Many Windows services, including the Background Intelligent Transfer Service (BITS), Windows Update Client, and Windows Media Center, use this new start type to help
    improve logon performance after a system boot.  To configure a service for delayed automatic start, you can create a REG_DWORD value called
    DelayedAutoStart in the service's configuration registry key under
    HKLM\SYSTEM\CurrentControlSet\Services.
    This needs us to modify the registry value, please also note serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it.
    For more detailed information, please check this article:
    WS2008: Startup Processes and Delayed Automatic Start
    Best Regards,
    Anna Wang

  • Set Busy cursor does not work for a VI that is dynamically run

    The cursor functions (Set busy and unset busy) usually work well when they are used in a VI that is statically run (either a top VI or a VI called from within a VI).
    However, when they are used in a VI that is openned and run dynamically (using the VI server) I get an error message:
    LabVIEW:  Null window.
    =========================
    NI-488:  Wait in progress on specified input handle.
    How can I solve this problem?

    Bruno Paillard wrote:
    I have just talked to the support people. This is a recognized bug and will be corrected in the next release. They said there is no workaround at this time.
    G Toolbox ($) can set cursor style, long before NI implemented this feature in LabVIEW.
    George Zou
    http://webspace.webring.com/people/og/gtoolbox

  • Is APE12 diferent than APE11 or 10 with the green key, its not working for me like it use to

    I can't find a forum for my question on APE 12
    I took a video with a green screen and in APE 12 I use the Green Key, but it only changes the green screen to a blue color and the adjustments don't help at all, It was so easy in APE 10 and 11, why can't I get the same result in 12?
    I use win 8 - 64k and tryed on 2 computers with the same result
    Thank you

    jugada04
    You should be getting the same results. I prefer to use Chroma Key instead of Green Screen Key, but is besides the point.
    I took the following image into both Premiere Elements 11 and 12 Windows and applied the Green Screen Key Effect to both.
    Same setting:
    Threshold 30.0%
    Cutoff 20.0%
    Smoothing None
    Mask Only, left without check mark.
    The results were identical.
    Original Image
    Green Screen Key Applied to Image in Premiere Elements 11
    Green Screen Key Applied to Image in Premiere Elements 12
    If you want, you can post a screenshot of this image whose green was replaced by blue instead of transparency when Green Screen Key Effect was applied in Premiere Elements 12.
    Have you compared Green Screen Key with the same image in Premiere Elements 10 and 11, your points of references?
    Please look at fxEffects/Keying/Chroma Key and let us know if you get the same green blue happening?
    We will be watching for your results.
    Thanks.
    ATR

  • Ive tried to reset my iclouds password but its not working

    i need to activate iphone 4s, ive tried on my laptop to re-set it but its not working, ive been trying for the pass 3hours?
    i just want to use my phone again?
    i cant remember setting a password?
    I aslo cant remember if i created two different passwords for iclouds and appleID.
    NEED HELP?

    Contact Apple for assistance by going to https://expresslane.apple.com, then click More Products and Services>Apple ID>Other Apple ID Topics>Lost or forgotten Apple ID password.

  • LSMW For Converting Open Sales Orders (not working for more than 1 item)

    Hi,
    I am using following standard object for Open sales orders .
    Object               0090   Sales documents                   
    Method               0000                                     
    Program Name         RVINVB10                                 
    Program Type         D   Direct Input                         
    Its not working for more than 1 line item.
    For more than 1 line item its giving Error saying that
    '102122                         V1                   845
    Print parameter SAPML2 1 is not defined
    Can anybody help me out in this regard.
    Thanks in advance.
    Nitin.

    hello, friend.
    i will still research the subject.  but the first thing that comes into my mind is t-code VA05.  with this, you have the option to change the Plant en masse.  so a possible workaround is for you to list a number of sales orders using VA05.  you then sort the line items by Plant.  choose all items with the same plant, change the plant via mass change... then change back to the original plant.  hopefully, the new settings should apply.
    do test a few sales orders by doing this for a larger scope.
    regards.

  • CancelUrl is not working for me

    Hi Gurus,
    I am using Oracle E-Business suit 11i application  (11.5.10.2).
    When i trying to access the below url its redirect oracle home page.
    https://iprodappsx.a2.abb.com/OA_HTML/fndvald.jsp?username=iatp&password=Oracle123&langCode=US&cancelUrl=https://iprodappsx.a2.abb.com/ilogin&requestUrl=APPSHOMEPAGE
    This url will redirect to below URL,
    https://iprodappsx.a2.abb.com/OA_HTML/OA.jsp?OAFunc=OAHOMEPAGE
    But when logout from oracle home page its redirect to Oracle login page with below URL,
    https://iprodappsx.a2.abb.com/OA_HTML/AppsLocalLogin.jsp?langCode=US&username=IATP
    Instead of that I need to redirect to cancelUrl (https://iprodappsx.a2.abb.com/ilogin) what i sent with cancelUrl parameter. But now its not working for me. Please help me if i missing anything or anything i did wrong.
    As oracle standard the logout is working according cancelUrl but for me its not working.
    Its very urgent for me, So please any one help me on this. With in two days its go for live. I spent more time on this but not yet cleared.
    Regards,
    Gopi

    Hi Gopi,
    I have not personally used this, but please see if the following note helps you:
    How To Change the Logout So That The URL Does Not Display the User Name? (Doc ID 1515991.1).
    Thanks &
    Best Regards,
    Asif

  • Transaction launcher not working for custom business role

    Hi Experts,
    I am facing a very weird problem where the transaction laucher define for BOR transaction is working for one business role(Z business role Customized one) but its not working for other business role (Z business role).
    to emphasize further we have the code:-
    case ls_attributes-object_type.
        when lc_z23 or lc_z25.
          lv_logical_link = lc_ZITISU.
        when lc_BUS2000115.
          lv_logical_link = lc_ZITERP1.
        when others.
          lv_logical_link = lc_ZITERP2.
      endcase.
      l_if_navigation = cl_crm_ui_navigation_service=>get_instance( me ).
      IF l_if_navigation IS BOUND .
    Navigate to transaction launcher using link id
        l_if_navigation->navigate( iv_link_id = lv_logical_link ).
      ENDIF.
    in this the logical link is is lc_ZITISU whenever this BSP application is called from both the business roles but in  one the window opens up for BOR transaction whereas when we login again using different business role the code is the same as given above. I mean the sam logical link id is used and navigated to but window is not opening for transaction launcher as it happens for the previous business role.
    Request your help to resolve this issue.
    Thanks,
    Rajwin

    Hi,
    I tried by applying the PFCG role id of business role which was working to the business role id of the one for which it wasn't working and then try testing whether the transaction launcher is triggering. But the transaction launcher screen is still not opening even after doing this.
    Probably there's something else too which is causing the problem. Request your inputs on this,
    Thanks,
    Rajwin

  • RequestFocus() not working for JTextArea

    requestFocus() is not working for JTextArea.
    A validation message is displayed and when clicked on 'ok', requestFocus() does not work. Cursor is not shown in the text
    area.
    Any suggestions/solutions pls?

    here is the sample code:
    public boolean checkData()
    String comment = commentArea.getText().trim();
    if( comment.length() < MN_COMMENT || comment.length() > MX_COMMENT )
    showError(COMMENT_ALERT);
    commentArea.requestFocus();
    return false;
    return true;
    Focus is lost. TextArea is in scroll pane. Scroll pane is contanined in a container pane and pane is for JDialog.
    RequestFocus() is working for JRE 1.5.0_07. But its not working for JRE 1.5.0_0 and lower versions.

  • Custom Pakage is not working for me.

    I was dropping photos just fine into the custom package a few minutes ago, and printed a few photos.  I imported new photos from my external drive, and when I try to print it does not work in custom. No dropping photos into the boxes, and I cannot drag and move around the boxes. I need help! I don't know what happened that it stopped working. hmm now that I think about it.. the first photos i printed were from a new sony A6000.  The ones i'm trying to print now, print fine in single photos, but they are from an older camera, could that be the reason the custom tab completely is not touchable?..  Okay no.. I just tried to custom package photos from new camera again and its not working for the new photos too..@
    Thanks, in advance..

    I am not sure exactly what is going on, there, but when you drag-and-drop a photo you have to click-drag on the thumbnail, not the surrounding gray border area.
    The reasons you’re guessing why things aren’t working don’t seem like they’d be reasons to me.

  • Extended Notification not working for Dialog Task with agent assignment

    Hi Friends,
    I have an issue where I have a user decision step and a sub workflow contains a dialog task with agent assignment.
    Extended notification is configured properly and is working properly for user decision step but its not working for the dialog task created as an activity.
    Batch jobs are configured to run report SWN_SELSEN.
    I was checking SDN and found this discussion handy :
    http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4f/3bed495cc018c8e10000000a42189e/content.htm
    One thing that wonders me is that notifications show up in SOST 4-5 seconds before the user decision step starts execution.
    See screenshot from SOST and WF log.
    SOST log :
    2 questions here: Why is notification not being sent for Dialog task?
                              Why is user decision notification being sent that early even before the User decision task starts execution?
    Please provide your valuable inputs.
    Regards,
    Sandip

    An activity step with agents is supported by the extended notifications if it is a decision task or not, I have used it many times and it works well just no approval/rejection links if it's not a decision task.
    From your screenshot you can see that a mail has been created and is found in SOST, usually this cases are problems with the mail server or connection to it, check the mail settings in the SMTP node in transaction SCOT, also check with mail server team if there is a block to/from the SAP server.

  • I want to reset my ipod touch 4th gen but i have forgotten the restrictions passcode and for some reason its not working on my laptop on itunes and the restore thing wont work! any help?

    I want to reset my ipod touch 4th gen but i have forgotten the restrictions passcode and for some reason its not working on my laptop on itunes and the restore thing wont work! any help?

    Make sure you have the Current Version of iTunes Installed on your computer
    iTunes free download from www.itunes.com/download
    Then See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...  Be sure to Follow ALL the Steps...
    Take your time... Pay particular attention to Steps 3 and 4.
    After you have Recovered your Device...Re-Sync your Content
    Note:
    To remove a forgotten Restrictions passcode you will need to  Restore the Device as New...
    OR... From a Backup created Before the Restrictions Code was set....

  • I want to reset my privacy questions for my apple i.d. But when i request to do so it sends it to a email address that isnt on my file can anyone tell me why its not working?

    I want to reset my privacy questions for my apple i.d. But when i request to do so it sends it to a email address that isnt on my file can anyone tell me why its not working?

    1)  Apple ID: All about Apple ID security questions
    Torrifromny wrote:
    I want to reset my privacy questions for my apple i.d. But when i request to do so it sends it to a email address that isnt on my file ?
    2)  See Here.  Apple ID: Contacting Apple for help with Apple ID account security
    Ask to speak with the Account Security Team...
    3)  Or Email Here  >  Apple  Support  iTunes Store  Contact

Maybe you are looking for