Looking for Query..

sno name price date
1 a 200 jan 2012
2 b 300 feb 2012
3 c 400 sep 2012
4 d 260 dec 2012
Output need:
sno jan feb mar apr may jun jul aug sep oct nov dec
1 200
2 300
3 400
4 260
I tried query like this. But for every month i have to write decode. Instead of this is there any alternative way. I need to design in Oracle Reports 6i.
SELECT sno,
MAX(DECODE(date,jan, price))Jan,
MAX(DECODE(date,feb, price))feb,
MAX(DECODE(date,apr, price))mar,
MAX(DECODE(date,dec, price))dec
FROM PRODUCTS
Is ther any other way to write this sql
DB:9i
Thanks & Regards
pallis

Hi, Pallis,
pallis wrote:
sno name price date
1 a 200 jan 2012
2 b 300 feb 2012
3 c 400 sep 2012
4 d 260 dec 2012Always post CREATE TABLE and INSERT statements for your sample data.
See the forum FAQ {message:id=9360002}
Output need:
sno jan feb mar apr may jun jul aug sep oct nov dec
1 200
2 300
3 400
4 260That looks like the feb-dec columns are always NULL. Is that what you meant, or did you mean something like this:
sno   jan   feb   mar   apr   may   jun   jul   aug   sep   oct   nov   dec
  1   200                                 
  2         300
  3                                             400
  4                                                                     260? The same forum FAQ page explains how to use \ tags to post formatted text on this site.
