How to get line numbers to display on the SQL worksheet?

Dear Forum,

I learn the SQL Developer.  I use it in my work and school.  At school, when I enter a query in the SQL worksheet, line numbers show in a column to the left of the editing area.  In my work, no line number.  I'm working on a fairly long query at my work, and the line numbers would be useful.

I looked at tools / preferences / settings for the Code Editor, but do not find a setting for line numbers.  I looked at the other tabs in preferences and found nothing that looked useful.

I have looked at all of the choices on the display list, but can't find anything on line numbers.

Am I missing something obvious?  Line numbers is also available?  If so, how?

I looked at various hits "line number" in this forum, but I've not found anything exactly the point.

Beverly

PS Oracle 11g, SQL Developer 3.0.04, Linux x 86-64 (don't have version)

Tools-> preferences /-> Code Editor-> line gutter

Tags: Database

Similar Questions

  • How to get line numbers to COLLECT in BULK

    Hello

    I have a cursor loop where I insert a record into < HEADERS table >.

    Inside this loop, I do

    SELECT * COLLECT LOOSE lines_table

    ...

    FORALL x IN lines_table. FIRST... lines_table. LAST

    INSERT INTO < table > VALUES)

    < sequence row id >. NEXTVAL,

    < need to insert the number of the line here >

    So I need to have the line number for heading 1,: 1, number of line: 2,...

    For heading 2, I need to have the line number: 1, number of line: 2 and so on.

    Any ideas?

    Thank you

    Anatoliy

    I have line_number in my collection. But here's my problem: if I add rownum in the selection list, for example

    SELECT FAH_DATA_STG_ID

    BATCH_ID

    ..........

    ROWNUM as line_number

    LOOSE COLLECTION lines_table

    Of

    ....

    I'm getting ORA-00947: not enough values.

    Well, I can understand that because lines_table is replica, so when I add select ROWNUM list he complains that he has no place to put it in. I'm doing it wrong or what I need to add a field to the as well?

    Well - it's confusing.

    You say you "have line_number in my collection. But then, you ask, that if you add ROWNUM in the selection list he has no place to put it.

    BOTH cannot be correct.

    Your SCALAR type MUST HAVE an attribute for each value you want to include. If you must have an attribute for EACH column of the table (if you need all the columns) and then an attribute more to the line number.

    Then, the SELECT list must have the SAME NUMBER of values.

  • How to get lines with English letters at the end of race

    Hi all

    Examples of data include:
    create table test_app(application_no number, net_code number,branch varchar2(40));
    
    insert into test_app values(1001,01,'operations')
    insert into test_app values(1001,02,'production');
    insert into test_app values(1001,03,'testing')
    insert into test_app values(1002,01,'power coding');
    insert into test_app values(1002,02,'testing')
    insert into test_app values(1002,03,'export');
    insert into test_app values(1002,03,'operations');
    SQL> select*from test_app
      2  where application_no=1001;
    
    APPLICATION_NO   NET_CODE BRANCH
    -------------- ---------- -----------
              1001          1 operations
              1001          2 production
              1001          3 testing
      1  select*from test_app
      2* where application_no=1002
    SQL> 
    
    APPLICATION_NO   NET_CODE BRANCH
    -------------- ---------- --------------
              1002          1 power coding
              1002          2 testing
              1002          3 export
              1002          3 operations
    But my real need is delivered as follows:

    If an application having more then a result lines then
    I must add A, B, C, D... up to the total number of rows in the result set.
    Surely it will not exceed more then 26 ranks (will not exceed 'Z');



    the result should is:

    ask any = 1001

    DIRECTORATE GENERAL OF THE NET_CODE OF THE APPLICATION_NO
    -------------- ---------- -----------
    1001 operations 1
    2-1001 production_A
    1001 3 testing_B


    ask any = 1002


    DIRECTORATE GENERAL OF THE NET_CODE OF THE APPLICATION_NO
    -------------- ---------- --------------
    1002 1 power coding
    1002 2 testing_A
    3 1002 export_B
    3 1002 operations_C

    If we have 10 lines to the appication = 1002;



    DIRECTORATE GENERAL OF THE NET_CODE OF THE APPLICATION_NO
    -------------- ---------- --------------
    1002 1 power coding
    1002 2 testing_A
    3 1002 export_B
    3 1002 operations_C
    .... ..........._I

    Note: first line should add with no letters. Add letters with the second row.

    How to achieve this result. Please help me...

    Published by: roots on 6 March 2012 09:14
    select  application_no,
            net_code,
            branch ||
            case
              when row_number() over(partition by application_no order by net_code,branch) > 1
                then '_' || chr(ascii('A') + row_number() over(partition by application_no order by net_code,branch) - 2)
            end branch
      from  test_app
      order by application_no,
               net_code,
               branch
    /
    
    APPLICATION_NO   NET_CODE BRANCH
    -------------- ---------- -----------------
              1001          1 operations
              1001          2 production_A
              1001          3 testing_B
              1002          1 power coding
              1002          2 testing_A
              1002          3 export_B
              1002          3 operations_C
    
    7 rows selected.
    
    SQL> 
    

    SY.

  • How to get: fusion record Id displayed when the output of the process of direct mail?

    Example:

    I'm doing a fusion of the Disqualification, I need to get the record Id that is merged into the gold disk appears in a delimited text. Can you please help me to achieve this?

    ex:

    Row_id name

    1 Anand

    2 Anand

    3 Anand

    After the merger, I need something like that.

    Row_id name MergedId

    1 Anand 2.3

    Should be simple. Add a merged output attribute, use the selector list delimited by some (and the Distinct option, although your credentials are probably separate anyway).

  • How can I get my pictures to display in the order they were taken?

    How can I get my pictures to display in the order they were taken?

    Hey Mole,

    Greetings.

    • Open LR, go in the downstairs library module, click the capture time in the sort order.

    Concerning

    Rohit

  • A form of the APEX, the elements of the numbers go right margin.  If you change these elements to "view only", the margin moves to the left.  How can I set numbers to display with a right margin?

    A form of the APEX, the elements of the numbers go right margin.  If you change these elements to "view only", the margin moves to the left.  How can I set numbers to display with a right margin?

    You must use the attribute of the element of the element. Change the Horizontal/Vertical alignment to right.

    https://www.dropbox.com/s/gxn51e0steg482a/element.PNG

  • Line numbers &amp; search w / in the file

    In the designer, how can I get line numbers to show?  And how does a search and search / replace in one file?

    Thank you.

    Preface: race of beta3-cfbuilder on Windows as a plug-in for eclipse 3.52 JEE

    Right-click on the gray border left next to the code window, and then select "show line numbers".

    CTRL + h to bring up the search dialog box to any research project or files remotely

    CTRL + f find in files

  • Re: Font book. I chose "restore standard fonts" by mistake. How to get back on my choice. The Cancel button is grayed out so I can't cancel it. Any suggestions? Thank you!

    Re: Font book.

    I chose "restore standard fonts" by mistake. How to get back on my selection. The Cancel button is grayed out so I can't cancel it. Any suggestions? Thanks in advance!

    If you click on 'Restore the standard fonts', fonts that are not included in the OS X systems is placed in a "fonts folder (deleted) next to the fonts folder.

    / Library/Fonts

  • I have Dell ispron B130 running windows xp, how do I print what is displayed on the screen using the PRNT SCRN key?

    I have Dell ispron B130 running windows xp, how do I print what is displayed on the screen using the PRNT SCRN key?

    The 'Print screen' button is misnamed.  In fact, what happens when you press it, it is that an image of the screen is copied to the Clipboard.  You must then open an application that can work with images (paint works) and paste in the opened window (or right-click > paste or edit > paste).  Then you can use the regular print of this application (for example, the file > print).

    You can also download free IrfanView.  It is a very handy utility.  It allows you to open and view a wide variety of image file formats and also has the capability of the bulk renaming of files and - for your current number - capture screen images and prints them out.

  • Using Vista Home Premium 64 x. In Windows Explorer how to group by name to display with the simple letters like A, B, C, D, etc. instead of A - H, P, Q - Z?

    Original title: group Windows Explorer by name

    Using Vista Home Premium 64 x.  In Windows Explorer how to group by name to display with the simple letters like A, B, C, D, etc. instead of A - H, P, Q - Z?  In XP, it could be sorted by simple letter, which makes it easier in a folder with many files.  Thanks in advance.

    Hi kmcmi,

     

    Welcome to Microsoft Answers Forums.

    Well this feature is not available in Windows Vista.

    It only works on Windows XP.

    I've added a useful link

    Behavior and change folder views

    http://windowshelp.Microsoft.com/Windows/en-us/help/3a3bfe59-5268-4FB3-81c5-7972c28939cd1033.mspx

    Hope this information is useful.

    Let me know if it worked.

    All the best!

    Thanks and greetings

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to perform the procedure in the SQL worksheet?

    Hi, anyone knows, how I can execute procedure here?

    I try to EXEC sec_roles, EXEC security_admin.sec_roles, EXECUTE - there's a SQL statement error. When I use the CALL - there is no such procedure (I have execute privileges).

    Although in SQLPlus EXEC works, but there are problems with the standard SQL commands (each of them '2' returns any content is).

    Any ideas?

    Concerning
    Krzysztof

    EXEC procedure (parameters) is a plu sql (and some others) shortcut for

    BEGIN
       procedure(parameters);
    END;
    

    So try that and then pressing / on anything in the sql worksheet that makes a statement in execution.

    Note that if your procedure has defined parameters as OUT or IN OUT, you need to provide a variable to accept the returned values.

    John

  • How to get lines in pie charts

    Using CF7 and WebCharts3D and got my graphics work in sectors. Only problem, I can't figure how to get it to display LINES of etiquette with each slice of pie, to the corresponding edge of the label. The slice of pie labels (descriptions) appear outside the chart areas, that is where I need them. But when you get a pie with a lot of slices (say 8 or more) and a lot more slices close together, it is difficult to say which label applies to which slice. Hope it makes sense.

    All I need is to add a SMALL LINE of each label to his slice of pie correspondents. I have searched WebCharts3D options to do this, but can't seem to find anything (in the decorations, series, etc., sections).

    If this is possible (get these lines to appear) could someone please advise how to do this? Appreciate any help or advice. (It's probably something very easy, and I just missed it).

    Gary

    I was afraid of that. I wanted to just make sure I was not missing something. Thank you for the note and confirm. Very much appreciated.

    Gary

  • 6830 OfficejetPro e-all-in-one: how to get setup in 6830 display?

    The user 6830's manual said, I can get a printer status report in the touch screen by pressing the Setup program, but there is no configuration — anywhere.  The default view's time on top (touch it only allows you to change the time/date, nothing else), 3 large touch areas marked copy, Fax, Scan (same thing happens when I touch one of them), and a row of 6 works icons (ePrint, Direct wireless, Wireless summary parameters, environmental parameters, Fax status, & estimated ink levels) and touch any of these returns a display that shows the installation program.  How do the installation menu?

    This should be quite irrelevant, but this printer is connected to a computer running Linux Mint KDE 17.1 and four other Linux operating systems (each a variation on Ubuntu), one at a time.  And I have the hplipopensource printer driver, c. HP - 3.15.11, installed in each of them.

    I found it!  I didn't know I could slip my fingers on the middle row of the contact areas to reveal areas of contact more to the right.  Once I did, I found the installation icon.  Thank you.

  • How to get out a 'Store Display Mode "(demo mode)?

    I just bought a Sony Bravia KDL-55BX520
    She was exposed to store and I can't get out of "Store Display Mode"(demo mode)
    I tried a search on the web and everyone repeat to hold the arrow facing upwards and press the power button, but nothing happens.

    Hold down the HOME button on the bottom right TV for 10 seconds. It makes alternate the demo mode ON / OFF

  • P7-1298cb: Multi-color flickering lines in columns displayed on the screen after upgrade Windows 10.

    I upgraded Windows Windows 8.1 1O.  I've updated the drivers.  The monitor multicolored poster of fine lines in columns.  The lines of twinkle randomly.  The monitor is a diagonal LED of 2711 x 27 inch HP (XP600A) screen.  It is not that there is a specific monitor for Windows 10 driver.  Any suggestions on how to fix this?

    HI @TLL2016,

    Thanks for getting back to me.

    There is no update BIOS, but there is more recent graphics driver.

    Here is a link the download AMD UMA Graphics Driver.

    Just to check the monitor, here is a document for display quality problems.

    Please keep me informed of the progress of things.

    If you need help, let me know and I will gladly make all that I can to help you.

    Please let me know if that solves the problem by marking this post as "accept as a Solution.
    To simply say thank you, click the Thumbs up below!

    Thank you.

Maybe you are looking for