Messy RUN_STATUS column values in public view ALL_RT_AUDIT_MAP_RUNS

Is it true, that there is a bug in view ALL_RT_AUDIT_MAP_RUNS column RUN_STATUS?
This view is based on table WB_RT_AUDIT. View's column RUN_STATUS is based on tables column named RTA_STATUS.
Firstly, RTA_STATUS in the table is numeric and RUN_STATUS is computed like this:
decode (a.rta_status, 'BEGIN', 'RUNNING', 'FAILED', 'FAILURE', 'COMPLETE') as run_status.
It means, that the result value of RUN_STATUS is always 'COMPLETE'.
Moreover, table WB_RT_AUDIT column RTA_STATUS shows value 1, when mapping runs without errors and shows 1 also, when mapping fails.
What is the best indicator from public views or runtime audit tables to show that mapping has completed successfully? Is it return_result or return_code column form view ALL_RT_AUDIT_EXECUTIONS (table WB_RT_AUDIT_EXECUTIONS)?
Finally, what's the difference between WB_RT_AUDIT_EXECUTIONS and WB_RT_AUDIT. Is it possible to have more than one WB_RT_AUDIT rows for one WB_RT_AUDIT_EXECUTIONS row?
Thank you,
-- Trying to upgrade from OWB 9.0.2 to 10.1 :S

Here is the original procedure. I have since created a procedure which pulls the values from memory using dynamic sql, and this seems to work.
PROCEDURE CREATE_DW_PROCESS_JOURNAL1(p_business_area IN VARCHAR2,
p_map_id IN NUMBER) AS
l_map_name OWBSYS.ALL_RT_AUDIT_MAP_RUNS.MAP_NAME%TYPE := NULL;
l_yn_flag VARCHAR2(1):= 'N';
BEGIN
IF(p_map_id IS NOT NULL) THEN
--For the audit id passed in open the cursor to get the information available
INSERT INTO dw_process_journal(id, business_area, map_name, process_start_date, process_finish_date,
run_status, error_count, inserted_count, updated_count, merged_count, elapsed_seconds, corrected_count,
map_run_id, execution_audit_id)
SELECT dw_process_journal_seq.nextval, p_business_area, map_name, start_time, end_time,
run_status, number_errors, number_records_inserted, number_records_updated, number_records_merged, elapse_time, number_records_corrected,
map_run_id, execution_audit_id
FROM owbsys.ALL_RT_AUDIT_MAP_RUNS
WHERE MAP_RUN_ID =p_audit_id;
commit;
END IF; -- p_audit_id
END CREATE_DW_PROCESS_JOURNAL1;