I tried query like this. But for every month i have to write decode. Instead of this is there any alternative way. I need to design in Oracle Reports 6i.
SELECT sno,
MAX(DECODE(date,jan, price))Jan,
MAX(DECODE(date,feb, price))feb,
MAX(DECODE(date,apr, price))mar,
MAX(DECODE(date,dec, price))dec
FROM PRODUCTS DATE is not a good column name.
How are you defining variables such as jan that are used in the DECODE expressions?  You can use the SYSDATE and ADD_MONTHS functions to dynamically set them relative to today's date.  For the column aliases, you may need dynamic SQL.  (In SQL*Plus, this is fairly easy, using substitution variables.)  When you post the sample data, give a couple of different examples of output you would want from the exact same data.  E.g. "If I run the query today, or any time in January 2013, then I should get this output: ...  but if I run it in February 2013, then I want ..."
Is ther any other way to write this sqlYes, therres another forum FAQ page on this topic. {message:id=9360005}
Do you need 12 separate columns for the months, or would you accept one big string column, formatted to look like 12 columns?  String aggregation (which does *not* require dynamic SQL) might be an option.
DB:9iAre you saying you're database version is Oracle 9?  What is the actual version number, e.g. 9.2.0.6.0?
I don't know if Oracle Reports can pivot data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Looking for Query Help

    Hello all
    I am having a problem and I hope you guys could help me with it. Essentially, I have to create a query. This essentially what my db tables look like.
    | Name | Status|
    |First | 1 |
    |First | 2 |
    |Second| 3 |
    |Second| 2 |
    |Third | 1 |
    From this table, I have to get the following table:
    |Name |Count Total|Count 1|Count 2|Count 3|
    |First | 2 | 1 | 1 | 0 |
    |Second | 2 | 0 | 1 | 1 |
    |Third | 1 | 1 | 0 | 0 |
    Here, "Count Total" is the total number of entries for each name, "Count 1" is the total number of entries with the Status 1 for each name, "Count 2" is for status 2, and so on.
    I have a feeling that this quiry can be done fairly easily, but I cannot envision it. Any help you guys could give would be great.
    Thank you in advance.

    Hi,
    How different value have you for status ?
    Only three ?
    SQL> select * from rk;
    NAME           STATUS
    First               1
    First               2
    Second              3
    Second              2
    Third               1
    SQL> ed
    Wrote file afiedt.buf
      1  select name, count(*), nvl(sum(decode(status,1,1)),0) count_1,
      2                         nvl(sum(decode(status,2,1)),0) count_2,
      3                         nvl(sum(decode(status,3,1)),0) count_3
      4  from rk
      5* group by name
    SQL> /
    NAME         COUNT(*)    COUNT_1    COUNT_2    COUNT_3
    First               2          1          1          0
    Second              2          0          1          1
    Third               1          1          0          0
    SQL> Or you can see an other post from today : Re: need query
    Nicolas.

  • Looking for query for below output?

    Hello Experts,
    I have couple of master tables and those are linked with my audit table.
    For example, below are 2 master tables,
    CREATE TABLE MASTER1 (MASTER1_UID INT IDENTITY(1,1) PRIMARY KEY, MASTER1_VAL VARCHAR(10))
    INSERT INTO MASTER1 (MASTER1_VAL) VALUES ('VAL1'), ('VAL11'), ('VAL111')
    --SELECT * FROM MASTER1
    CREATE TABLE MASTER2 (MASTER2_UID INT IDENTITY(1,1) PRIMARY KEY, MASTER2_VAL VARCHAR(10))
    INSERT INTO MASTER2 (MASTER2_VAL) VALUES ('VAL2'), ('VAL22'), ('VAL222')
    --SELECT * FROM MASTER2
    Now, I have a audit table like below,
    CREATE TABLE AUDIT(BOOK_ID INT, FIELD_NAME VARCHAR(10), OLD_VAL VARCHAR(10), NEW_VAL VARCHAR(10))
    INSERT INTO AUDIT VALUES (10, 'FIELD1', 'TEST-1', 'TEST-2'), (10, 'FIELD2', '1', '2'), (10, 'FIELD3', '1', '2')
    --SELECT * FROM AUDIT
    Here,
    1. "FIELD2" data (1 & 2) linked with "MASTER1" table
    2. "FIELD3" data (1 & 2) linked with "MASTER2" table
    Now, I need to query on "AUDIT" table JOIN with master tables "MASTER1" & "MASTER2"and need below output,
    Note - I having 15 master table and data in audit table with relation with those master tables.
    Please suggest some query on this? Thanks!
     

    CREATE TABLE MASTER1 (MASTER1_UID INT IDENTITY(1,1) PRIMARY KEY, MASTER1_VAL VARCHAR(10))
    INSERT INTO MASTER1 (MASTER1_VAL) VALUES ('VAL1'), ('VAL11'), ('VAL111')
    --SELECT * FROM MASTER1
    CREATE TABLE MASTER2 (MASTER2_UID INT IDENTITY(1,1) PRIMARY KEY, MASTER2_VAL VARCHAR(10))
    INSERT INTO MASTER2 (MASTER2_VAL) VALUES ('VAL2'), ('VAL22'), ('VAL222')
    --SELECT * FROM MASTER2
    CREATE TABLE AUDIT(BOOK_ID INT, FIELD_NAME VARCHAR(10), OLD_VAL VARCHAR(10), NEW_VAL VARCHAR(10))
    INSERT INTO AUDIT VALUES (10, 'FIELD1', 'TEST-1', 'TEST-2'), (10, 'FIELD2', '1', '2'), (10, 'FIELD3', '1', '2')
    --SELECT * FROM AUDIT
    --select * from MASTER1
    --select * from MASTER2
    ;with mycte as (
    select * from Audit
    cross apply (values(Cast(Old_Val as varchar(50))),(Cast(New_Val as varchar(50)))) d(val)
    ,mycte1 as (
    Select BOOK_ID,FIELD_NAME, val, MASTER1_VAL, MASTER2_VAL
    , row_number() Over(Partition by FIELD_NAME Order by val ) rn from mycte m0
    Left join Master1 m1 on m0.val=Cast(m1.MASTER1_UID as varchar(50)) and m0.Field_NAME='FIELD2'
    Left join Master2 m2 on m0.val=Cast(m2.MASTER2_UID as varchar(50) ) and m0.Field_NAME='FIELD3'
    Select BOOK_ID, FIELD_NAME, [1] as OLD_VAL,[2] as NEW_VAL from
    (Select BOOK_ID,FIELD_NAME, rn,coalesce(MASTER2_VAL, MASTER1_VAL, val) as val from mycte1) src
    pivot (max(val) For rn in ([1],[2],[3])) pvt
    drop table MASTER1,MASTER2,AUDIT

  • Looking for a query to find first/last dates in overlapping dates...

    Hi,
    I'm looking for a query to find the first dates and last dates in a table conaining overlapping dates.
    I have a subscription table which has for each Customer start and end date for different subscriptions.
    I want to know the different ranges of date where there is subscriptions active.
    so if the table has this:
    CustID, Start date, end date
    1, 2008-01-01, 2012-06-06
    1 ,2009-01-01, 2011-01-01
    1, 2011-01-01, 2013-02-02
    1, 2013-01-01, 2013-08-08
    1, 2014-01-01, 2014-04-04
    I want to produce this result:
    custid, range start, range end
    1, 2008-01-01, 2013-08-08
    1, 2014-01-01, 2014-04-04
    the first row is the range identified from the 4 rows in my subscription table.
    thanks :)

    I think I found it...
    http://stackoverflow.com/questions/5213484/eliminate-and-reduce-overlapping-date-ranges
    let me try this method
    Hi,
    m writing to follow up with you on this post. Thanks for you posting a reply to share your workground. Was the problem resolved after performing the above link? If you are satisfied with the above solution, I’d like to mark this issue as "Answered".
    Please also feel free to unmark the issue, with any new findings or concerns you may have.
    Thanks,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • System/Query Performance: What to look for in these tcodes

    Hi
    I have been researching on system/query performance in general in the BW environment.
    I have seen tcodes such as
    ST02 :Buffer/Table analysis
    ST03 :System workload
    ST03N:
    ST04 : Database monitor
    ST05 : SQL trace
    ST06 :
    ST66:
    ST21:
    ST22:
    SE30: ABAP runtime analysis
    RSRT:Query performance
    RSRV: Analysis and repair of BW objects
    For example, Note 948066 provides descriptions of these tcodes but what I am not getting are thresholds and their implications. e.g. ST02 gave “tune summary” screen with several rows and columns (?not sure what they are called) with several numerical values.
    Is there some information on these rows/columns such as the typical range for each of these columns and rows; and the acceptable figures, and which numbers under which columns suggest what problems?
    Basically some type of a metric for each of these indicators provided by these performance tcodes.
    Something similar to when you are using an Operating system, and the CPU performance is  consistently over 70%  which may suggest the need to upgrade CPU; while over 90% suggests your system is about to crush, etc.
    I will appreciate some guidelines on the use of these tcodes and from your personal experience, which indicators you pay attention to under each tcode and why?
    Thanks

    hi Amanda,
    i forgot something .... SAP provides Early Watch report, if you have solution manager, you can generate it by yourself .... in Early Watch report there will be red, yellow and green light for parameters 
    http://help.sap.com/saphelp_sm40/helpdata/EN/a4/a0cd16e4bcb3418efdaf4a07f4cdf8/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0f35bf3-14a3-2910-abb8-89a7a294cedb
    EarlyWatch focuses on the following aspects:
    ·        Server analysis
    ·        Database analysis
    ·        Configuration analysis
    ·        Application analysis
    ·        Workload analysis
    EarlyWatch Alert – a free part of your standard maintenance contract with SAP – is a preventive service designed to help you take rapid action before potential problems can lead to actual downtime. In addition to EarlyWatch Alert, you can also decide to have an EarlyWatch session for a more detailed analysis of your system.
    ask your basis for Early Watch sample report, the parameters in Early Watch should cover what you are looking for with red, yellow, green indicators
    Understanding Your EarlyWatch Alert Reports
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4b88cb90-0201-0010-5bb1-a65272a329bf
    hope this helps.

  • Microsoft Exchange 2013 eDiscovery - specific search query: looking for specific hyperlinks within e-mails content/body

    Dear all:
    I am currently using the MS Exchange 2013 eDiscovery feature with the objective to identify which of my users have received emails containing specific hyperlinks (e.g. http://website1/webroot/file.zip, http://website2/webroot/file.zip, etc.) from an unknown
    sender.
    To this end, I have been creating an eDiscovery on-hold case looking for a specific search criteria in all mailboxes.
    As the search criteria, I have tried many options but was unable to obtain satisfying results: I know I am missing some e-mails from this specific search (I checked manually). I have notably tried the following search queries (with and without the body:
    search operator, with and without double quotes, etc.)
    body:http://website1/* OR body:http://website2/*
    body:"http://website1/*" OR body:"http://website2/*"
    body:"website1*" OR body:"website2*"
    body:"*website1*" OR body:"*website2*"
    When replaying these queries on my local Outlook client, everything works fine and I get results as expected.
    However, when going through the ECP eDiscovery feature, I am missing some results.
    Therefore, I am looking for any advice on what Exchange eDiscovery KQL query I should use to identify all emails containing, in their message body, a list of specific hyperlinks/URLs.
    Many thanks in advance for your help.
    S.

    Alas I do not know the answer to resolution via ECP and like you I have found it to be a bit maddening to use ECP for discovery tests Ive done when comparing results with our DigiScope product.  I know we can accomplish what your looking to do via Regular
    Expression but again that's with a 3rd party tool. 
    One thought is I suppose it could be an indexing issue with the DB, so perhaps rebuilding the index would help?
    If you do get it working I would love to know the resolution since many of my tests with ECP have left me yelling at the screen.  When its works its cool when not well...
    Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline Exchange Mailbox and Public Folder EDB's and Live Exchange Servers or Import/Migrate direct from Offline EDB to Any Production Exchange Server, even cross version i.e. 2003
    --> 2007 --> 2010 --> 2013 with Lucid8's
    DigiScope

  • Looking for and SQL query to match CTI OS agent login ID with the Directory Number (instrument)

    Hi All,
    I am looking for an SQL query to request the HDS database to find out which Directory Number / instrument  was associated with a specific CTI OS agent login ID.
    Has anyone done such a query before ?
    Thanks and Regards
    Nick

    Hi,
    this should work in 8.0 and 8.5:
    SELECT
    ag.PeripheralNumber AS [LoginID],
    al.Extension,
    al.LogoutDateTime
    FROM [instance]_hds.dbo.Agent_Logout al
    JOIN [instance]_awdb.dbo.Agent ag ON al.SkillTargetID = ag.SkillTargetID
    Of course, replace [instance] with the ICM instance.
    The query returns a table with three columns, first is the login ID aka PeripheralNumber, Extension is... well, the agent's extension, and LogoutDateTime is the timestamp when the agent logged out.
    G.

  • Looking for an SQL query to retreive callvariables + ECC from a RUN SCRIPT RESULT (Translation to VRU)

    Hi Team,
    I am looking for an SQL query to check the data (ECC + CallVariable) received following a RUN SCRIPT RESULT when requesting an external VRU with a Translation Route to VRU with a "Run External Script".
    I believe the data are parsed between the Termination Call Detail + Termination Call Variable .
    If you already have such an SQL query I would very much appreciate to have it.
    Thank you and Regards
    Nick

    Omar,
    with all due respect, shortening a one day's interval might not be an option for a historical report ;-)
    I would recommend to take a look the following SQL query:
    DECLARE @dateFrom DATETIME, @dateTo DATETIME
    SET @dateFrom = '2014-01-24 00:00:00'
    SET @dateTo   = '2014-01-25 00:00:00'
    SELECT
    tcv.DateTime,
    tcd.RecoveryKey,
    tcd.RouterCallKeyDay,
    tcd.RouterCallKey,
    ecv.EnterpriseName AS [ECVEnterpriseName],
    tcv.ArrayIndex,
    tcv.ECCValue
    FROM Termination_Call_Variable tcv
    JOIN
    (SELECT RouterCallKeyDay,RouterCallKey,RecoveryKey FROM Termination_Call_Detail WHERE DateTime > @dateFrom AND DateTime < @dateTo) tcd
    ON tcv.TCDRecoveryKey = tcd.RecoveryKey
    LEFT OUTER JOIN Expanded_Call_Variable ecv ON tcv.ExpandedCallVariableID = ecv.ExpandedCallVariableID
    WHERE tcv.DateTime > @dateFrom AND tcv.DateTime < @dateTo
    With variables, you can parametrize your code (for instance, you could write SET @dateFrom = ? and let the calling application fill in the datetime value in for you).
    Plus joining two large tables with all rows like you did (TCD-TCV) is never a good option.
    Another aspect to consider: all ECC's are actually arrays (always), so it's not good to leave out the index value (tcv.ArrayIndex).
    G.

  • Looking for some assistancte in GUI_DOWNLOAD

    Hi there,
    See I have this exercise I have to do here. Basically I have to create a program that will download the contects of SBOOK to my pc. I have to use GUI_DOWNLOAD in this exercise. Also, the user will have to input the path and file name of the file to be downloaded to. I have place appropriate error message on the screen as well but I'm not sure how to do this.Being relatively new to this, I tried looking for some samples and this is what I came up so far.
    REPORT  ZISTANZS_TRNG_EX9C.
    TABLES: SBOOK.
    PARAMETERS: FILEINP(30) DEFAULT 'c:\TEMP\wee.txt' OBLIGATORY.
    DATA: BEGIN OF ITAB OCCURS 100.
          INCLUDE STRUCTURE SBOOK.
    DATA: END OF ITAB.
    CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
             FILENAME            = FILEINP
             FILETYPE            = 'ASC'
             write_field_separator = 'X'
         TABLES
             DATA_TAB            = ITAB
         EXCEPTIONS
             FILE_OPEN_ERROR     = 1
             FILE_WRITE_ERROR    = 2
             OTHERS              = 3.
    Unfortunately, it doesn't work though. It keeps saying that my FILENAME is not the same data type as FILEINP? I'm asking for some assistance in how this can be properly solved? Any help would be appreciated /

    Hi,
    Please refer the code below:
    * File download, uses older techniques but achieves a perfectly
    * acceptable solution which also allows the user to append data to
    * an existing file.
      PARAMETERS: p_file like rlgrap-filename.
    * Internal table to store export data
      DATA: begin of it_excelfile occurs 0,
       row(500) type c,
       end of it_excelfile.
      DATA: rc TYPE sy-ucomm,
            ld_answer TYPE c.
      CALL FUNCTION 'WS_QUERY'
           EXPORTING
                query    = 'FE'  "File Exist?
                filename = p_file
           IMPORTING
                return   = rc.
      IF rc NE 0.                       "If File alread exists
        CALL FUNCTION 'POPUP_TO_CONFIRM'
          EXPORTING
    *          TITLEBAR              = ' '
    *          DIAGNOSE_OBJECT       = ' '
               text_question         = 'File Already exists!!'
               text_button_1         = 'Replace'
    *          ICON_BUTTON_1         = ' '
               text_button_2         = 'New name'
    *          ICON_BUTTON_2         = ' '
    *          DEFAULT_BUTTON        = '1'
    *          DISPLAY_CANCEL_BUTTON = 'X'
    *          USERDEFINED_F1_HELP   = ' '
    *          START_COLUMN          = 25
    *          START_ROW             = 6
    *          POPUP_TYPE            =
          IMPORTING
               answer                = ld_answer
    *     TABLES
    *         PARAMETER              =
          EXCEPTIONS
              text_not_found         = 1
              OTHERS                 = 2.
    * Option 1: Overwrite
        IF ld_answer EQ '1'.
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
    *            BIN_FILESIZE            =
                 filename                = p_file        "File Name
                 filetype                = 'ASC'
    *       IMPORTING
    *            FILELENGTH              =
            TABLES
                data_tab                = it_excelfile   "Data table
            EXCEPTIONS
                file_write_error        = 1
                no_batch                = 2
                gui_refuse_filetransfer = 3
                invalid_type            = 4
                OTHERS                  = 5.
          IF sy-subrc <> 0.
            MESSAGE i003(zp) WITH
                     'There was an error during Excel file creation'(200).
            exit. "Causes short dump if removed and excel document was open
          ENDIF.
    * Option 2: New name.
        ELSEIF ld_answer EQ '2'.
          CALL FUNCTION 'DOWNLOAD'
            EXPORTING
                 filename            = p_file          "File name
                 filetype            = 'ASC'           "File type
    *             col_select          = 'X'            "COL_SELECT
    *             col_selectmask      = 'XXXXXXXXXXXXXXXXXXXXXXXXXX'
    *                                                   "COL_SELECTMASK
                 filetype_no_show    = 'X'     "Show file type selection?
    *       IMPORTING
    *             act_filename        = filename_dat
            TABLES
                 data_tab            = it_excelfile    "Data table
    *            fieldnames          =
            EXCEPTIONS
                 file_open_error     = 01
                 file_write_error    = 02
                 invalid_filesize    = 03
                 invalid_table_width = 04
                 invalid_type        = 05
                 no_batch            = 06
                 unknown_error       = 07.
        ENDIF.
      ELSE.                               "File does not alread exist.
        CALL FUNCTION 'GUI_DOWNLOAD'
          EXPORTING
    *          BIN_FILESIZE            =
               filename                = p_file         "File name
               filetype                = 'ASC'          "File type
    *     IMPORTING
    *          FILELENGTH              =
          TABLES
               data_tab                = it_excelfile   "Data table
          EXCEPTIONS
               file_write_error        = 1
               no_batch                = 2
               gui_refuse_filetransfer = 3
               invalid_type            = 4
               OTHERS                  = 5.
        IF sy-subrc <> 0.
          MESSAGE i003(zp) WITH
                   'There was an error during Excel file creation'(200).
          exit. "Causes short dump if removed and excel document was open
        ENDIF.
      ENDIF.
    Thanks,
    Sriram Ponna.

  • New Mac user looking for help with Finder, Preview, Keyboard, & Dock

    So about a month ago I switched over from a lifelong Windows user to a brand new MacBook Pro, and while I am adjusting pretty well, there are still some things that I haven't quite figured out.
    First up on the list is Finder! I like my files to be arranged just like how they are in Windows Explorer--folders first alphabetically, then files alphabetically. I've managed to acquire this setting by messing around with the "clean up by" and "arrange by" functions but I don't really know the specific combination. Most of the time these preferences are saved and set as the defaults under "View Options" but every once in a while it resets and I have to tinker around with the settings all over again. Does anyone know of a way to fix this? It's only happened twice so far, but I'd rather not have it happen again. Also, occasionally when I delete an item, there is a blank space left where the icon was instead of all the files following it bumping up a space. Any quick fixes for this bug?
    Next up is Preview. Again, I like the Windows Way and I like to be able to browse between the files in a folder while using Preview/Windows Photo Viewer. I know that there is a way to browse between files if you select the whole folder and stick it in Preview, but is there a way to achieve the same result without having to do that? An app or "extension" of some sort that adds arrows in to browse between photos? I've had no luck finding anything other than the aforementioned option. Is there a good free alternative to Preview that will function similarly with the browse between photos option?
    One of my favorite things about my new Mac is the backlit keyboard function. My old laptop didn't have it and as someone who is online more often at night it is super helpful. But is there a way to turn it off during the day/in bright settings? A way to put it on a timer? In System Preferences I selected the option "Adjust keyboard brightness in low light", which I assumed to mean would have the keyboard NOT very bright when there IS light, but it continues to light up just the same. Any apps or extensions to help with this one?
    And finally, the dock! This question is more about aesthetics than functionality but help is appreciated all the same. Currently, my dock looks like this: http://i42.tinypic.com/35ktxlz.png It is rather opaque and the indicator lights can barely be seen. However, in a lot of tutorial videos I've been watching, many people have docks that look like this: http://i.i.cbsi.com/cnwk.1d/i/tim/2011/07/19/Lion_LaunchPad.png It is a darker shade of gray, the divider is dashed rather than a straight line, and the indicator lights are clearly visible. Does anybody know how to get this look for the dock? I've looked in the dock preferences but there's not really anything in there other than magnification/size/effects.
    That about sums things up! I'm sorry if any of these seem like "silly" questions but they are all things I have been unable to find answers for. Any and all tips, tricks, and help is appreciated! Thanks in advance for all your help!!

    congratulations on coming over from the dark side.
    Seems like you are interested in column view, which would show you the hierarchy of folders and files:  Column View in Mac OS X Mountain Lion - For Dummies Not sure what's going on if your finder settings don't stay put. May be a corrupted preferences file, which is easy to fix, but is perhaps a topic for another discussion.
    What I'd suggest is to have an open mind and try to see what the mac can do, rather than force it to look like your windows machine. I mean, if you just want it to look like windows, then why bother switching? If you give it a little time, you'll start to appreciate the mac way of doing things, and see how it is infinitely more awesome, powerful, creative, intuitive, and better designed (and the software way better written)  than what you left behind. But that's your call.
    There are some threads on this forum with complaints about the backlight. Keyboard backlight settings query...: Apple Support Communities  Evidently it depends on the angle of the screen and the light sensor relative to the light. Some suggest that a SMC reset may help: Intel-based Macs: Resetting the System Management Controller (SMC)  This is not an issue for me, I just adjust the brightness with the keyboard buttons if I want. Real men shift their own gears, drink their coffee black, and adjust their own keyboard brightness. I am not aware of any software to exert more control over this feature but a search of macupdate  Download Apple Mac Software & iPhone Software : MacUpdate may help. I mean, it's up to you what is important. I can waste a lot of time playing around with the GUI and with unnecessary software, or I can just get my work (and play) done.
    You might prefer the no-glass dock, that removes the shelf, and makes the indicator lights like more discrete orbs. You can do this with the terminal. Using the terminal is also, perhaps, a topic for another discussion.I like the 2D dock much better. If you want I'll give you some directions for how to do it. Otherwise, here's a reference: 2D Dock - MacRumors Forums

  • Looking for a howto for an applescript to batch convert PPTS to Keynote...

    Looking for a howto for an applescript to batch convert PPTS to Keynote...
    Hi to group!
    (cross posted this a couple of weeks ago to Keynote forum, no responses) Perhaps the query really belongs here...)
    (I) Have a whole bunch of PPTs to convert to Keynote, now and more as time goes on.
    Looked into applescript to try to automate this a bit (could open PPT file but did not see any way to 'Save' file from a script).
    Also looked into bash scripting/automator too -- way too many options to choose from. Help!
    Anybody done anything similar to this already?
    TIA for pointers. //GH

    A word of caution.
    I have not tried the workflow before.
    I am not an applescript expert.
    These steps were quickly composed using my basic knowledge in Applescript
    What I was planning was to create a script droplet that when a ppt file is dropped upon it, it extracts the name of the file and sets it to a variable to name the keynote file later. You might have to modify it a bit to batch process multiple files.
    Try going through batch processing scripts made for quark or Adobe photoshop ( Not sure if these exist on internet) to see how they have implemented the steps in applescript.
    To GUI Script Keynote, do these steps...
    All the code has to go in here
    <pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; width: 720px; color: #000000; background-color: #E0E0E0; overflow: auto">activate application "Keynote.app"
    tell application "System Events"
       tell process "Keynote"
          -- insert GUI Scripting statements here
       end tell
    end tell
    </pre>
    <pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; width: 720px; color: #000000; background-color: #E0E0E0; overflow: auto">click menu item "Export…"  of menu 1 of menu bar item "File"  of menu bar 1</pre>
    This will click the next.. button provided the default export type is set to PPT
    <pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; width: 720px; color: #000000; background-color: #E0E0E0; overflow: auto">click button 2 of sheet 1 of window 2
    </pre>
    This will click the Export button on the next window
    click button 1 of sheet 1 of window 2
    This piece of code can be used to set the name of the ppt file using the extracted name in the first step
    <pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; width: 720px; color: #000000; background-color: #E0E0E0; overflow: auto">set value of text field 1 of sheet 1 of window 2 to "<string>"
    </pre>
    May be there is a better way out there.
    Thanks for red_menace for his Script formatter script
    Message was edited by: dj9027

  • Looking for SQL Solution to Very Unique Problem

    Hello,
    New here, thanks. I have what I think is an interesting problem. I really don't want to post it because the background and explanation is rather lengthy. It has to do with one table that holds some general info; there is a unique numeric primary key. Associated with this table are three different tables identical in structure, having only two fields: the primary key, and a code. The three tables correspond to test results performed by a different individual. For each entry in the main table, where there is one and only one entry for the primary key, the same test could have been performed one, two, or three times. So there could be one, two, or three different sets of codes describing the test results. Only one set of the test result codes is the correct one. And there is a hierarchy that determines which is the correct set of codes. Say the main table is called LR. LR is linked to three different tables, each of which has the exact same structure. The relationship between LR and each of these three tables is one to many. Call the three tables that hold test results SCR, QC, and PT. Some assumptions can be made. In the table LR there are two flag fields: Q_STATUS and P_STATUS whose values each are either Y or N. If P_STATUS=Y, then we are guaranteed a set of test result codes in the table PT, and this set of codes is always the final word; always the correct results. If P_STATUS=N but Q_STATUS=Y, then we are guaranteed to have a set of test result codes in the table QC, and if this is the case, then this set of codes is the final word. Now if P_STATUS=N and Q_STATUS=N, then we know there is a set of test result codes in the SCR table, we know there is one and only one set of test result codes, hence this set is the correct one. Another assumption that can be made, for any row in the LR table, there will ALWAYS be at least one set of test result codes in the SCR table. There may or may not be a set of test result codes in the QC and PT tables, and the flags in the LR table indicate if either is the case. Hope this makes sense so far. For many years I have been trying to figure out one SQL statement that will return the correct set of test result codes. Often I have to analyze data that relies on the results of a test (e.g. how many tests had the code 850 in the year 2011?). That's a simple example, but you get the idea. Since I have to determine which set of test result codes is the correct one to use, I've always had to rely on writing a PL/SQL procedure anytime I have to work with test result codes. I tend to use a conditional: IF (P_STATUS=Y) THEN /*the right answer is in the table PT*/ ELSIF (Q_STATUS=Y) THEN /*the right answer is in the table QC*/ ELSE /*the right answer is in the table SCR*/. I have a document with a little more detail, and an example. Or maybe this makes absolute sense to someone out there and they know exactly what to tell me! And let me say this is not a critical issue for me. I've been searching for this SQL statement for about 10 years now. I consider myself pretty proficient with SQL, but definitely not a guru. I'm thinking the solution I'm looking for might rely one some kind of full outer join on all three of the tables SCR, QC, and PT and then if those results could be linked to the LR table, and then maybe in the SQL statement use of DECODE might do it. I want one SQL statement that will return me the correct set of testing result codes. Hope this all makes sense. To anyone who has read it I thank you very much. I would be very happy to provide my document with further explanation and an example. Any response is greatly appreciated. Guess I have to keep coming back here now to see if anyone responded. Oh, I might add that we use a very old version of Oracle (8.0.3) but, if all goes according to plan, we should migrate to the most current version within the next year.
    Thanks,
    John Cardella
    Edited by: BluShadow on 21-Feb-2012 13:52
    Email address removed for your own benefit, unless of course you'd like spam bots to pick it up and send you lots of rubbish?

    Why do I keep three tables. Each sample that is evaluated is always screened by what I will call a "tech." Every so many cases the test must be repeated for quality control. If the findings of the initial testing or of a quality control test are found to contain abnormal results, then the test must also be repeated, this time looked at by a doctor. So I have what I refer to as the "main" table; the one that holds final data, which in my example I explained the two "flag" fields that indicate if the test was repeated. Every time a test is evaluated it is done by the same person, and the findings of an individual testing, or screening, are a set of test result codes. There is the "main" control table which I have called LR in my example. The reason I have the other three tables: one is used to store the test results of the initial screening (always done); one is used to hold the test results of a quality control case (may or may not be done); and one is used to hold the test results of an abnormal case that was screened by a doctor (may or may not be done). There is a separate table for each individual who may have done a screening.
    Let us consider the results of just one case. In the table LR we have something like this:
    | KEY | P_STATUS | Q_STATUS |
    | 100 | Y | Y |
    By default, for any entry in the LR table there is always a set of codes in the SCR table. We know a quality control was performed because QC_STATUS=Y, and we know it was screened by a doctor because P_STATUS=Y. So we would have three different sets of findings, each in one of the three tables:
    SCR TABLE: QC TABLE:
    | KEY | CODE | | KEY | CODE | | KEY | CODE |
    | 100 | 014 | | 100 | 13R | | 100 | 13R |
    | 100 | 13R | | 100 | 150 | | 100 | 170 |
    | 100 | 150 | | 100 | 170 | | 100 | 180 |
    | 100 | 160 | | 100 | 190 |
    The values in the three tables represent the findings of three different people who screened the test sample. Now suppose I combined all the data, I would suppose it would look something like this:
    | KEY | P_STATUS | Q_STATUS | KEY | CODE | KEY | CODE | KEY | CODE |
    | 100 | Y | Y | 100 | 014 | null | null | null | null |
    | 100 | Y | Y | 100 | 13R | 100 | 13R | 100 | 13R |
    | 100 | Y | Y | 100 | 150 | 100 | 150 | null | null |
    | 100 | Y | Y | 100 | 160 | null | null | null | null |
    | 100 | Y | Y | null | null | 100 | 170 | 100 | 170 |
    | 100 | Y | Y | null | null | null | null | 100 | 180 |
    | 100 | Y | Y | null | null | null | null | 100 | 190 |
    Since P_STATUS=Y I would want the result set returned to be {13R, 170, 180, 190}.
    But suppose P_STATUS=N and Q_STATUS=Y then I would want the result set to be {13R, 150, 170}
    And if P_STATUS=N and Q_STATUS=N then I would want {014, 13R, 150, 160}
    Of all of the sets of test results codes, only ONE is ever the final word (i.e. the right answer).
    So what I was trying to do is find a query that would give me what I want. And my apologies if there is a major design flaw. I always thought it was not that bad. But then I am no SQL guru either.
    To anyone who has read on further my most humble thanks. I really did not mean to waste anyone's time or be a pain in the ass.
    Thanks Again,
    -JC

  • Looking for a simple database.

    I am looking for a very simple data base program to organize email addresses for mailings that we do for our business. I was using numbers but with the recent upgrade it does not seem like the best option. A free program would be my preference. Any suggestions would be greatly appreciated. Thanks.

    The free sqlite3 database comes with OS X Mavericks and earlier OS X releases. The default interface is the Terminal, as shown in the following. It assumes you know the Structured Query Language (SQL).
    /usr/bin/sqlite3 mydatabase.db
    sqlite> .help
    <sqlite>.quit
    man sqlite3
    You might consider a proper visual interface that sits on top of sqlite3 from Apple's App Store. Base is an example of one tool. There are others. These are much easier to tolerate for some than the command line interface in Terminal.

  • Error: Load operation failed for query 'GetAuthenticationInfo'. The remote server returned an error: NotFound.

    Hello,
    I have a lightswitch web-application in development, which I need to copy from one computer to the other. I have tried doing it both through Git and by simply copying the solution and opening the project on another machine. The project builds without errors,
    but when I try to debug it, it opens a web-browser, loads to 100% and pops up an error - Load operation failed for query 'GetAuthenticationInfo'. The remote server returned an error: NotFound.
    Now, I have tried repairing Visual Studio on my machine, reinstalling .NET framework and setting  <basicAuthentication enabled="false" /> in web.config, yet it still does not run.
    When using Fiddler, it shows an error while loading the application - "HTTP/1.1 500 Internal Server Error" , which I honestly don't know what it means.
    The application uses ComponentOne and Telerik modules, but they are both installed on both machines. 
    The application does run perfectly on the original machine, but it is not working on any other one.
    Both machines are using Win 8.1 and Visual Studio 2013 Update 4.
    I have tried to look this up online, but most people's problem are when they are deploying the app, not just debugging. I would be really happy for any help with this issue.
    Thanks!

    I have the same problem on one of my development machines. Whenever I create a new project, the System.IdentityModel.Tokens.Jwt nuget package is not referenced properly. The project compiles correctly but you are not able to debug as I get the same error
    as you.
    If you open up your references and there is an error next to any of your references make sure that you correct them. In the case of the jwt reference error, I have to remove the jwt reference and then add it back from the packages folder.
    This may not be your problem but could point you in a direction?

  • Looking for your advise on this TKProf

    Hello There,
    I am looking for your advise on the following TKProf:
    TKPROF: Release 11.1.0.7.0 - Production on Thu Apr 28 16:37:23 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Trace file: DCPRD_ora_9930_AIBRAHIM80.trc
    Sort options: prsdsk exedsk fchdsk
    count = number of times OCI procedure was executed
    cpu = cpu time in seconds executing
    elapsed = elapsed time in seconds executing
    disk = number of physical reads of buffers from disk
    query = number of buffers gotten for consistent read
    current = number of buffers gotten in current mode (usually for update)
    rows = number of rows processed by the fetch or execute call
    The following statement encountered a error during parse:
    SELECT ROWID,VENDOR_NAME,VENDOR_NUMBER,VENDOR_SITE_CODE,TERRITORY_SHORT_NAME,CONCATENATED_ADDRESS,LANGUAGE_DESCRIPTION,AREA_CODE,PHONE,COUNTRY,LANGUAGE,INVOICE_CURRENCY_CODE,VENDOR_ID,VENDOR_SITE_ID FROM AP_VENDOR_DISP_V WHERE (VENDOR_ID=:1) and (VENDOR_SITE_ID=:2)
    Error encountered: ORA-01445
    SQL ID: 5uz1ugat7bn9k
    Plan Hash: 1624111731
    SELECT COUNT( DECODE( POD.PREVENT_ENCUMBRANCE_FLAG , 'Y', NULL , DECODE(
    POD.ENCUMBERED_FLAG , 'Y', 'Y' , NULL ) ) ) , COUNT( DECODE(
    POD.PREVENT_ENCUMBRANCE_FLAG , 'Y', NULL , DECODE( POD.ENCUMBERED_FLAG ,
    'Y', NULL , 'N' ) ) ) , COUNT( DECODE( POD.PREVENT_ENCUMBRANCE_FLAG , 'Y',
    'Y' , NULL ) )
    FROM
    PO_DISTRIBUTIONS_ALL POD , PO_LINE_LOCATIONS_ALL POLL , PO_HEADERS_ALL POH
    WHERE POLL.LINE_LOCATION_ID(+) = POD.LINE_LOCATION_ID AND POH.PO_HEADER_ID =
    POD.PO_HEADER_ID AND ( (:B2 <> :B11 AND NVL(POLL.CANCEL_FLAG,'N') <> 'Y')
    OR (:B2 = :B11 AND NVL(POH.CANCEL_FLAG,'N') <> 'Y') ) AND ( ( :B2 <> :B11
    AND NVL(POLL.CLOSED_CODE,:B10 ) <> :B9 ) OR ( :B2 = :B11 AND
    NVL(POH.CLOSED_CODE,:B10 ) <> :B9 ) ) AND ( ( :B5 = :B8 AND
    POD.PO_DISTRIBUTION_ID = :B3 ) OR ( :B5 = :B7 AND POD.LINE_LOCATION_ID =
    :B3 ) OR ( :B5 = :B6 AND POD.PO_LINE_ID = :B3 ) OR ( :B5 = :B4 AND :B2 =
    :B1 AND POD.PO_RELEASE_ID = :B3 ) OR ( :B5 = :B4 AND :B2 <> :B1 AND
    POD.PO_HEADER_ID = :B3 ) ) AND ( ( :B2 <> :B1 AND POD.PO_RELEASE_ID IS NULL
    ) OR ( :B2 = :B1 AND POD.PO_RELEASE_ID IS NOT NULL ) )
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 114604 414.24 434.04 0 0 0 0
    Fetch 114604 45.91 750.41 46028 2831063 0 114604
    total 229209 460.15 1184.46 46028 2831063 0 114604
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 183 (recursive depth: 1)
    Number of plan statistics captured: 1
    Rows (1st) Rows (avg) Rows (max) Row Source Operation
    1 1 1 SORT AGGREGATE (cr=12 pr=9 pw=0 time=0 us)
    1 1 1 CONCATENATION (cr=12 pr=9 pw=0 time=0 us)
    1 1 1 FILTER (cr=12 pr=9 pw=0 time=0 us)
    1 1 1 FILTER (cr=12 pr=9 pw=0 time=0 us)
    1 1 1 NESTED LOOPS OUTER (cr=12 pr=9 pw=0 time=0 us cost=7 size=57 card=1)
    1 1 1 NESTED LOOPS (cr=7 pr=4 pw=0 time=0 us cost=5 size=42 card=1)
    1 1 1 TABLE ACCESS BY INDEX ROWID PO_DISTRIBUTIONS_ALL (cr=4 pr=4 pw=0 time=0 us cost=4 size=29 card=1)
    1 1 1 INDEX RANGE SCAN PO_DISTRIBUTIONS_N11 (cr=3 pr=3 pw=0 time=0 us cost=3 size=0 card=5)(object id 45031)
    1 1 1 TABLE ACCESS BY INDEX ROWID PO_HEADERS_ALL (cr=3 pr=0 pw=0 time=0 us cost=1 size=13 card=1)
    1 1 1 INDEX UNIQUE SCAN PO_HEADERS_U1 (cr=2 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 45109)
    1 1 1 TABLE ACCESS BY INDEX ROWID PO_LINE_LOCATIONS_ALL (cr=5 pr=5 pw=0 time=0 us cost=2 size=15 card=1)
    1 1 1 INDEX UNIQUE SCAN PO_LINE_LOCATIONS_U1 (cr=3 pr=3 pw=0 time=0 us cost=1 size=0 card=1)(object id 45204)
    0 0 0 FILTER (cr=0 pr=0 pw=0 time=0 us)
    0 0 0 FILTER (cr=0 pr=0 pw=0 time=0 us)
    0 0 0 NESTED LOOPS OUTER (cr=0 pr=0 pw=0 time=0 us cost=6 size=57 card=1)
    0 0 0 NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us cost=4 size=42 card=1)
    0 0 0 TABLE ACCESS BY INDEX ROWID PO_DISTRIBUTIONS_ALL (cr=0 pr=0 pw=0 time=0 us cost=3 size=29 card=1)
    0 0 0 INDEX UNIQUE SCAN PO_DISTRIBUTIONS_U1 (cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=1)(object id 45078)
    0 0 0 TABLE ACCESS BY INDEX ROWID PO_HEADERS_ALL (cr=0 pr=0 pw=0 time=0 us cost=1 size=477061 card=36697)
    0 0 0 INDEX UNIQUE SCAN PO_HEADERS_U1 (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 45109)
    0 0 0 TABLE ACCESS BY INDEX ROWID PO_LINE_LOCATIONS_ALL (cr=0 pr=0 pw=0 time=0 us cost=2 size=11849205 card=789947)
    0 0 0 INDEX UNIQUE SCAN PO_LINE_LOCATIONS_U1 (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 45204)
    0 0 0 FILTER (cr=0 pr=0 pw=0 time=0 us)
    0 0 0 FILTER (cr=0 pr=0 pw=0 time=0 us)
    0 0 0 NESTED LOOPS OUTER (cr=0 pr=0 pw=0 time=0 us cost=7 size=57 card=1)
    0 0 0 NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us cost=5 size=42 card=1)
    0 0 0 TABLE ACCESS BY INDEX ROWID PO_DISTRIBUTIONS_ALL (cr=0 pr=0 pw=0 time=0 us cost=4 size=29 card=1)
    0 0 0 INDEX RANGE SCAN PO_DISTRIBUTIONS_N1 (cr=0 pr=0 pw=0 time=0 us cost=3 size=0 card=1)(object id 45023)
    0 0 0 TABLE ACCESS BY INDEX ROWID PO_HEADERS_ALL (cr=0 pr=0 pw=0 time=0 us cost=1 size=13 card=1)
    0 0 0 INDEX UNIQUE SCAN PO_HEADERS_U1 (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 45109)
    0 0 0 TABLE ACCESS BY INDEX ROWID PO_LINE_LOCATIONS_ALL (cr=0 pr=0 pw=0 time=0 us cost=2 size=15 card=1)
    0 0 0 INDEX UNIQUE SCAN PO_LINE_LOCATIONS_U1 (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 45204)
    0 0 0 FILTER (cr=0 pr=0 pw=0 time=0 us)
    0 0 0 FILTER (cr=0 pr=0 pw=0 time=0 us)
    0 0 0 NESTED LOOPS OUTER (cr=0 pr=0 pw=0 time=0 us cost=10 size=57 card=1)
    0 0 0 NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us cost=8 size=42 card=1)
    0 0 0 TABLE ACCESS BY INDEX ROWID PO_DISTRIBUTIONS_ALL (cr=0 pr=0 pw=0 time=0 us cost=7 size=29 card=1)
    0 0 0 INDEX RANGE SCAN PO_DISTRIBUTIONS_N3 (cr=0 pr=0 pw=0 time=0 us cost=3 size=0 card=21)(object id 45049)
    0 0 0 TABLE ACCESS BY INDEX ROWID PO_HEADERS_ALL (cr=0 pr=0 pw=0 time=0 us cost=1 size=13 card=1)
    0 0 0 INDEX UNIQUE SCAN PO_HEADERS_U1 (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 45109)
    0 0 0 TABLE ACCESS BY INDEX ROWID PO_LINE_LOCATIONS_ALL (cr=0 pr=0 pw=0 time=0 us cost=2 size=15 card=1)
    0 0 0 INDEX UNIQUE SCAN PO_LINE_LOCATIONS_U1 (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 45204)
    0 0 0 FILTER (cr=0 pr=0 pw=0 time=0 us)
    0 0 0 FILTER (cr=0 pr=0 pw=0 time=0 us)
    0 0 0 NESTED LOOPS OUTER (cr=0 pr=0 pw=0 time=0 us cost=8 size=57 card=1)
    0 0 0 NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us cost=6 size=42 card=1)
    0 0 0 TABLE ACCESS BY INDEX ROWID PO_DISTRIBUTIONS_ALL (cr=0 pr=0 pw=0 time=0 us cost=5 size=29 card=1)
    0 0 0 INDEX RANGE SCAN PO_DISTRIBUTIONS_N4 (cr=0 pr=0 pw=0 time=0 us cost=3 size=0 card=3)(object id 45054)
    0 0 0 TABLE ACCESS BY INDEX ROWID PO_HEADERS_ALL (cr=0 pr=0 pw=0 time=0 us cost=1 size=13 card=1)
    0 0 0 INDEX UNIQUE SCAN PO_HEADERS_U1 (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 45109)
    0 0 0 TABLE ACCESS BY INDEX ROWID PO_LINE_LOCATIONS_ALL (cr=0 pr=0 pw=0 time=0 us cost=2 size=15 card=1)
    0 0 0 INDEX UNIQUE SCAN PO_LINE_LOCATIONS_U1 (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 45204)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 46028 1.12 712.45
    SELECT ROW_ID,ORG_ID,PO_RELEASE_ID,PO_HEADER_ID,RELEASE_TYPE,AGENT_ID,VENDOR_ID,SHIP_TO_LOCATION_ID,SHIP_TO_LOCATION,SHIP_TO_ORGANIZATION_ID,VENDOR_SITE_ID,APPROVED_DATE,APPROVED_FLAG,AUTHORIZATION_STATUS,CANCEL_DATE,CANCEL_REASON,CANCELLED_BY,CANCEL_FLAG,HOLD_BY,HOLD_DATE,HOLD_REASON,HOLD_FLAG,CLOSED_CODE,FROZEN_FLAG,PRINT_COUNT,PRINTED_DATE,CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,LAST_UPDATE_DATE,LAST_UPDATE_LOGIN,PROGRAM_APPLICATION_ID,PROGRAM_ID,PROGRAM_UPDATE_DATE,REQUEST_ID,ATTRIBUTE2,ATTRIBUTE3,ATTRIBUTE4,ATTRIBUTE1,ATTRIBUTE5,ATTRIBUTE6,ATTRIBUTE7,ATTRIBUTE8,ATTRIBUTE9,ATTRIBUTE10,ATTRIBUTE11,ATTRIBUTE12,ATTRIBUTE13,ATTRIBUTE15,ATTRIBUTE14,ATTRIBUTE_CATEGORY,PO_NUM,RELEASE_NUM,REVISION_NUM,RELEASE_REVISION_NUM,REVISED_DATE,RELEASE_DATE,VENDOR_NAME,VENDOR_SITE_CODE,CURRENCY_CODE,AGENT_NAME,STATUS,FIRM_STATUS_LOOKUP_CODE,ACCEPTANCE_REQUIRED_FLAG,ACCEPTANCE_DUE_DATE,PCARD_ID,GOVERNMENT_CONTEXT,AGREEMENT_TYPE,AMOUNT_LIMIT,MIN_RELEASE_AMOUNT,PRICE_UPDATE_TOLERANCE,AGREEMENT_BUYER,AGREEMENT_CONTACT,AGREEMENT_DESCRIPTION,NOTE_TO_SUPPLIER,NOTE_TO_RECEIVER,START_DATE,END_DATE,PAYMENT_TERMS,PAY_ON_CODE,SHIPPING_CONTROL,GLOBAL_ATTRIBUTE_CATEGORY,GLOBAL_ATTRIBUTE1,GLOBAL_ATTRIBUTE2,GLOBAL_ATTRIBUTE3,GLOBAL_ATTRIBUTE4,GLOBAL_ATTRIBUTE5,GLOBAL_ATTRIBUTE6,GLOBAL_ATTRIBUTE7,GLOBAL_ATTRIBUTE8,GLOBAL_ATTRIBUTE9,GLOBAL_ATTRIBUTE10,GLOBAL_ATTRIBUTE11,GLOBAL_ATTRIBUTE12,GLOBAL_ATTRIBUTE13,GLOBAL_ATTRIBUTE14,GLOBAL_ATTRIBUTE15,GLOBAL_ATTRIBUTE16,GLOBAL_ATTRIBUTE17,GLOBAL_ATTRIBUTE18,GLOBAL_ATTRIBUTE19,GLOBAL_ATTRIBUTE20,TYPE_LOOKUP_CODE,PO_AUTHORIZATION_STATUS,FOB_LOOKUP_CODE,FREIGHT_TERMS_LOOKUP_CODE FROM PO_RELEASES_V WHERE NVL(consigned_consumption_flag, 'N') <> 'Y' and ((authorization_status is null or authorization_status not in ('IN PROCESS', 'PRE-APPROVED' ))) and ((NOT(RELEASE_TYPE IN ('BLANKET', 'SCHEDULED')) OR (((PO_RELEASES_V.security_level_code = 'PUBLIC' ) OR (PO_RELEASES_V.security_level_code = 'PRIVATE' AND 183739=AGENT_ID) OR (PO_RELEASES_V.security_level_code = 'HIERARCHY' AND ((183739=AGENT_ID) OR (EXISTS (SELECT 'Y' FROM PO_ACTION_HISTORY POAH2 WHERE POAH2.employee_id =183739 AND POAH2.object_type_code = (DECODE(PO_RELEASES_V.DOCUMENT_TYPE, 'BLANKET', 'PA', 'STANDARD', 'PO' , 'PLANNED' , 'PO' , 'CONTRACT' , 'PA', 'RELEASE' , 'RELEASE' ) ) AND POAH2.object_id = PO_RELEASES_V.PO_RELEASE_ID)) OR (183739 IN (SELECT H.superior_id FROM PO_EMPLOYEE_HIERARCHIES H, PO_SYSTEM_PARAMETERS PSP WHERE H.employee_id = PO_RELEASES_V.AGENT_ID AND H.position_structure_id = NVL(PSP.SECURITY_POSITION_STRUCTURE_ID,-1) AND PSP.ORG_ID = PO_RELEASES_V.ORG_ID )))) OR (PO_RELEASES_V.security_level_code = 'PURCHASING' AND ((183739=AGENT_ID) OR (EXISTS (SELECT 'Y' FROM PO_ACTION_HISTORY POAH2 WHERE POAH2.employee_id =183739 AND POAH2.object_type_code = (DECODE(PO_RELEASES_V.DOCUMENT_TYPE, 'BLANKET', 'PA', 'STANDARD', 'PO' , 'PLANNED' , 'PO' , 'CONTRACT' , 'PA', 'RELEASE' , 'RELEASE' ) ) AND POAH2.object_id = PO_RELEASES_V.PO_RELEASE_ID)) OR (EXISTS(SELECT NULL FROM PO_AGENTS WHERE agent_id= 183739 AND SYSDATE BETWEEN NVL(start_date_active, SYSDATE) AND NVL(end_date_active, SYSDATE+1))))))AND (('MODIFY' = 'VIEW_ONLY' ) OR ( 'MODIFY' = 'MODIFY' AND PO_RELEASES_V.access_level_code IN ('MODIFY','FULL') ) OR ( 'MODIFY' = 'FULL' AND PO_RELEASES_V.access_level_code = 'FULL' ) OR ( 183739 = AGENT_ID))))) and (LAST_UPDATED_BY = last_updated_by
    AND nvl(cancel_flag,'N') ='N'
    AND nvl(closed_code,'OPEN') !='FINALLY CLOSED'
    AND nvl(frozen_flag,'N') !='Y'
    AND release_type IN ('BLANKET','SCHEDULED')
    AND EXISTS (SELECT 'Header is not frozen'
    FROM po_headers ph
    WHERE ph.po_header_id = po_releases_v.po_header_id
    AND NVL(ph.frozen_flag,'N') ='N'
    AND nvl(ph.closed_code,'OPEN') !='FINALLY CLOSED')
    AND ('' IS NULL
    OR po_releases_v.authorization_status IN
    (SELECT plc.lookup_code
    FROM po_lookup_codes plc
    WHERE plc.lookup_type = 'AUTHORIZATION STATUS'
    AND plc.displayed_field LIKE ''))) order by po_num desc, release_num desc
    call count cpu elapsed disk query current rows
    Parse 1 168.61 160.43 288 4291 14 0
    Execute 1 0.01 0.00 0 0 0 0
    Fetch 1 166.81 580.89 18452 2628283 0 2
    total 3 335.43 741.33 18740 2632574 14 2
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 183
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    SQL*Net message to client 1 0.00 0.00
    SQL*Net more data to client 3 0.00 0.00
    db file sequential read 18452 0.88 417.79
    SQL*Net message from client 1 0.00 0.00
    SQL ID: 3ktacv9r56b51
    Plan Hash: 458693102
    select owner#,name,namespace,remoteowner,linkname,p_timestamp,p_obj#,
    nvl(property,0),subname,type#,d_attrs
    from
    dependency$ d, obj$ o where d_obj#=:1 and p_obj#=obj#(+) order by order#
    call count cpu elapsed disk query current rows
    Parse 131 0.00 0.01 0 0 8 0
    Execute 131 0.01 0.03 0 0 0 0
    Fetch 1125 0.25 9.06 386 3632 0 994
    total 1387 0.26 9.10 386 3632 8 994
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: CHOOSE
    Parsing user id: SYS (recursive depth: 2)
    Number of plan statistics captured: 3
    Rows (1st) Rows (avg) Rows (max) Row Source Operation
    1 7 20 SORT ORDER BY (cr=27 pr=4 pw=0 time=0 us cost=20 size=375 card=5)
    1 7 20 NESTED LOOPS OUTER (cr=27 pr=4 pw=0 time=18 us cost=19 size=375 card=5)
    1 7 20 TABLE ACCESS BY INDEX ROWID DEPENDENCY$ (cr=4 pr=1 pw=0 time=2 us cost=4 size=155 card=5)
    1 7 20 INDEX RANGE SCAN I_DEPENDENCY1 (cr=3 pr=0 pw=0 time=0 us cost=3 size=0 card=5)(object id 116)
    1 7 20 TABLE ACCESS BY INDEX ROWID OBJ$ (cr=23 pr=3 pw=0 time=0 us cost=3 size=44 card=1)
    1 7 20 INDEX RANGE SCAN I_OBJ1 (cr=16 pr=2 pw=0 time=0 us cost=2 size=0 card=1)(object id 1288242)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 386 0.20 8.95
    SQL ID: cvn54b7yz0s8u
    Plan Hash: 2991757387
    select /*+ index(idl_ub1$ i_idl_ub11) +*/ piece#,length,piece
    from
    idl_ub1$ where obj#=:1 and part=:2 and version=:3 order by piece#
    call count cpu elapsed disk query current rows
    Parse 165 0.00 0.00 0 0 8 0
    Execute 165 0.08 0.06 0 0 0 0
    Fetch 449 0.09 10.49 379 1740 0 410
    total 779 0.17 10.56 379 1740 8 410
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: CHOOSE
    Parsing user id: SYS (recursive depth: 1)
    Number of plan statistics captured: 3
    Rows (1st) Rows (avg) Rows (max) Row Source Operation
    1 1 2 TABLE ACCESS BY INDEX ROWID IDL_UB1$ (cr=5 pr=1 pw=0 time=0 us cost=4 size=21 card=1)
    1 1 2 INDEX RANGE SCAN I_IDL_UB11 (cr=4 pr=0 pw=0 time=3 us cost=3 size=0 card=1)(object id 110)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 379 0.22 10.44
    ********************************************************************************

    SQL ID: 8r75sj1fpjn1k
    Plan Hash: 1052563856
    SELECT PLC_STA.DISPLAYED_FIELD, DECODE(POR.CANCEL_FLAG, 'Y',
    PLC_CAN.DISPLAYED_FIELD, NULL), DECODE(NVL(POR.CLOSED_CODE, 'OPEN'), 'OPEN',
    NULL, PLC_CLO.DISPLAYED_FIELD), DECODE(POR.FROZEN_FLAG, 'Y',
    PLC_FRO.DISPLAYED_FIELD, NULL), DECODE(POR.HOLD_FLAG, 'Y',
    PLC_HLD.DISPLAYED_FIELD, NULL), POR.AUTHORIZATION_STATUS,
    NVL(POR.CANCEL_FLAG, 'N'), NVL(POR.CLOSED_CODE, 'OPEN'),
    NVL(POR.FROZEN_FLAG, 'N'), NVL(POR.HOLD_FLAG, 'N')
    FROM
    PO_RELEASES POR, PO_LOOKUP_CODES PLC_STA, PO_LOOKUP_CODES PLC_CAN,
    PO_LOOKUP_CODES PLC_CLO, PO_LOOKUP_CODES PLC_FRO, PO_LOOKUP_CODES PLC_HLD
    WHERE PLC_STA.LOOKUP_CODE = DECODE(POR.APPROVED_FLAG, 'R',
    POR.APPROVED_FLAG, NVL(POR.AUTHORIZATION_STATUS,'INCOMPLETE')) AND
    PLC_STA.LOOKUP_TYPE IN ('PO APPROVAL', 'DOCUMENT STATE') AND
    PLC_CAN.LOOKUP_CODE = 'CANCELLED' AND PLC_CAN.LOOKUP_TYPE = 'DOCUMENT
    STATE' AND PLC_CLO.LOOKUP_CODE = NVL(POR.CLOSED_CODE, 'OPEN') AND
    PLC_CLO.LOOKUP_TYPE = 'DOCUMENT STATE' AND PLC_FRO.LOOKUP_CODE = 'FROZEN'
    AND PLC_FRO.LOOKUP_TYPE = 'DOCUMENT STATE' AND PLC_HLD.LOOKUP_CODE = 'ON
    HOLD' AND PLC_HLD.LOOKUP_TYPE = 'DOCUMENT STATE' AND POR.PO_RELEASE_ID =
    :B1
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 114597 37.02 40.60 0 0 0 0
    Fetch 114597 64.11 68.70 239 2988322 0 114597
    total 229195 101.13 109.30 239 2988322 0 114597
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 183 (recursive depth: 1)
    Number of plan statistics captured: 1
    Rows (1st) Rows (avg) Rows (max) Row Source Operation
    1 1 1 NESTED LOOPS (cr=27 pr=6 pw=0 time=0 us)
    1 1 1 NESTED LOOPS (cr=26 pr=5 pw=0 time=0 us cost=18 size=323 card=1)
    1 1 1 MERGE JOIN CARTESIAN (cr=20 pr=4 pw=0 time=0 us cost=14 size=265 card=1)
    1 1 1 MERGE JOIN CARTESIAN (cr=16 pr=4 pw=0 time=0 us cost=11 size=207 card=1)
    1 1 1 MERGE JOIN CARTESIAN (cr=12 pr=4 pw=0 time=0 us cost=8 size=149 card=1)
    1 1 1 NESTED LOOPS (cr=8 pr=4 pw=0 time=0 us cost=5 size=91 card=1)
    1 1 1 TABLE ACCESS BY INDEX ROWID PO_RELEASES_ALL (cr=4 pr=2 pw=0 time=0 us cost=2 size=33 card=1)
    1 1 1 INDEX UNIQUE SCAN PO_RELEASES_U1 (cr=2 pr=2 pw=0 time=0 us cost=1 size=0 card=1)(object id 45219)
    1 1 1 TABLE ACCESS BY INDEX ROWID FND_LOOKUP_VALUES (cr=4 pr=2 pw=0 time=0 us cost=3 size=58 card=1)
    1 1 1 INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=3 pr=1 pw=0 time=0 us cost=2 size=0 card=1)(object id 33540)
    1 1 1 BUFFER SORT (cr=4 pr=0 pw=0 time=0 us cost=5 size=58 card=1)
    1 1 1 TABLE ACCESS BY INDEX ROWID FND_LOOKUP_VALUES (cr=4 pr=0 pw=0 time=0 us cost=3 size=58 card=1)
    1 1 1 INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=3 pr=0 pw=0 time=0 us cost=2 size=0 card=1)(object id 33540)
    1 1 1 BUFFER SORT (cr=4 pr=0 pw=0 time=0 us cost=8 size=58 card=1)
    1 1 1 TABLE ACCESS BY INDEX ROWID FND_LOOKUP_VALUES (cr=4 pr=0 pw=0 time=0 us cost=3 size=58 card=1)
    1 1 1 INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=3 pr=0 pw=0 time=0 us cost=2 size=0 card=1)(object id 33540)
    1 1 1 BUFFER SORT (cr=4 pr=0 pw=0 time=0 us cost=11 size=58 card=1)
    1 1 1 TABLE ACCESS BY INDEX ROWID FND_LOOKUP_VALUES (cr=4 pr=0 pw=0 time=0 us cost=3 size=58 card=1)
    1 1 1 INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=3 pr=0 pw=0 time=0 us cost=2 size=0 card=1)(object id 33540)
    1 1 1 INLIST ITERATOR (cr=6 pr=1 pw=0 time=0 us)
    1 1 1 INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=6 pr=1 pw=0 time=0 us cost=3 size=0 card=1)(object id 33540)
    1 1 1 TABLE ACCESS BY INDEX ROWID FND_LOOKUP_VALUES (cr=1 pr=1 pw=0 time=0 us cost=4 size=58 card=1)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 239 0.23 4.54
    SQL ID: 7ng34ruy5awxq
    Plan Hash: 3984801583
    select i.obj#,i.ts#,i.file#,i.block#,i.intcols,i.type#,i.flags,i.property,
    i.pctfree$,i.initrans,i.maxtrans,i.blevel,i.leafcnt,i.distkey,i.lblkkey,
    i.dblkkey,i.clufac,i.cols,i.analyzetime,i.samplesize,i.dataobj#,
    nvl(i.degree,1),nvl(i.instances,1),i.rowcnt,mod(i.pctthres$,256),
    i.indmethod#,i.trunccnt,nvl(c.unicols,0),nvl(c.deferrable#+c.valid#,0),
    nvl(i.spare1,i.intcols),i.spare4,i.spare2,i.spare6,decode(i.pctthres$,null,
    null,mod(trunc(i.pctthres$/256),256)),ist.cachedblk,ist.cachehit,
    ist.logicalread
    from
    ind$ i, ind_stats$ ist, (select enabled, min(cols) unicols,
    min(to_number(bitand(defer,1))) deferrable#,min(to_number(bitand(defer,4)))
    valid# from cdef$ where obj#=:1 and enabled > 1 group by enabled) c where
    i.obj#=c.enabled(+) and i.obj# = ist.obj#(+) and i.bo#=:1 order by i.obj#
    call count cpu elapsed disk query current rows
    Parse 24 0.01 0.00 0 0 4 0
    Execute 80 0.03 0.04 0 0 0 0
    Fetch 470 0.27 6.55 197 882 0 390
    total 574 0.31 6.60 197 882 4 390
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: CHOOSE
    Parsing user id: SYS (recursive depth: 2)
    Number of plan statistics captured: 24
    Rows (1st) Rows (avg) Rows (max) Row Source Operation
    1 5 18 SORT ORDER BY (cr=11 pr=3 pw=0 time=0 us cost=8 size=376 card=2)
    1 5 18 HASH JOIN OUTER (cr=11 pr=3 pw=0 time=2 us cost=7 size=376 card=2)
    1 5 18 NESTED LOOPS OUTER (cr=7 pr=2 pw=0 time=7560 us cost=3 size=290 card=2)
    1 5 18 TABLE ACCESS CLUSTER IND$ (cr=6 pr=2 pw=0 time=7555 us cost=3 size=186 card=2)
    1 1 1 INDEX UNIQUE SCAN I_OBJ# (cr=2 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 3)
    0 0 0 TABLE ACCESS BY INDEX ROWID IND_STATS$ (cr=1 pr=0 pw=0 time=0 us cost=0 size=52 card=1)
    0 0 0 INDEX UNIQUE SCAN I_IND_STATS$_OBJ# (cr=1 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 647660)
    0 0 0 VIEW (cr=4 pr=1 pw=0 time=0 us cost=3 size=43 card=1)
    0 0 0 SORT GROUP BY (cr=4 pr=1 pw=0 time=0 us cost=3 size=16 card=1)
    0 0 0 TABLE ACCESS CLUSTER CDEF$ (cr=4 pr=1 pw=0 time=0 us cost=2 size=16 card=1)
    1 1 1 INDEX UNIQUE SCAN I_COBJ# (cr=2 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 27)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 197 0.35 6.34
    SQL ID: 96g93hntrzjtr
    Plan Hash: 841937906
    select /*+ rule */ bucket_cnt, row_cnt, cache_cnt, null_cnt, timestamp#,
    sample_size, minimum, maximum, distcnt, lowval, hival, density, col#,
    spare1, spare2, avgcln
    from
    hist_head$ where obj#=:1 and intcol#=:2
    call count cpu elapsed disk query current rows
    Parse 38 0.01 0.00 0 0 2 0
    Execute 663 0.28 0.24 0 0 0 0
    Fetch 663 0.05 4.84 150 2731 0 656
    total 1364 0.34 5.09 150 2731 2 656
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: RULE
    Parsing user id: SYS (recursive depth: 1)
    Number of plan statistics captured: 38
    Rows (1st) Rows (avg) Rows (max) Row Source Operation
    1 1 1 TABLE ACCESS BY INDEX ROWID HIST_HEAD$ (cr=4 pr=1 pw=0 time=0 us)
    1 1 1 INDEX RANGE SCAN I_HH_OBJ#_INTCOL# (cr=3 pr=0 pw=0 time=0 us)(object id 194)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 150 0.28 4.80
    SQL ID: ga9j9xk5cy9s0
    Plan Hash: 467424113
    select /*+ index(idl_sb4$ i_idl_sb41) +*/ piece#,length,piece
    from
    idl_sb4$ where obj#=:1 and part=:2 and version=:3 order by piece#
    call count cpu elapsed disk query current rows
    Parse 165 0.00 0.01 0 0 8 0
    Execute 165 0.05 0.07 0 0 0 0
    Fetch 369 0.11 3.79 141 1107 0 204
    total 699 0.16 3.88 141 1107 8 204
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: CHOOSE
    Parsing user id: SYS (recursive depth: 1)
    Number of plan statistics captured: 3
    Rows (1st) Rows (avg) Rows (max) Row Source Operation
    2 2 2 TABLE ACCESS BY INDEX ROWID IDL_SB4$ (cr=6 pr=0 pw=0 time=0 us cost=4 size=19 card=1)
    2 2 2 INDEX RANGE SCAN I_IDL_SB41 (cr=5 pr=0 pw=0 time=9 us cost=3 size=0 card=1)(object id 113)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 141 0.20 3.75
    SQL ID: 39m4sx9k63ba2
    Plan Hash: 2769382227
    select /*+ index(idl_ub2$ i_idl_ub21) +*/ piece#,length,piece
    from
    idl_ub2$ where obj#=:1 and part=:2 and version=:3 order by piece#
    call count cpu elapsed disk query current rows
    Parse 165 0.03 0.01 0 0 8 0
    Execute 165 0.05 0.06 0 0 0 0
    Fetch 219 0.03 3.08 114 759 0 93
    total 549 0.11 3.16 114 759 8 93
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: CHOOSE
    Parsing user id: SYS (recursive depth: 1)
    Number of plan statistics captured: 3
    Rows (1st) Rows (avg) Rows (max) Row Source Operation
    2 1 2 TABLE ACCESS BY INDEX ROWID IDL_UB2$ (cr=5 pr=1 pw=0 time=0 us cost=4 size=20 card=1)
    2 1 2 INDEX RANGE SCAN I_IDL_UB21 (cr=4 pr=0 pw=0 time=9 us cost=3 size=0 card=1)(object id 112)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 114 0.13 3.06
    SQL ID: 8swypbbr0m372
    Plan Hash: 872636971
    select order#,columns,types
    from
    access$ where d_obj#=:1
    call count cpu elapsed disk query current rows
    Parse 131 0.00 0.01 0 0 8 0
    Execute 131 0.02 0.02 0 0 0 0
    Fetch 1017 0.05 2.77 113 2170 0 886
    total 1279 0.07 2.81 113 2170 8 886
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: CHOOSE
    Parsing user id: SYS (recursive depth: 2)
    Number of plan statistics captured: 3
    Rows (1st) Rows (avg) Rows (max) Row Source Operation
    0 4 12 TABLE ACCESS BY INDEX ROWID ACCESS$ (cr=11 pr=1 pw=0 time=0 us cost=4 size=200 card=8)
    0 4 12 INDEX RANGE SCAN I_ACCESS1 (cr=7 pr=0 pw=0 time=3 us cost=3 size=0 card=8)(object id 118)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 113 0.14 2.74
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call count cpu elapsed disk query current rows
    Parse 100 168.74 160.81 295 4538 40 0
    Execute 119 3.39 3.38 2 43 0 12
    Fetch 107 166.95 583.44 18545 2628759 0 364
    total 326 339.08 747.64 18842 2633340 40 376
    Misses in library cache during parse: 30
    Misses in library cache during execute: 11
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    SQL*Net message to client 221 0.00 0.00
    SQL*Net message from client 221 100.05 191.50
    db file sequential read 18558 0.88 420.50
    log file sync 2 0.01 0.01
    SQL*Net more data to client 52 0.00 0.00
    SQL*Net more data from client 9 0.03 0.03
    SQL*Net break/reset to client 2 0.00 0.00
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call count cpu elapsed disk query current rows
    Parse 2161 0.50 0.48 0 0 282 0
    Execute 349226 639.57 671.70 7 86 74 9
    Fetch 365281 113.87 886.34 48788 5852890 0 362441
    total 716668 753.94 1558.53 48795 5852976 356 362450
    Misses in library cache during parse: 119
    Misses in library cache during execute: 136
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 48795 1.12 781.12
    latch: row cache objects 1 0.00 0.00
    344378 user SQL statements in session.
    4837 internal SQL statements in session.
    349215 SQL statements in session.
    Trace file: DCPRD_ora_9930_AIBRAHIM80.trc
    Trace file compatibility: 11.1.0.7
    Sort options: prsdsk exedsk fchdsk
    1 session in tracefile.
    344378 user SQL statements in trace file.
    4837 internal SQL statements in trace file.
    349215 SQL statements in trace file.
    196 unique SQL statements in trace file.
    32265404 lines in trace file.
    2505 elapsed seconds in trace file.
    Regards,
    Tareq

Maybe you are looking for

  • LaTeX brackets don't display correctly (jsMath)

    I'm currently working with OLAT (a java based web application to manage lectures) and try to write some text containing LaTeX code inside (there is a html text editor which allows the use of LaTeX formulas via jsMath). When I try to display large bra

  • The ramp output vi seems not to be ramping(correct attachment)

    I have a vi that should ramp the voltage from an inicial set voltage to a final set voltage over a period of time established by the user, but it seems to be jumping from the initial to final set with no ramp. I have attached the library in which it

  • MUVO TX SE slow trans

    Hi at all, My Problem is that when i want to transfer songs into my Muvo TX Se the transfer rate is very slow. For example for a 40 MB directory i needed nearly 2 min. With the old MP3 Player i didnt have this problem. I will appreciate an answer wit

  • We need to convert normal GL to special GL

    Dear Experts, We suppose to create reconciliation GL account, One of our GL team member created as a normal GL account and postings happened for the same. Now the requirement is we needs to convert to reconciliation account of the same. Can anybody e

  • How do i upgrade iphoto 6.x in mac os x 10.6.8?

    hi there, i don't know if this is the right place to post this question... but i do Before posting it in ilife section, i'd like to know if someone here has, or had, the same "problem". This all originated from the upgrade i did on my ooooold macbook