number of lines

Hi master,

How to count number rows each package body, as each procedure/function in a package body. I tried like like that... (I have almost 128 packages).

Select DISTINCT NAME, MAX (LINE) of user_source a clause where type = 'PACKAGE BODY' GROUP OF NAME;

(my diagram).

but I had many lines of each packagebody. I need to count each procedure/function in the package body. Ofcourse very boring task. But I need finish. (Work at home).

Is there a solution?

Please advise... !!

Concerning

AR

Hi William

Tried like this... !!

Select OBJECT_NAME, OBJECT_TYPE, CREATED, LAST_DDL_TIME, OWNER, STATUS of dba_objects

where last_DDL_time > trunc(sysdate-1)

and owner <> "SYS."

I have...! Thank you very much anyway

Tags: Database

Similar Questions

  • How to increase the number of lines 'forward '.

    The number of lines to allow me to "pass" the address elements recently reduced to only 4. Previously, I had an endless places in which to place the forwarding addresses.

    Firefox send an e-mail, it's strictly a web browser.

    If you use Firefox to access your e-mail, you use "webmail". You must seek assistance from your service provider or a forum for this service.

    If your problem is with Mozilla Thunderbird, let know us and we can move this thread to the queue of Thunderbird. This issue is currently in the queue of Firefox to get answers.

  • I need to number the lines of my page document for the presentation of the journal. Help, please!

    I need to number the lines of a document to be submitted to a journal. I can make a section in the document, but I can't find a command, and then add the line numbers.

    Hi Misha,.

    3 pages includes number of words to display as a menu item in the view menu:

    The County appears at the bottom left of the page and it shows more options when you click on it. Unfortunately, "number of lines" is not included in the available options:

    If you had ' 09 Pages on your Mac and did not intentionally removed it when you installed 5 Pages, it will always be there, in a folder named iWork ' 09, in your Applications folder.

    Copy your document, open the Pages ' 09 and paste the contents of your document into a word processor new document in Pages ' 09.

    Check that the end of the document is delivered on the same page (number) and to the same position on this page as in the original and making small changes at the margin to adjust it if necessary.

    Then go to edit > tools > statistics to see this more comprehensive report:

    Note that if you need to present the newspaper article in one format other than a file of Pages, the number of rows may change due to changes in the conversion to the new format of formatting.

    If you don't have a Pages ' 09, you can get a number of lines using tools > line numbers in OpenOffice or LibreOfficeApache. Both are applications open source, free to download and use (even if you might donate help the future evolution of the demand). The links will take you to their respective Web sites.

    Oh... One more thing (as long as Steve jobs used to say sometimes): pages (3), go (menu) Pages > provide pages of comments and make a feature request so that the line count (and line numbering) added the capability of 3 Pages.

    Kind regards

    Barry

  • Problem with the number of lines in the channel

    Dear community LabView,

    I'm relatively new to labview and I came across a problem that (I assume) can easily be resolved with your help.

    I need to create a digital signal to trigger a camera, but I have a problem with the configuration of my lines or exit lanes. I would not use that line output to trigger the camera. (I use a card NI PCIe-6353). LabVIEW is telling me that the number of lines in the channel does not have the number of rows of data:

    Possible reasons:

    Specified read or write operation failed because the number of rows in the data of a string is not the lines in the channel.

    If you use the digital waveform data type, make sure that the number of lines in the digital waveforms is the number of lines in the channel. If you are using Boolean data, make sure that the dimension of the array for the rows of the data is the number of lines in the channel.

    Number of lines in the channel: 1
    Number of data lines: 2

    Task name: _unnamedTask<11>

    How and why the number of data rows is connected to the resolution of my analog digital converter?

    I would appreciate your help! Labview code and a screenshot attached.

    Thank you

    Beff

    I got it to work by changing the "data format" "binary not signed" OR by plugging is not the "offset" for the Square Wave VI.  I think that the default "offset binary" data format works correctly if there is a negative value.

  • SE I can count the number of lines of UN chain?

    Hello that tal me preguntaba if hay alguna funcion that can count the number of lines that has string of United Nations, for example digamos than esto tengo:

    Hola

    Como

    estas

    Ok

    Son 4 lines, pero hay una funcion as arroje ese resultado? o tengo than generarlo? alguna idea?

    Saludos, buen dia.

    How to dice "Rube Goldberg" en Español?

  • Column data reading according to the number of lines

    Hi guys,.

    I am currently stuck on the problem of recovering the data from my database (MS Access) according to the number of lines, he has at any time (without having to know how many lines there will be during the programming of this part).

    First, I show how my program works. I'm working on an automated food, order and after the customer has chosen his power, system information such as the name of the food, quantity and price of the food will be written to the MS Access database table. (for example table name "Orderingtable" in MS Access) For my case, 1 order of food will occupy 1 line of the database table. In other words, as part of the same, if he orders 3 different foods, 3 rows will be filled in my database table.

    I would then get the part number of 'Quantity' for each order of the database and summarize the amount finally to count the total number of orders in the table of database at any time. This addition of result will be then shown on the Panel before informing the customer how many orders waiting's just prior to his order. In this case, it can get out if he wants to, if the number of orders is too big for its waiting time.

    However, I do not know how many lines my 'Orderingtable' will be 'Orderingtable' because both accumulate lines and data lines until being command to remove. Therefore, I cannot predict how many lines I program the party totals the number of quantity for each line.

    Is it possible that I can get the part of the 'quantity' without having to know the number of rows in the database so that I can count the total number of pending orders just by adding up the value of the quantity for each line?

    I do not wish to "code" my program by limiting the tables of database for us are going to say, only 50 lines at any time.

    Attached below, this is how my database table "Orderingtable" looks at, which will be used to extract the 'Quantity' column so that it can count the total number of orders and be shown/shown on the front panel of my Labview program.

    I hope that you are able to help me!

    Thank you so much in advance.

    See you soon,.

    MUI

    You can also use the SUM function:

    SELECT SUM (Quantity) OF the order WHERE Queue_No = %d

    And no need of an "Order By" clause, if you add just the quantities.

  • How to get the number of line of a multi-line string

    It seems that this Panel of string does not provide the tool to get the chain line number,

    Does anyone have the same experience?

    so...

    How to get the line number of a variable string?

    Number of lines

  • number of lines in the ListView blackberry stunts QML

    Hi all

    I have a ListView in QML page that contains several elements.

    I also want to display the total number of lines on the bottom of the page.

    Please tell me how.

    View the list code is as below: -.

     //! [1]
                    // The list view with all messages
                    ListView {
                        dataModel: _messages.model
    
                        listItemComponents: ListItemComponent {
                            type: "item"
    
                            StandardListItem {
                                title: ListItemData.senderName
                                description: ListItemData.sender
                                status: ListItemData.time
                            }
                        }
    
                        onTriggered: {
                            clearSelection()
                            select(indexPath)
    
                            _messages.setCurrentMessage(indexPath)
    
                            _messages.viewMessage();
                            navigationPane.push(messageViewer.createObject())
                        }
                    }
                    //! [1]
    

    Please suggest

    call on the datamodel size()

  • Move and organize files based on the number of lines

    Hello

    I have a directory containing files nearly 1,500, some of which are composed of 12 lines, some of which are composed of 4 lines, which are all .phy (PHYLIP) files, which can be viewed in Notepad/wordpad as text files.

    I need to execute a script which will determine the number of lines in each file and move them to the corresponding folder. The file size will not work for sorting, I've tried.

    that is, all files with 4 lines in one folder, all the files with 12 lines in another folder, any files left (so I can be sure that everything has been inspected) in the main directory.

    Can anyone help?

    Thank you

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.technet.Microsoft.com/forums/en-us/home

    http://social.msdn.Microsoft.com/forums/en-us/home

  • ORA-01422: exact fetch returns more than number of lines

    Hello world

    I want to create a procedure only allows me to perform selection et Update in my database, I have already create the procedure and compiled without problems but when I want to run this procedure, I have this error

    ORA-01422: exact fetch returns more than number of lines

    This syntax of my procedure

    create or replace procedure app is

    i nombre := 100 ;

    o_username employees.first_name% TYPE ;

    o_lastn employees. Last_name %TYPE

    o_sal. employees % of SALARY TYPE ;

    Start

    loop

    / * display * /.

    Select first_name, LAST_NAME, SALARY

    in o_username, o_lastn, o_sal

    of admin.employees where employee_id = i;

    DBMS_OUTPUT. Put_line (' name: ' | o_username);

    DBMS_OUTPUT. Put_line (' first name: ' | o_lastn);

    DBMS_OUTPUT. Put_line (' salary: ' | o_sal)

    / * put a days * /.

    Update employees

    put salary = salary + salary *0.25 where employee_id = i;

    commit;

    / * dbms_put.put_line (' new salary is: ' | ') sell2_tab (i)); * /

    i := i + 1 ;

    / * list the data * /

    / * dbms_put.put_line (' new salary is: ' ") ;*/

    output when i = 200;

    end loop;

    end app;

    thnx

    create or replace procedure APP is

    Constant START_ID EMPLOYEES. EMPLOYEE_ID % TYPE: = 100;

    Constant END_ID EMPLOYEES. EMPLOYEE_ID % TYPE: = 200;

    O_USERNAME EMPLOYEES. Type % name;

    O_LASTN EMPLOYEES. Last_name type %;

    O_SAL EMPLOYEES. Kind of % of SALARY;

    Start

    for rec (select FIRST_NAME, LAST_NAME, salary

    the admin. EMPLOYEES

    where EMPLOYEE_ID between START_ID and END_ID)

    loop

    DBMS_OUTPUT. Put_line (' name: ' | rec. NAME);

    DBMS_OUTPUT. Put_line ("first name:" | ") Rec. LAST_NAME);

    DBMS_OUTPUT. Put_line (' salary: ' | rec. SALARY) / * setting days * /.

    end loop;

    Update EMPLOYEES

    Set SALARY = SALARY + SALARY * 0.25

    where EMPLOYEE_ID between START_ID and END_ID;

    commit;

    end app;

  • Maximum number of lines per Page to include

    <! - this Configuration setting is managed by Oracle Business Intelligence Enterprise Manager - >

    < DefaultRowsDisplayedInDelivery > 75 < / DefaultRowsDisplayedInDelivery >


    I'm unable to change the maximum number of lines per Page to be included in the EM. This will automatically return to 75 after acivating changes.

    Can someone please help on this.


    Thank you

    Abhilash.K

    8506060755

    Hi Virginia,

    After the edition of the MA,.

    • Apply
    • Activate changes
    • Restart presentation Services

    Presentation Services restart will make the change.

    Thank you

    JP

  • Number of lines of an important application

    Hello

    Database: Oracle 12 c

    I have a requirement where a request comes for a large set of data, and I want to be able to see if the dataset is larger than 'x', basically throws an exception.  The problem is a request may come to 1 million rows of data, and I want to return an error if the dataset is larger than 100 k lines in the most effective way possible.  Here is what I tried:

    With the help of xmlsequence:

    v_sql_stmt: = ' SELECT * from large_table';

    v_Cursor: = DBMS_SQL. OPEN_CURSOR;

    DBMS_SQL. PARSE (v_Cursor, v_sql_stmt, DBMS_SQL. NATIVE);

    v_refcur: = DBMS_SQL. TO_REFCURSOR (v_Cursor);

    SELECT count (*) in the table v_count (xmlsequence (v_refcur));

    It made me a specific number of lines, but the performance was horrible.

    With the help of County:

    v_Cursor: = DBMS_SQL. OPEN_CURSOR;

    DBMS_SQL. PARSE (v_Cursor, v_sql_stmt, DBMS_SQL. NATIVE);

    v_count_sql_stmt: = ' SELECT count (*) from (' | v_sql_stmt |) ')' ;


    It worked too, however, when you use a lot of variable binding in the v_sql_stmt, I found myself with a bunch of complex 'if' statements when you counties.


    With the help of bulkCollect in a table:


    v_sql_stmt: = ' SELECT * from large_table';

    v_Cursor: = DBMS_SQL. OPEN_CURSOR;

    DBMS_SQL. PARSE (v_Cursor, v_sql_stmt, DBMS_SQL. NATIVE);

    v_refcur: = DBMS_SQL. TO_REFCURSOR (v_Cursor);

    Get the v_refcur COLLECT in BULK IN v_typ_array;

    v_count : = dbms_sql.last_row_count;


    It worked too, but again, I'm not sure effectiveness.   There must be something that I am missing that seems like it should be done easily.  Y at - it any recommendations on how to meet the requirement?


    Thank you.

    Because we want the client to know the request was unsuccessful.  Returning data is a sign of success.
    

    So return 100 k and let them know there is more lines, but they are limited to 100 k.

    I guess I could say "WHERE ROWNUM<= 1000001'="" ,="" and="" somehow="" check="" if="" the="" resultset="" contained="" 1000001="" rows,="" then="" throw="" an="">

    No - you can't "verify the result set.

    But then, I always try to get a count at this point.

    And now we're going in circles - I added the text capitalized to what I said before:

    Oracle doesn't know how many rows a query will return to what it executes the query AND RETURNS THE RESULT.

    Think about it:

    1. you have a 30-gallon trash bag

    2. the bag may contain some 'unknown' number of tennis balls

    3. you want to give to a friend ALL the balls in the bag, but ONLY if the bag within 30 bullets in it.

    4. If the bag has balls 30 or more you won't give the friend NO ball

    The ONLY way to know if there are less than 30 bullets in the bag is to count the balls.

    I can't really get any more simpler than this.

    You can either:

    A. repeat the work TWICE

    or

    B. just to give them the first 100 k lines.

    Please select A or b.

  • exact number of lines deleted when on_delete_cascade is active in the referential integrity

    Hi all

    I have here the question (restructured for simplicity):

    Suppose that I have a table used, which has a primary key emp_id and a mgr_id foreign key referencing emp_id:

    create table abc () number Middle eid number

    constraint of pk primary key(eid),

    constraint of fk stranger key (mid) referencing abc(eid) on delete cascade

    )

    Select * de abc

    EIDMID
    4
    1
    21
    31
    51
    62

    If I issue a delete as below:

    delete from abc where eid = 1

    After running above sql, the number of rows sql % gives me the deleted rows = 1, but in fact, had to remove cascade, 5 rows are deleted.

    My question is how can I the exact number of rows deleted from the table in this scenario?

    What SQL ROWCOUNT percentage watch you is correct because it shows the number of lines made directly by the statement you issue.  All knock on effects by cascading deletes, or triggers are not included.

    The only real way you'd be able to get a number of lines (assuming nothing else bothers while you do) this is to count the lines service based on your business logic for related lines and then remove them, or maybe put a trigger delete (be aware of the drop in performance) on deletions for lines that puts something like the primary key for a global temporary table (available lines only for your session) that you can then query after how many rows have been completed.

  • How Oracle 'row_limiting_clause' for the number of lines. percent for HUNDRED lines works in Oracle 12 c?

    Platform: Windows 7 x 64 database: Oracle Database Enterprise Edition Release 12.1.0.2.0 12 c - 64 bit.

    How row_limiting_clause Oracle to rowcount. percent for HUNDRED lines works in Oracle 12 c?

    Row_limiting_clause Oracle is acting funny. In the code below, the 'fetch_test' table has 10 rows

    Case 1 When using row_limiting_clause with first extract 0.5 lines only I get, no line selected

    Case 2 When use the row_limiting_clause with the first rows only 5 percent clause I get,1 row as output.

    This means case 1! = 2 cases [0.5! = 0.5 (5 percent of 10 lines)]

    SQL > select * from fetch_test;

    COL1 COL2

    ---- ----

    1A

    2B

    3 C

    4 D

    5 E

    6 F

    8: 00

    5%

    : j

    10 J

    10 selected lines.

    case 1:

    SQL > select col1 from fetch_test

    2 first extract 0.5 lines only;

    no selected line

    case 2:

    SQL > select col1 from fetch_test

    2 extract the first rows of 5 percent;

    COL1

    ----

    1

    1 selected line

    What Oracle Documentation has to say,

    https://docs.Oracle.com/database/121/SQLRF/statements_10002.htm

    If the number of lines has a fraction, then the fractional part is truncated. If the number of rows is NULL, 0 rows are then returned.

    This explains the case 1, but I can't find any possible explanation in case 2 in my example above. and there is no mention on percentage clause in the Oracle Documentation.

    Already asked on stack - overflow.but I got the answer regarding "assumes percent Gets the cycle of 5% to 10%.

    No idea why Oracle doing what they do on the documentation!  I hope that now you have the answer: a rest (when you use percent in the line limiter) will ALWAYS return a number integer, rounded upward.

  • Request Express 5.0.0.00.31/Tabular form/number of lines

    Hello

    I would like to ask how to configure the number of lines displayed per page.

    I did the below and also I tried to re-charge/reload, but impossible to get what I want.

    Implement a tabular form

    Set the presentation attributes of the State and the paging number of rows 50

    Registered and run this page, it shows still 15 ranks in this page.

    A I missed something? Or as a table don't allow no more than 15 lines be shown on 1 page?

    Thank you.

    Hello

    Pagination settings are cached for the duration of the session. This change is visible immediately, close the session, restart the brower and connect again or manually re - request the page from the browser's address bar, adding the ClearCache position 'RP' in the URL.

    Do not set anything in number of lines (point). This is used to identify an element of the page containing the number of lines to allow users to control this

    (Note: If you think it answers your question, please mark it as correct answer.) This will help other users in the community)

    Thank you

    Benhamdia

  • Basic conditional script based on the number of lines in a text layer?

    Just received help here to write a conditional script by using the font size of a text layer. Thank you all for this.

    The next hurdle is a conditional script using the number of lines in a text layer in the differential. Far as I can tell it not the layer details which specify the number of lines. Just '\r' for a return in the idTxt descriptor. Nothing seems to stand for a soft return as far as I can tell. I'll probably have to be able to count the lines with soft and hard returns.

    Any thoughts?

    I was playing around with this a bit and here is a small script to determine the number of rows. This is based on the self in the head, that I calculated to environ.108 times the size of the font.

    #target photoshop
    app.preferences.rulerUnits = Units.POINTS;
    var doc = activeDocument
    var tL = doc.activeLayer
    var h = tL.bounds[3]-tL.bounds[1]
    var per = ((h/5)-(tL.textItem.size))/tL.textItem.size
    var num = h/(tL.textItem.size *1.108)
    
    alert(Math.round( num))
    

Maybe you are looking for

  • Sype for linux don't remember password

    Sype for linux do not remember password and each time when I loged in I have to type it again - any solution for this

  • Error in Toshiba VAP by installing on the Satellite A100-906 with Win7

    Hello I want to install PVAT on my laptop but the installation is performed with the error message: ID_ERR_NOTINSTALLTVALZ_MESSAGEPVAT is downloaded from the Toshiba support for my laptop model pages.My OS is RC Win7 64 with the latest updates. Any i

  • Windows error recovery vista

    I have an Acer Aspire 6929g with Vista. Last night I turned on my laptop and I forgot about it, it was not plugged in then the battery is dead. Today, I turned it on and windows error recovery is there. I tried to launch launch repair but also to sta

  • ASA5520

    8.0 (4) asdm615 VPN and lisens Inside access list - checks only connections from inside DMZ or outside interfaces. Abd do not work for traffic going from the outside ot dmz. for example host located in inside: only 1 rule in acl located inside the in

  • Hi blackBerry smartphones day call me

    Hi every time I update my phone to the new blackberry Messenger it continues to flow to the top with the words combining what I do