Similar Messages

  • How to pass column values to narrative view  in obiee11g

    Hi All,
    my report values like this
    Month_name value
    Jan 100
    Feb 500
    march 400
    April 1000
    Now I can display march values in narrative view
    Ex:march values is 400.
    when i use @1,@2 it will display the Jan values.
    And Also i want show the Table view also in same report.

    Hello,
    Using dynamic sql you can pass column name to function. well I am not getting what you really want to do ? Please write in more detail. By the way I am providing one example here. see it uses dynamic sql.
    Create or replace function fun_updtest (p_columnname_varchar2 in varchar2,
    p_value_number in number)
    return number is
    v_stmt varchar2(500);
    begin
    v_stmt := 'update emp
    set '||p_columnname_varchar2||' = '||to_char(p_value_number)||'
              where empno = 7369';
    execute immediate v_stmt;
    return 0;
    commit;
    end;
    call to this function can be like this..
    declare
    v_number               number;
    begin
    v_number := fun_updtest('SAL',5000);
    end;
    Adinath Kamode

  • How to get column value in grid View

    Hello My first Language is German so bear with my English
    FIRST vIEW THE SCREEN SHOT PLEASE
    I am new to asp.net  i am making small application to generate reports in which user give criteria just liek we do in sql server  i have two grid view in accordion section then there is button  so Both GridView has headers that  Name
    , Output and Filter
    Name shows the Column of database fields, output column has check box if user check box it will only display those columns and filter is text box in which we filter our results
    basically i am just trying to do this like sql server in which user check columns to display and also provide filter criteria and then sql query modified according to the grid values.
    i have attached the screen shot of grid view kindly view it please You will have idea what i am tyring to say 
    now i want some help in filter criteria 
    suppose user check ref Code, School,Program, Name in the grid view and press show button
    it generates query
    select RefCode,School,Program,Name from Applicant.
    now i want to apply where clause if user write something in filter text box which i can not do kindly help me out and view the screen shot my desire outcome is if user check column and also write some value in RefCode filter textbox let suppose '0565-01'
    and in School Text user write SBE
    it should generate  sql
    select RefCode,School,Program,Name from Applicant where (RefCode='0565-01')and (School='SBE');
    my code for show button which generate simple select statement without where clause is below.
    protected void Button2_Click(object sender, EventArgs e)
    String output = "";
    String filter = "";
    foreach (GridViewRow row in gvExperience.Rows)
    CheckBox cb = (CheckBox)row.FindControl("CheckBox1");
    if (cb.Checked == true)
    output += row.Cells[0].Text.ToString() + ','; // get the Name of columns and concate in output variable }
    output = output.Remove(output.LastIndexOf(","), 1)
    string sql = "select " + output + " from Applicant"; // display the query
    bindoutput(sql); // pass this query and bind the new gridview which contain generated sql
    Azeem

    Hi Azeem,
    >>I am new to asp.net  
    Please ask on this forum instead:
    http://forums.asp.net/24.aspx/1?Web+Forms+Data+Controls
    ASP.NET issue is not related to WinForm forum.
    Regards,
    Barry Wang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to save and retrive table column values added via view enhancement

    Hi,
    I want to enhance standard webdynpro component FITE_VC_REVIEW.
    I want to add new column to Fight Info Table and also to Hotel Info table.I can do UI changes via view enhancement .
    First Approach: I add new fields to Flight Info and Hotel Info structure.
    Create an additional Coolum in Flight Info and Hotel Info Table and Bind it to newly created field in structures.
    Question :
    What all changes I have to make to save and retrieve values from database table.
    Kindly guide with Steps
    Second Approach: I create a new table/structure for my requirement and bind table column to these fields.
    Question:
    What all changes I have to make to save and retrieve values from database table.
    Kindly guide with Steps
    And which approach will be good.
    Regards,
    Madhvika

    no ans yet

  • Problem in displaying multiple column values using Narrative View

    Hi All,
    I have a requirement where in I need to display column 1 of an Answers report as a header and all values of column 2 below tht.
    There are multiple values from column 2 for every value in column 1
    Example:
    Group:
    Grp (This is column 1)
    Activity:
    Act1
    Act2
    Act3 (These are values from column 2)
    I have used narrative view for this which looks like:
    Group: @1
    Activity:@2[br/]
    But this displays the value of column1 along with every value of column 2. I want column 1 value to be displayed only once.
    Thanks in advance
    Radhika

    Hi see this link it may helpful
    Re: Narrative view not showing up in the report
    Re: how to transpose columns to rows in OBIEE
    Regards
    Naresh

  • How to save and retrieve table column values added via view enhancement

    Hi,
    I want to enhance standard webdynpro component FITE_VC_REVIEW.
    I want to add new column to Fight Info Table and also to Hotel Info table.
    First Approach: I add new fields to Flight Info and Hotel Info structure.
    Create an additional Coolum in Flight Info and Hotel Info Table and Bind it to newly created field in structures.
    Question
    What all changes I have to make to save and retrieve values from database table.
    Kindly guide with Steps
    Second Approach: I create a new table/structure for my requirement and bind table column to these fields.
    Question:
    What all changes I have to make to save and retrieve values from database table.
    Kindly guide with Steps
    And which approach will be good.
    Regards,
    Madhvika
    Moderator message: please have a look in the dedicated "Web Dynpro ABAP" forum.
    Edited by: Thomas Zloch on Feb 16, 2011 3:02 PM

    no ans yet

  • How to prevent editing a SharePoint site column value from document properties view of a downloaded document?

    Hi,
    We have created a SharePoint site column with below settings
    1. ShowInEditForm - False
    2. ShowInNewForm - False
    3. ShowInDisplayForm - True
    With the above definition, the site column showing only in view properties form not in New and Edit forms.  This column is added to a document library and updating this column value will be managed by event receiver code when a document is uploaded.
    Till this point, everything is working OK.
    But the issue is when we download and open a document from the above document library, under document properties the above column (with value) is visible along with other document default properties and  this column value is editable. With this issue,
    user is able to set a new value and overwrite the existing value by re-uploading the document.
    Could you please let me know how to handle this issue so that user should not be allowed to edit except viewing the value/property (read only)?
    Thanks in advance.
    Regards
    Ramesh

    You can set "ShowInFileDlg" property of field to "FALSE". Using this you will not see that field in document properties list

  • Performance issue: View query is calculating a column value before filterin

    Hi,
    I have a view like this.(My view is more complex than this..I just tried to imitate the situation )
    Select emp_id, emp_name, calculate_salary(emp_id) salary
      From employees
    Where nvl(department, '@@##$$') = nvl(get_global.department, '@@##$$')When I execute the below query
    select emp_name from my_view where salary=10000 by setting a value to get_globals.department I found that it first calls the calculate_salary instead of applying the filter for departments. By somehow the cost base analyzer thinks that calling the function is cheaper than applying the filter. I wonder whether there is way to direct the cba and say to first apply the filters before calculating column values.
    Any suggestions ?
    Thanks

    I don't think it's possible.
    Before a WHERE clause can be applied the data has to be collected for the row so Oracle, I would imagine, isn't going to differentiate between what is a database column and a function, fetch just the columns, do the filtering and then go back to calculate the rest of the columns; it's just going to get all the columns, including the calculated ones, and then apply the filters.
    The only option would be to do...
    select emp_id, emp_name, calculate_salary(emp_id) salary
    from (select emp_id, emp_name
          from employees
          where nvl(deparment, '@@##$$') = nvl(get_global.department, '@@##$$')
          )as your view

  • How to get the column values from a BC4J View Table in UIXML?

    I am using a default UiXML Application for Order Entry system with Orders & Order Lines & Customers. I have a uix file OrdersView1_View.uix which displays (no updateable columns) all the Orders. How do I get the column value of a selected row in a BC4J Table (example:OrdersId) when a Submit button is pressed using UIXML or Java Classes?
    I appreciate any help on this.

    Hi,
    You need to use keyStamp, an example:
    <bc4j table name="orders">
    <bc4j:keyStamp>
    <bc4j:rowKey name="key" />
    </bc4j:keyStamp>
    Furthermore, you can automatically send the selected row key using the go event handler, so in the handlers section you could send the key to an orderInfo page:
    <event name="show">
    <!-- forward to the update page, passing
    the selected key as a page property -->
    <ctrl:go name="orderInfo" redirect="true">
    <ctrl:property name="key">
    <ctrl:selection name="orders" key="key" />
    </ctrl:property>
    </ctrl:go>
    </event>

  • Created by column value is not showing in XSLT List View After Migration To 2013

    Hello All,
    In my XSLT Created By Column value is not showing. Please help me with this problem. My code is simple I have custom column in XSLT name as 'Reported By' in which I want to show 'Created By' column value. but it is not showing. please help me with that.
    Thanks in advance

    hi
    is anyone has answer for this question.
    thanks...!!!!

  • Programatically setting column values for table

    hi...
    I am programatically setting column values for table.
    But these values are not getting reflected on table after commit.
    I mean to say,new values are not persisted after commit.
    The code is as follows,It is in Application Module class
    public void createRecord()
    OAViewObject vo = (OAViewObject)this.getOpptyLoeVO1();
    if (!vo.isPreparedForExecution())
    vo.executeQuery();
    Row row = vo.createRow();
    row.setAttribute("Id",new Number(850));
    row.setAttribute("Model","Honda");
    row.setAttribute("Role","Team Lead");
    row.setAttribute("Hours",new Number(35));
    vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    getTransaction().commit();
    Here "Id,Model,Role,Hours" are columns in table .

    Hi,
    is your VO based on an Entity Object?
    If not, you can't update values in the DB using only a View Object!
    If yes, you should control that, in your VO, you have not selected the flag "Read Only" for the EO you want to update.
    Hope this helps you.
    Bye
    Raffy

  • Partial Page Rendering - Refresh Column Value

    Hi OAF Gurus,
    I created a create page and followed the tutorial on Partital page Rendering creating a PVO view object and I am able to render the "EmployeeNumber" / "Location" column true OR false based on the value of another feild (Area Monitored).
    The "TypeMonitored" (message choice) has 2 values (Area/Employee). If user selects the "Area" then the "EmployeeNumber" column should be hidden and if the user selects "Employee" then the "Location" column should be hidden. it works fine.
    My problem is if the user has selected "Employee" in the "TypeMonitored" poplist and entered the "EmployeeNumber" and then immediately again if the user selects "Area" from the "TypeMonitored" poplist and enters the "Location" (since the location is now visible to the user) and clicks on the Save then the record is getting saved with both the values. I need to have the column value of "Employee" to be blank in this case.
    Basically need to set/clear the value of EmployeeNumber before saving to the database.
    Any help would be greatlly appreciated. Please let me know if you need further details.
    Thanks,
    Mir
    Here is my AMImpl Code
    ===============
    package lac.oracle.apps.lac.lacempexposure.server;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.server.OAViewObjectImpl;
    import oracle.jbo.Row;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.jbo.Transaction;
    import oracle.jbo.domain.Number;
    import oracle.apps.fnd.framework.OARow;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.framework.OAException;
    // --- File generated by Oracle ADF Business Components Design Time.
    // --- Custom code may be added to this class.
    // --- Warning: Do not modify method signatures of generated methods.
    public class LacEmpExposureAMImpl extends OAApplicationModuleImpl {
    /**This is the default constructor (do not remove)
    public LacEmpExposureAMImpl() {
    * Initializes the transient application properties VO.
    public void init()
    System.out.println("Into LACEmpExposureAMImpl.java IN init");
    //System.out.println(LacTypeMonitored);
    OAViewObject appPropsVO = (OAViewObject)findViewObject("LacExpCreatePVO1");
    if (appPropsVO != null)
    // Do not reinitialize the VO unless needed. Note that this method call
    // does not try to query the database for VOs with no SELECT statement
    //and only transient attributes.
    if (appPropsVO.getFetchedRowCount() == 0)
    // Setting the match fetch size to 0 for an in-memory VO
    // prevents it from trying to query rows. Calling
    // executeQuery() ensures that rows aren't lost after
    // a commit in the transaction (BC4J known issue workaround).
    appPropsVO.setMaxFetchSize(0);
    appPropsVO.executeQuery();
    // You must create and insert a row in the VO before you can start
    // setting properties.
    appPropsVO.insertRow(appPropsVO.createRow());
    // Set the primary key value for this single-rwo VO.
    OARow row = (OARow)appPropsVO.first();
    row.setAttribute("RowKey", new Number(1));
    } // Initialize the application properties VO (and the UI) based on the
    // default Type Monitored value set on the underlying object.
    handleTypeMonitoredChangeEvent();
    } // end init()
    * Handles changes of the TypeMonitored poplist to set the
    * application properties VO value for PRR
    public void handleTypeMonitoredChangeEvent()
    // Get the special, single-row application properties and make the
    // first(only) row current.
    OAViewObject vo = (OAViewObject)findViewObject("LacExpCreatePVO1");
    OARow row = (OARow)vo.first();
    // Get the value of the view object attribute with the TypeMonitored code
    OAViewObject LacEmpExposureCreateVO = (OAViewObject)findViewObject("LacEmpExposureVO1");
    OARow LacEmpExposureCreateRow = (OARow)LacEmpExposureCreateVO.getCurrentRow();
    String LacTypeMonitored = (String)LacEmpExposureCreateRow.getAttribute("TypeMonitored");
    System.out.println("Into LACEmpExposureAMImpl.java IN handleTypeMonitoredChangeEvent");
    System.out.println(LacTypeMonitored);
    //row.getAttribute("LocationMonitoredRender");
    //System.out.println(row.getAttribute("LocationMonitoredRender"));
    if (("Personal".equals(LacTypeMonitored)))
    row.setAttribute("LocationMonitoredRender", Boolean.FALSE);
    row.setAttribute("EmployeeNumberRender", Boolean.TRUE);
    row.setAttribute("FullNameRender", Boolean.TRUE);
    else if (("Area".equals(LacTypeMonitored)))
    row.setAttribute("LocationMonitoredRender", Boolean.TRUE);
    row.setAttribute("EmployeeNumberRender", Boolean.FALSE);
    row.setAttribute("FullNameRender", Boolean.FALSE);
    } // handleTypeMonitoredChangeEvent()
    /**Sample main for debugging Business Components code using the tester.
    public static void main(String[] args) {
    launchTester("lac.oracle.apps.lac.lacempexposure.server", /* package name */
    "LacEmpExposureAMLocal" /* Configuration Name */);
    /**Container's getter for LacEmpExposureVO1
    public OAViewObjectImpl getLacEmpExposureVO1() {
    return (OAViewObjectImpl)findViewObject("LacEmpExposureVO1");
    /**Container's getter for EmployeeNamesLovVO1
    public OAViewObjectImpl getEmployeeNamesLovVO1() {
    return (OAViewObjectImpl)findViewObject("EmployeeNamesLovVO1");
    /**Container's getter for MonitoringTypeVO1
    public OAViewObjectImpl getMonitoringTypeVO1() {
    return (OAViewObjectImpl)findViewObject("MonitoringTypeVO1");
    /**Container's getter for LacParameterMonitoredVO1
    public OAViewObjectImpl getLacParameterMonitoredVO1() {
    return (OAViewObjectImpl)findViewObject("LacParameterMonitoredVO1");
    *Creates a new Exposure Record
    public void CreateLacEmpExposure()
    OAViewObject vo = (OAViewObject)getLacEmpExposureVO1();
    //Per the coding standards, this is the proper way to
    //initialize a VO that is used for both inserts and queries.
    //See View Objects in detail in then Developers Guide for
    //additional Information.
    System.out.println("Into LACEmpExposureAMImpl.java IN CreateLacEmpExposure");
    if(!vo.isPreparedForExecution())
    vo.executeQuery();
    Row row = vo.createRow();
    vo.insertRow(row);
    //Required per OA Framework Model Coding Standard M69
    row.setNewRowState(Row.STATUS_INITIALIZED);
    } // end CreateLacEmpExposure
    *Executes a rollback including the database and the middle tier
    public void rollbackLacEmpExposure()
    Transaction txn = getTransaction();
    // This small optimization ensures that we dont persorm a rollback
    // if we don't have to.
    if (txn.isDirty())
    txn.rollback();
    } // end rollbackLacEmpExposure()
    /**Container's getter for LacEmpExposureLOVDataVO1
    public OAViewObjectImpl getLacEmpExposureLOVDataVO1() {
    return (OAViewObjectImpl)findViewObject("LacEmpExposureLOVDataVO1");
    * Commits the transaction
    public void Apply()
    getTransaction().commit();
    } // end apply()
    /**Container's getter for LacExpCreatePVO1
    public OAViewObjectImpl getLacExpCreatePVO1() {
    return (OAViewObjectImpl)findViewObject("LacExpCreatePVO1");
    * Initializes the detail employee query for Update Page.
    public void initDetailsUpdate(String EmployeeNumber,
    String FullName,
    String RecordSeq)
    System.out.println("Into LACEmpExposureAMImpl.java IN initDetailsUpdate");
    System.out.println("LACEmpExposureAMImpl ==> EmployeeNumber in initQueryUpdate is: " + EmployeeNumber);
    System.out.println("LACEmpExposureAMImpl ==> FullName in initQueryUpdate is: " + FullName);
    System.out.println("LACEmpExposureAMImpl ==> RecordSeq in initQueryUpdate is: " + RecordSeq);
    // OAViewObjectImpl vo = getLacEmpExposureVO1();
    LacEmpExposureEditVOImpl vo = (LacEmpExposureEditVOImpl)getLacEmpExposureEditVO1();
    // OAViewObject vo = (OAViewObject)getLacEmpExposureVO1();
    if (vo == null)
    MessageToken[] errTokens = { new MessageToken("OBJECT_NAME", "LacEmpExposureVO1") };
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    vo.InitQueryUpdate(EmployeeNumber, FullName, RecordSeq);
    Row row=vo.first();
    vo.setCurrentRow(row);
    // Since we're querying a single row with a primary key value, we
    // can use the findByKey method which first checks the BC4J cache,
    // and if it doesn't find a matching row, it will formulate a query using
    // the given key and retrieve it from the database.
    String[] keys = { employeeNumber };
    Row[] rows = vo.findByKey(new Key(keys), 1);
    // You must set the current row, or the Details page won't display any
    // data. When you explicitly query data, you don't have to do this.
    if (rows != null)
    vo.setCurrentRow(rows[0]);
    } // end initDetails()
    /**Container's getter for LacEmpExposureEditVO1
    public LacEmpExposureEditVOImpl getLacEmpExposureEditVO1() {
    return (LacEmpExposureEditVOImpl)findViewObject("LacEmpExposureEditVO1");
    } // end class LacEmpExposureAMImpl

    Hi,
    In your LacTypeMonitored // I assume this will be triggered when you change the poplist value form Employee to Area
    Add a logic to null the Employee value
    if (("Area".equals(LacTypeMonitored)))
    row.setAttribute("LocationMonitoredRender", Boolean.TRUE);
    row.setAttribute("EmployeeNumberRender", Boolean.FALSE);
    row.setAttribute("FullNameRender", Boolean.FALSE);
    //Set the employee attribute to null
    (OARow)LacEmpExposureCreateVO.getCurrentRow().setAttribute("<employeeAttribute >",null);
    Let me know it works.
    Thanks,
    With regards,
    Kali.
    OSSI.

  • How to get column values on item added event receiver

    Hi,
    I have two columns in a document library and one is people or group column and the other one is choice column with check boxes.
    I want to know how to read column values on Item Added event receiver, so that I can create if statements based on those values.
    Thank you,
    AA.

    Hi AOK2013, 
    Have you had a look at this Microsoft tutorial: http://msdn.microsoft.com/en-us/library/office/gg981880(v=office.14).aspx
    Essentially, you want to use the AfterProperties property to access the changed field value. 
    E.g. 
    var personvalue = properties.AfterProperties["YourPersonFieldName"]
    Regards, Matthew
    MCPD | MCITP
    My Blog
    View
    Matthew Yarlett's profile
    See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
    Upload and Crop User Profile Photos

  • Display column values as a series/legend on a line chart where one column value can be more than one category

    Hi Everyone
    I don't know if this is possible or not, so I will describe it. I have a column in a table called Filing. There are currently three values in it ("Abuse", "Neglect", "Voluntary") and each record has this populated. I also have
    the below slicer for the column also.
    I would like to add a fourth value called "Abuse/Neglect" that would identify instances where both an Abuse and Neglect petition was filed, which is a subset of the Abuse and Neglect records in the Filing column.
    My question is, is it possible to create a line chart that has the 4 Filing possibilities: "Abuse", "Neglect", "Voluntary", "Abuse/Neglect" as the Series/Legend in the line chart?
    The problem is that there are records that are more than one category: Abuse or Neglect records can also be Abuse/Neglect.
    Paul

    Hi Paul,
    According to your description, there is a column with the values ("Abuse", "Neglect", "Voluntary") in your table, now what you need to is that add another value "Abuse/Neglect" in this column, and then use it
    as Series/Legend in the line chart, right?
    In this case, you can add calculated column to your table based on your logic. A calculated column is a column that you add to an existing PowerPivot table. Instead of pasting or importing values in the column, you create a DAX formula that defines
    the column values. The calculated column can be used in a PivotTable, PivotChart, or Power View report as you would any other data column. Please refer to the link below to see the details.
    https://msdn.microsoft.com/en-us/library/gg413492%28v=sql.110%29.aspx?f=255&MSPPError=-2147217396
    Regards,
    Charlie Liao
    TechNet Community Support

  • To get the count of records and able to access the column value in a single

    Hi
    Is there any way to get the number of records in the query and access the column values
    e.g
    select count(*)
    from
    (SELECT department, COUNT(*) as "Number of employees"
    FROM employees
    WHERE salary > 25000
    GROUP BY department ) a
    This wil only get the Count, if i want to access each row from the inline view how can i do that.

    Your question is not clear.
    Are you looking for total record count as well as count by department ?
    Something like this?
    SQL>
    SQL> with temp as
      2  (
      3  select 1 dept ,10000 sal from dual union
      4  select 1 dept ,25100 sal from dual union
      5  select 1 dept ,30000 sal from dual union
      6  select 1 dept ,40000 sal from dual union
      7  select 2 dept ,10000 sal from dual union
      8  select 2 dept ,25100 sal from dual union
      9  select 2 dept ,30000 sal from dual union
    10  select 2 dept ,40000 sal from dual )
    11  select count(*) over( partition by 1 ) total_count,dept,
    12  count(*) over(partition by dept) dept_cnt  from temp
    13  where sal>25000;
    TOTAL_COUNT       DEPT   DEPT_CNT
              6          1          3
              6          1          3
              6          1          3
              6          2          3
              6          2          3
              6          2          3
    6 rows selected
    SQL>

Maybe you are looking for

  • Photoshop CS quitting unexpectedly

    Usually happens when loading a file. Today, the file size was about 100mb. It has happened with far smaller files as well. Error message is that it can't load the color book because there is not enough RAM. I'm running a dual 2gig G5 with OSX 10.4.3

  • PDF Links don't work in Flaspaper

    I have a PDF with external links. However, when I use the FlashPaper driver to convert the PDF to a SWF, it totally ignores those links. Is there any workaround to this? L

  • Failed to load extension com.NAI.SysCallExt

    In system preferences, I made 'cd' my startup disk. Now, when I try to override and startup from hard disk, computer screen ends up with a black box in middle of screen. command-v yields text that includes this statement several times in yellow: "Fai

  • LED Backlight Display in the future?

    Any one know whether Apple is planning on going to a LED back light display rather than the Cold Cathode Flourescent Lamp (CCFL) backlight? Flourescent's give me migraines and I hear the LED backlight is far superior due to electrical usage, heat as

  • PV2012 locals sometimes don't behave well...

    Here's one example: The squiggles are due to local paint with highlights = -30. Note: global highlight reduction of same, or greater strength, does not result in so much darkness, nor so much desaturation. Note2: marked darkening/grayness/desaturatio