EA1 - DBMS_OUTPUT prints to Script Output window

All,
I saw another post about the window switching from the DBMS Output window to the script window after a script is executed (I don't like that either), but this is different.
My DBMS Output is being output to the Script Output window.
Example:
begin
   dbms_output.put_line('Hello World');
end;Yields (in Script Output):
anonymous block completed
Hello WorldDan
Modified Subject
Message was edited by:
dmcghan

This is definitely a change from 1.2.1.31.12, where even running as a script the DBMS Output was displayed on the DBMS Output tab.
However, while this makes DBMS Output inconsistent (where it appears depends on how you run it) it does make scripts that produce DBMS Output and other output consistent (all output goes to script output).
For example, if you were writing scripts like the following (assuming the PL/SQL generates DBMS Output), the output will now be consistent:
select count('x') records from my_interface;
begin
process_my_interface;
end;
select count('x') records from my_interface;
With the way the DBMS Output and Script Output tabs are set up now, either DBMS Output or Script Output has to be inconsistent when in comes to displaying DBMS Output. I think that the way 1.5 EA1 works is inconsistent in a more manageable way (largely because reconstructing a single stream of output from more complex cases of the example above would be difficult).

Similar Messages

  • Bug? 4.0 EA1 Can't select all in Script Output window

    This seems to be a small bug. Open a worksheet and enter any query. Run as a script (F5) and the output appears in the Script Output window. Click in the Script Output window to give it focus and type Ctrl-A to select all the output. The text selected is actually the contents of the worksheet, not the output. Right-clicking in the Script Output window also has no effect. It looks like the Script Output window can't actually gain focus?
    This is a bit trivial, but was annoying when I was trying to move some data over to Excel using a /*csv*/ type query.

    for tracking this is logged as bug 17164225
    B

  • 4.0EA1 - Copy/Paste in Script Output window on Mac is not working

    I'm running 4.0.0.12 on MacOS X 10.8.4, and I can't Copy from the "Script Output" window.  What I regularly do is generate some SQL using an SQL query, so I want to copy the output and paste it back into the Worksheet so I can run it.  For example:
    select 'alter tablespace ' || TABLESPACE_NAME || ' begin backup;' from DBA_TABLESPACES;

    This is a known issue and will be addressed for the next EA release.

  • Japanese charactor does not display in Script Output window

    I usging SQL Developper EA 4.1 on japanese Windows XP.
    SQL Developper EA 4.1 can not display Japanese charactor in Script Output window.
    How can I change font for Script Output window?

    If you change your prefered encoding in raptor to be utf8, this will work. There was an issue with MB chars in the feedback from statements like "create table XX processed" where XX was the japanese chars that would not show, but this has been rectified

  • Close script output window

    So after YEARS of working with MS SQL, I'm now working with Oracle. One of the biggest problems I'm having is that in Microsoft SSMS, you can hit Ctrl+R to minimize the query results window.
    1) Is there a shortcut key to minimize the script output window in SQL developer?
    2) I would like to change the shortcut to ctrl+r as it's such habit by this point, but not sure what the name of the proper shortcut would be either.
    Thanks in advance for any help with this!

    Check this thread where it was described how it works, however i don't think you can change the shortcut.
    Re: Request "Hot key to show/hide result grid" = how was implemented 2.1.1 ?
    Hope it helps,
    Dani

  • Read header text from vf01 and print in script main window

    Hi Gurus,
               I need to read text from vf01 header note 1, there user type max 10 lines i want to read that 10 lines and print in sap script main window after line item printed. i used read text but  one line only  fetched. i declare variable like  data : NEXRSP LIKE TLINE-TDLINE and read_text function module. pls provide solution for this.
    Regards
    G.Vendhan

    HI GURUS,
    Thank u for reply i declare like
        ID = '0002'.
        PERFORM READTEXT USING EN NAME OBJECT ID TEXT_OUTPUT.
        NEXRSP = TEXT_OUTPUT . CLEAR TEXT_OUTPUT.
    FORM READTEXT  USING    P_EN
                            P_NAME
                            P_OBJECT
                            P_ID
                            P_TEXT_OUTPUT.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          CLIENT                  = SY-MANDT
          ID                      = P_ID
          LANGUAGE                = P_EN
          NAME                    = P_NAME
          OBJECT                  = P_OBJECT
        TABLES
          LINES                   = LINES
        EXCEPTIONS
          ID                      = 1
          LANGUAGE                = 2
          NAME                    = 3
          NOT_FOUND               = 4
          OBJECT                  = 5
          REFERENCE_CHECK         = 6
          WRONG_ACCESS_TO_ARCHIVE = 7
          OTHERS                  = 8.
       LOOP AT LINES.
        P_TEXT_OUTPUT =  LINES-TDLINE.
        EXIT.
       ENDLOOP.
      FREE LINES. CLEAR LINES.
      ENDFORM.                    " READTEXT

  • Printing from Script Output tab defaults to Tray 1

    Using the print icon on the Script Output tab sends the document to our multi-tray printer (a HP LaserJet 4050TN) but defaults to Tray 1 - the manual input tray. There is no way to change it - even choosing a specific tray in the print properties doesn't appear to do anything.
    Any ideas?
    Cheers
    Daniel

    Followup.
    This problem has been reported before:
    https://groups.google.com/forum/#!topic/chromebook​-central/xHLtvK4YK0I
    The Duplex setting in the Cloud Print dialog works for the pending print job, but changes to the setting don't "stick". I've worked around by leaving a stack of our normal print paper in tray 1, in addition to the stack in tray 2. Chromebooks print to the Tray 1 by default; local workstations print to Tray 2. Ugly; will shorten life of device.

  • 30EA1: Closing Query Result & Script Output Windows

    It would be nice if you could close these output windows by middle mouse button clicking. You can close object viewing windows (tables, procedures) & SQL worksheet windows this way.
    Thanks,
    Justin

    Yes, please, for consistency. I bump into this limitation also now and then.
    Thanks,
    K.

  • Problem with line items print in Script MAIN window.

    Dear Friends,
    I am facing a problem with display the line items in main window.
    Here i have created my form with 2 pages,
    in first page i have created header window(my header information is full length of page), in second page i have created 2 windows, one for MAIN window and second for FOOTER window,
    i am having the Footer information about to off the page.
    and in my main window total 3 line items are coming, if i am having 3 line items then it is displaying properly (first 3 line items then immediately footer information on same page) but if am having more then 3 line items say four, then in my second page first it is printing 3 line items then it is switching into another page. After that footer is coming but. in previous page after printing 3 line items the remaining page is empty..
    my client want me to remove that place also. he wants to display continue..
    i think so u people r understand what is my problem...pls advice me what i want to do to solve this problem.
    Thanks
    Sridhar.

    Hi Sridher,
    If you want to display the footer information only on the last page why dont you use a table to display your details and place the footer details in the table footer instead of a seperate footer window.
    Regards,
    Vidya.

  • 2 Dumb Questions: Toggle Script Output tab / Set Serverouput Toggle

    I use SQL Developer quite a lot, but I need some basic help
    I'm using SQL Develeoper 3.0.04
    Question 1.
    If I ever close [X] the Script Output tab/window, I have a huge headache trying to open/unhide it again. I can't do it!
    I've looked in the menus,
    Preferences / Keyboard shortcuts etc but I just can't see it.
    So how to a make the Script Output tab re-appear? THere must be a toggle somewhere.
    Question 2.
    In a previous version of SQL developer, I used SET SERVEROUTPUT ON.
    The output from all my dbms_output.print_line statements would appear in the script output window FOR THE ENTIRE SESSION.
    In this version that I'm using, everytime I run an anon block I have to preceed the block with SET SERVEROUTPUT ON.
    It doesn't remain ON for the entire session. It only affects the next block of code that I try to execute.
    An I doing something wrong?
    Thanks for any help.
    Stu

    Welcome to the forum!
    Thanks for providing the sql developer version. Functionality can, and does, change between versions.
    >
    Question 2.
    In a previous version of SQL developer, I used SET SERVEROUTPUT ON.
    The output from all my dbms_output.print_line statements would appear in the script output window FOR THE ENTIRE SESSION.
    In this version that I'm using, everytime I run an anon block I have to preceed the block with SET SERVEROUTPUT ON.
    It doesn't remain ON for the entire session. It only affects the next block of code that I try to execute.
    >
    Have you tried using the DBMS_OUTPUT window?
    Select 'view -> DBMS Output
    Then if you roll-over the '+' sign on the DBMS Output Window toolbar you will see that it says 'ENABLE DBMS_OUTPUT FOR CONNECTION'.
    Click it and all output should display in the window.

  • Minimize output window

    Hello,
    My test consist of one CVI function, that contains some printf lines.
    In other words my function prints runtime test results in stdout.
    Each time when print occurs teststand output window activate and maximize itself.
    My test is long enough and It's really ugly and irritating to minimize it each time.
    Could you help me? Anybody knows how can I minimize output window?
    My be I can to minimize it from code?
    Thanks

    Try looking at some of these methods:
    SetStdioWindowOptions()
    SetStdioWindowPosition()
    SetStdioWindowSize()
    SetStdioWindowVisibility()
    You can read about them in the CVI Help.  Even though you see the TestStand symbol on that I/O window it is really CVI that is generating it when you do a printf.  TestStand just owns it.  You can set different options for the window using these functions.
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Script Output and not copying extra trailing spaces

    My keyword foo has failed me (both google and here).
    Is there a way to suppress the extra whitespace that is generated after the script output pane's text, at least during copy-paste?
    When I copy text out of the the script output pane, I end up with 36,000 characters per line when I only need, say 100.
    (Or have I somehow turned on a setting that made it huge and have not noticed it?)
    Thanks,
    Andy Bay

    Hi Gary,
    Thanks for logging this bug:
    Bug 13357403 - FORUM: NEED TRIMOUT AND TRIMSPOOL SUPPORT
    In response to this thread:
    Re: 3.1EA1 - Whitespace in the Script Output window
    Regards.
    Greg.

  • Script output font

    hello
    is there any way how to set non-proportional font in Script output window? It should improve result reading...
    p.

    I am not sure if this is configurable. I just wanted to explain why we did it this way. You can use 'SELECT' and this is the tab that displays 'DESC' so the proportional font ensures your columns are aligned.
    -- Sharon

  • Script Output cuts my querry

    Hello SQL Developers,
    I have a script that has some bigger output per querry (exactly it generates an XML)
    When I run this script (F5) it only outputs the first about 200 chars per querry, then it cuts and starts with the next querry
    For example:
    Xml Output
    <?xml version="1.0" standalone="yes"?>
    <Customers>
    <Customer>
    <CustId>100<
    Xml Output
    <?xml version="1.0" standalone="yes"?>
    <Customers01234567890123456789>
    <Custom
    Starting every querry for its own (Ctrl+F5) shows in the result window the correct result of this single querry without cuting somethink of.
    I've tested it with the computer of a classmate. There it works fine without any cut in the Script Output window. Maybe that's because he didn't update
    SQL Developer for more then a year. Maybe it is a setting I didn't found yet. Please can somebody help me?
    Edited by: WillardBL on 10.10.2012 13:48

    Hi WillardBL,
    Quite a few years ago there was a bug involving slow performance and/or Java OutOfMemoryException when displaying MySQL BLOBs, probably due to some issue with the MySQL JDBC driver. The bug was addressed back in SQL Developer 1.2.26.09 and is...
    Bug 5904607 - MYSQL RUN SCRIPT PERFORMANCE FROM WORKSHEET NOT SATISFACTORY
    At that time, a 4000 character display column size limit was added to circumvent the problem. It still remains and has not received much attention -- perhaps since VARCHAR2 is also limited to 4000, at least through the Oracle 11g releases.
    In your specific case, you are not reaching the 4000 character limit. You can try the following in the worksheet:
    show longwhich should show a default value of 80 if you never overrode it in your connection login script (Tools | Preferences | Database). So just
    set long 4000and try running the script that outputs the XML again. Keep in mind that set long
    Sets maximum width (in bytes) for displaying LONG, CLOB, NCLOB and XMLType values; and for copying LONG values.
    Possibly Bug 5904607 needs revisiting, but I hope the approach described will be sufficient to get you past the current problem.
    Regards,
    Gary
    SQL Developer Team

  • Script output headers

    Is it possible to remove the header from query results in the the script output window?
    select 1 AS dont, 2 AS need, 3 AS a, 4 AS header, 5 AS thanks from dual;
    DONT NEED A HEADER THANKS
    1 2 3 4 5
    I only want the row of "1 2 3 4 5".
    In SQL Plus, I arrange like so:
    SQL> select 1 AS dont, 2 AS need, 3 AS a, 4 AS header, 5 AS thanks from dual;
    DONT NEED A HEADER THANKS
    1 2 3 4 5
    SQL> set heading off;
    SQL> select 1 AS dont, 2 AS need, 3 AS a, 4 AS header, 5 AS thanks from dual;
    1 2 3 4 5
    SQL>
    However, 'set heading off' in SQL Developer gives "line 1: SQLPLUS Command Skipped: set heading off;"
    Is this possible? If not, can it be put in the request pile for a future release?

    Can't be done currently...
    Requests should go to the announced SQL Developer Exchange, so others can vote on them.
    Regards,
    K.

Maybe you are looking for

  • How to switch off laptop screen when you connect external LCD?

    Hello, being new to Mac I'd like to ask if it is possible to completely switch off the laptop screen when you connect an external LCD screen and use it as your main desktop. My MacBook Pro does that automatically when I launch a full screen game, say

  • PLD-Relate To function

    Hi all, In Properties window of the PLD(in Content Tab) if the source Type of the field is Database , then 'Relate To' and 'Next Segment' functions appear where we can link some field . What is the actual use of these functions?  How are they differe

  • 3G - IOS 4 locked up on backup, Instead restored. Not connecting to I tunes

    Downloaded new ITunes. Tried to install IOS4. On installation, and after 12 hrs of not completing the backup, I followed advice on a forum and did a restore. Now IOS4 is installed and working ok with just a few of my apps. Notes and contacts are all

  • I am in Brazil. How do I get my Blackberry Tour to work here.

    I am in Brazil. I can not get and access with my Blackberry Tour.

  • Check DB Error in BW system

    Hello All, Check DB job ends with following error Microsoft SQL Server  2000 - 8.00.2282 (Intel X86)      Dec 30 2008 02:22:41      Copyright (c) 1988-2003 Microsoft Corporation      Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2) M