View Creation Problem

I am facing a problem to creating a view.
My table data like
row     col
1     1
1     2
1     3
1     4     
1     5
1     6
1     7     
1     8
1     9
1     10
2     1
2     2
2     3
2     4     
2     5
2     6
2     7     
2     8
2     9
2     10
I want to create a view like this as fields
row,col1,col2,col3,col4,col5,col6,col7,col8,col9,col10
problem is sometimes col values upto 10 and some times col values less than 10
Suppose my data is
row     col
1     1
1     2
1     3
1     4     
1     5
1     10
2     1
2     2
2     3
2     4     
2     5
then also i want view like
row,col1,col2,col3,col4,col5,col6,col7,col8,col9,col10
and col6,col7,col8,col9,col10 are as null values.
If any body have idea to solve this issue, please help me
Advance Thanking,
siju Abraham

If you search on this forum for the word "pivot", you'll see lots of examples of queries using max(decode(...)).
Regards,
Rob.

Similar Messages

  • Union All vs. View Creation Problem

    Here is my problem basicly;
    I have three table.
    select * from table1;
    select * from table2;
    select * from table3;
    I need to create one view by combining those tables with 'union all' word.
    create or replace view view1 as
    select * from table1;
    union all
    select * from table2;
    union all
    select * from table3;
    Then, I want to write a query as;
    select * from view1 where column1 = x;
    When I did this, view1 first combines all the rows of the tables, then searches x value in all the data. That's OK. However I want to first search x value in the tables, and combine the results of each table and get the result rows.
    I mean, my query "select * from view1 where column1 = x;" need to act as
    select * from table1;
    column1 = x
    union all
    select * from table2;
    column1 = x
    union all
    select * from table3;
    column1 = x
    How can I do this?
    Thanks everyone..

    SnigRO
    I think what you mean is that your query is sequentially full scanning all three tables, and you would like instead for it to use index scans.
    Show the plan for the query. The predicate can be pushed down, but whether it makes any difference may depend:
    - statistics on each table (full scan may be faster than index scan)
    - are the various column1 columns indexed
    - certain documented or hidden optimiser parameters can encourage or discourage push down: eg optimizercost_based_transformation
    - Oracle version: there have been known bugs that interfere with push down (eg Bug 3723007 - Predicate push down may not occur in 10g - reported in 10.1)
    HTH
    Regards Nigel

  • Transaction I view for WebGui(Html)  creation problem

    Hi All,
    I am creating a transaction Iview for WebGui, I am done with I view creation part but when I open the I view its giving 
    <b>No switch made to HTTPS; so it is unsafe to send your password</b>.
    SSO between was and ecc is working fine. I read postings related this issue. No one is able to get the proper solution. I mean why it is happening and how to fix it. Please let me know if any knows how to fix this.
    Thanks
    Keerthi

    Hi keerthi,
    SSO is between???
    and also one more thing check the preview of IVIEW, if iview is perfect then i dont think so there is any problem.
    Thanks
    Purav

  • Personalized view creation in OA Framwork

    HI ,
    I am developing a search Trasaction in OAF using Query Region (AtuoCustomization Mode ). I developed the simple search and advanced search with dyamanic where caluse (I am setting the where clause and not using the where caluse genrate by Search Framwork ) . now i have to develope the personalized View page . i am using same method used in simple search and advance search for genrating where caluse dayanamiclly . but problem is that in personiazied view i am not able to invoke that method as i am not getting the how to handle the apply and apply & view result button in view panal . if anyone work on personalized View creation or know anything about creation of personalized view , please share your knowladge . its urgent , please help me
    regards,
    Vishal

    Looks like you are running a page which is part of a multipage transaction. Check the page function and make sure that page is not expecting any parameter, all the corresponding class files are present in the myclasses folder.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Reg View creation in Generic

    Hi SDN,
    Im trying to create Generic Data source of View Method. I wanted to create View on BSID ( Closed Customer Invoices) and BSAD ( Open Customer invoices) Tables, But while creating its giving error as "THERE IS NO RELATION BETWEEN THE TABLES"  I want to know how to create Relation Between the tables. Both BSID & BSAD are standard tables, so we cant make any changes.
    Please let me know the procedure to bulid Rlation between the tables.
    Regards
    Sujan

    Hi Siva,
        You have to give relation between these two tables in tab "Table/Join Conditions".
    Creating Views:
    http://help.sap.com/saphelp_webas620/helpdata/en/cf/21ecf9446011d189700000e8322d00/frameset.htm
    View creation fr generic extraction
    Hope it Helps

  • View creation very slow - not materialized view

    I have a view creation script which is running in a fraction of a second in the dev environment but takes over an hour to run in the test environment.
    The test environment is off-site, so I have no direct access to it. It does have a lot more data in than dev, but this is not a materialised view so as far as I understood it the amount of data in the system shouldn't affect the time to create the view.
    I haven't been able to find any information on what can make this happen. In the development environment I can be querying the view (or can lock it directly), and am still able to run the CREATE OR REPLACE statement without any performance impact. The view does contain function calls and is created with the FORCE keyword, but I can't find any evidence that this should affect the speed of creation.
    I am running Oracle 10g (10.2.0.4.0) on Solaris in both dev and test environments.
    Any ideas on what could be causing this are very welcome.
    CREATE OR REPLACE FORCE VIEW DB_OWNER.PER$AGE
    SYSTEM,
    LOCATION,
    EVENT_START,
    SURNAME,
    DOB_STRING,
    DESCRIPTION,
    GENDER,
    OLD_ID,
    URN,
    COMBINED_SCORE,
    LOAD_DATETIME,
    AGE,
    EVENTDATE_FROM,
    EVENTDATE_TO,
    DETAILS,
    AOB
    AS
    SELECT /*+ leading(ad) */
    p.system,
    p.location,
    p.event_start,
    p.surname,
    CAST (
    NVL (
    NVL2 (
    p.dob,
    TO_CHAR (p.dob, 'dd/mm/yyyy'),
    TO_CHAR (
    p.apparent_age
    + ROUND ( (SYSDATE - p.created_datetime_from) / 365, 0))),
    0) AS VARCHAR2 (10))
    AS dob_string,
    p.description,
    p.gender,
    p.old_id,
    p.urn,
    NVL2 (
    p.dob,
    db_owner.app_age_score (p.dob, ssearch.get_target_age),
    db_owner.age_score (p.apparent_age,
    p.created_datetime_from,
    ssearch.get_target_age))
    AS combined_score,
    p.load_datetime,
    psd.age,
    psd.eventdate_from,
    psd.eventdate_to,
    e.details,
    NVL (e.aob, 'N/A') aob
    FROM db_owner.person p,
    db_owner.psd psd,
    db_owner.entity e
    WHERE p.db_key = psd.db_key
    AND psd.age IS NOT NULL
    AND e.system(+) = p.system
    AND p.system IN (SELECT internal_name
    FROM ops$tomcat.feed_details
    WHERE inSearchList = 'true')
    AND e.urn(+) = p.urn;

    Hi,
    Thanks for the response.
    Trying the same thing without the FORCE keyword made no difference, the view still takes a long time to compile and there are no compilation errors.
    On the development system, I have run a long-running query on the view and checked V$Access. This returns a record for the view, but I can still successfully run the CREATE OR REPLACE statement on the view in another session. This appears to show that a record in V$Access doesn't mean that the view can't be recompiled.
    On the test system there are no other sessions connected and no records for the view in V$Access.
    Does anyone have any other ideas?

  • Set operator NE in Database View creation in  join condition

    Hi Experts,
         I have a requirement to set NE(not equal) operator in join condition of Database View creation. Could you please help me how to set in operator.
    Join condition :
    Ex : BSAK-AUGBL NE BSAK-BELNR.
    You know that by default operator is '='. i want to set NE in place of '='.
    Thanks,

    Hi Chinna,
    Check whether if there is any possibility or not to include more key fields like bukrs, lifnr, gjahr etc in the where condition, so that you query may result faster. Then, there won't be any necessary to create the view.
    Hope this helps.
    Please reward if useful.
    Thanks,
    Srinivasa

  • Automatic storage location view creation in maintenace order (IW31)

    Hello,
    Seems like I need some help.
    Have configured automatic storage location view creation for GR and reservation. Configured movement types are 101, 201, 261. While creating reservations (201, 261 mvmnt. types) with mb21 the sloc view is automatically created in material master, and everything seems fine.
    But in iw31 when I specify material number and sloc in a Components tab, I get an error message CO312: "The storage location data is not created". Automatic reservation is not created, and maintenance order can not be saved. Movement type 261 is used for automatic reservations for the maintenance order.
    If I configure message CO312 as a (W)arning  message, then it allows me to save the order and reservation, but sloc view in material master still is not created. Think that's not good and may lead to MRP issues.
    How can I configure automatic sloc view creation in iw31? Is that possible?
    Edited by: Konstantin Dudura on Nov 17, 2009 8:11 PM

    Hi,
    The customization required for Automatic Storage location creation at reservation are:
    Goto : SPRO -> MM -> inventory Management and physical inventory -> Goods issue/ Transfer posting -> Create storage location automatically
    first of all go to Plant and tick the automatic Storage location creation for the Plant. After that goto Movement type and tick the automatic Storage location for movement type 261.
    Regards

  • View creation fr generic extraction

    Hai Experts,
    when we are create view from two different table ,wht is the crieteria that should  satisfy  between tables..... and at the time of datasource creation which type we need to select (master/trans)..as i found both master and transaction field in one table
    Can any one send the step by step process to create view..
    I have one more scenario ie .,i need to create a datasource from tables which belong to diff applications and their primary key is different ,can any one tell me how to create a datasource using function module,step by step process..
    thnks in advance,
    Regards,
    Suri

    hi,
    try these links for view creation...
    http://help.sap.com/saphelp_nw04/helpdata/en/f5/35c83ecedc636be10000000a114084/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9b/43473ccf20514ee10000000a114084/content.htm
    http://help.sap.com/saphelp_webas620/helpdata/en/cf/21ecf9446011d189700000e8322d00/frameset.htm
    http://www.sapdb.org/7.4/htmhelp/ee/1c5be2eba711d4aa2800a0c9430730/content.htm
    hope it helps...

  • Tree View Creation error

    Hi,
    I have to create  tree view. I followed the stpes mentioned at the following link.
    Tree View
    I have created a Z-structure and created a table view in the component BT111H_OPPT component.
    While trying to modify the .htm page for the tree view, with the code mentioned at above link, I am getting following error.
    "node_tab is unknown. Not declared by a data statement."
    (see the line number 4 -  nodeTable = "<%= mytreenode->node_tab %>")
    I am using the following code.
    <chtmlb:tableExtension tableId = "Table"
                           layout  = "FIXED" >
      <chtmlb:configTree id                        = "configTree"
                         nodeTable                 = "<%= mytreenode->node_tab %>"
                         nodeTextColumn            = "NODE_TYPE"
                         onCollapseNode            = "nodeCollapse"
                         onExpandNode              = "nodeExpand"
                         onRowSelection            = "select"
                         onNodeClick               = "nodeClick"
                         ajaxDeltaHandling         = "FALSE"
                         headerText                = "Demo Tree"
                         allRowsEditable           = "TRUE"
                         selectionMode             = "SINGLESELECT"
                         table                     = "//mytreenode/Table"
                         tableLayout               = "AUTO"
                         visibleRowCount           = "12"
                         usage                     = "EDITLIST"
                         fillUpEmptyRows           = "FALSE"
                         personalizable            = "TRUE"
                         scrollable                = "TRUE"
                         noFrame                   = "X"
                         downloadToExcel           = "FALSE"
                         onClose                   = "closeTree"
                         onIncreaseSize            = "increaseTree"
                         nodeTextColumnDescription = "NODE" />
    </chtmlb:tableExtension>
    Please let me know where and how should I decalre it.
    Regards,
    Ansal

    Thanks Arun.. for the quick response...
    After view creation, I was directly following your second section of the thread....
    My issue is resolved....
    Hope to get further help for this object development.
    My requirement is add a new assignment block in opportunity screen which will show all the quotation,with their details, created for this opportunity and on click of each quotation id, all the items mapped to that particular quotation should be visible in same view.
    Thanks & regards,
    Ansal

  • Vews creation problem in matmas

    iam creating materials in r3 system by using xi
    iam sending infor mation through xi to r3 system .
    to restrict views in r3 iam sending values to PSTAT field
    like BDEGLPQVACKFS like thisiam sending inthis string each char is indikating one view .
    my problem is iam comparing with fields.
    when iam comapring this iam not getting the out put for this .
    but in test mode it is giving out put.
    in the above string k indikatin MAKTL field.
    if MAKTL field is exist then iam asing the value K to PSTAT field . and comparing all the values like this and concatinating the total char and passing to PSTAT(BDEGLPQVACKFS) .
    but it is not working can any body help me pls .
    but in test mode iam getting out put  but in actual senario iam not getting vlues .
    iam mapping like this .
    filed name -
    > exist--> if ->constant(for indicator)>concat-------> pstat.
    like this for all views.
    with regards
    srikanth vipparla.
    Edited by: srikanth vipparla on Jul 1, 2008 11:25 AM

    hey ..have done the basic checks like mapping activation...
    when you doing the mapping test independently did you pick the XML from SXMB_moni?

  • MAT View Creation Performance Issue

    Hello Experts,
    Below query is executing approximately in 1-3 sec.
    select
    COMMITMENT_ID,
    FUNDING_RULE_ID,
    reporting_year||'-'||reporting_period as RepPeriod,
    GET_START_DAY_OF_PERIOD (FUNDING_RULE_ID, reporting_year, reporting_period) START_DAY_OF_PERIODt,
    GET_END_DAY_OF_PERIOD(FUNDING_RULE_ID, reporting_year, reporting_period) END_DAY_OF_PERIOD
    from
      (select
      COMMITMENT_ID,
      FR_ID as FUNDING_RULE_ID,
      COMT_START_DATE,
      --COMT_TERMINATION_DATE,
      GETREPYEARFROMDATE(COMT_START_DATE,FR_ID) as reporting_year,
      GETREPORTINGPERIOD(to_char(COMT_START_DATE, 'mm') ,FR_ID) as  reporting_period
      from
        select
        COMMITMENT_ID,
        COMT_START_DATE,
        --COMT_TERMINATION_DATE,
        COALESCE(CB_FUNDING_RULE_ID,NC_FUNDING_RULE_ID) FR_ID
        from
        (COMMITMENT_TABLE left outer join (CHILD_BENEFICIARY_TABLE left outer join FUNDING_RULE_TABLE a on
        a.FUNDING_RULE_ID = CB_FUNDING_RULE_ID )
        on COMT_BENEFICIARY_REF = CB_BENEFICIARY_REF
        left outer join (NON_CHILD_BENEFICIARY_TABLE left outer join FUNDING_RULE_TABLE b on
        b.FUNDING_RULE_ID = NC_FUNDING_RULE_ID)
        on
         COMT_BENEFICIARY_REF = NC_BENEFICIARY_REF)
    The query is returning 4.5 lacks of rows.
    I want to create a MAT view by using above query and refresh this on daily basis.
    But the MAT view creation is taking more time near about 401sec (6.68min).
    Why the MAT view is taking more time?
    MAT_VIEW
    CREATE MATERIALIZED VIEW "REP_PERIOD_START_END_DATE"
    AS select
    COMMITMENT_ID,
    FUNDING_RULE_ID,
    reporting_year||'-'||reporting_period as RepPeriod,
    GET_START_DAY_OF_PERIOD (FUNDING_RULE_ID, reporting_year, reporting_period) START_DAY_OF_PERIODt,
    GET_END_DAY_OF_PERIOD(FUNDING_RULE_ID, reporting_year, reporting_period) END_DAY_OF_PERIOD
    from
      (select
      COMMITMENT_ID,
      FR_ID as FUNDING_RULE_ID,
      COMT_START_DATE,
      --COMT_TERMINATION_DATE,
      GETREPYEARFROMDATE(COMT_START_DATE,FR_ID) as reporting_year,
      GETREPORTINGPERIOD(to_char(COMT_START_DATE, 'mm') ,FR_ID) as  reporting_period
      from
        select
        COMMITMENT_ID,
        COMT_START_DATE,
        --COMT_TERMINATION_DATE,
        COALESCE(CB_FUNDING_RULE_ID,NC_FUNDING_RULE_ID) FR_ID
        from
        (COMMITMENT_TABLE left outer join (CHILD_BENEFICIARY_TABLE left outer join FUNDING_RULE_TABLE a on
        a.FUNDING_RULE_ID = CB_FUNDING_RULE_ID )
        on COMT_BENEFICIARY_REF = CB_BENEFICIARY_REF
        left outer join (NON_CHILD_BENEFICIARY_TABLE left outer join FUNDING_RULE_TABLE b on
        b.FUNDING_RULE_ID = NC_FUNDING_RULE_ID)
        on
         COMT_BENEFICIARY_REF = NC_BENEFICIARY_REF)
    Is there any way to make the MAT view creation within 3 minutes?

    CREATE MATERIALIZED VIEW "REP_PERIOD_START_END_DATE"
    AS
    with tab as
    select /*+ materialize */ commitment_id,
                           comt_start_date,
                           --COMT_TERMINATION_DATE,
                           coalesce (cb_funding_rule_id, nc_funding_rule_id)
                              fr_id
                      from (      commitment_table
                               left outer join
                                  (   child_beneficiary_table
                                   left outer join
                                      funding_rule_table a
                                   on a.funding_rule_id = cb_funding_rule_id)
                               on comt_beneficiary_ref = cb_beneficiary_ref
                            left outer join
                               (   non_child_beneficiary_table
                                left outer join
                                   funding_rule_table b
                                on b.funding_rule_id = nc_funding_rule_id)
                            on comt_beneficiary_ref = nc_beneficiary_ref)
    select commitment_id,
           funding_rule_id,
           reporting_year || '-' || reporting_period as repperiod,
           get_start_day_of_period (funding_rule_id,
                                    reporting_year,
                                    reporting_period)
              start_day_of_periodt,
           get_end_day_of_period (funding_rule_id,
                                  reporting_year,
                                  reporting_period)
              end_day_of_period
      from (select commitment_id,
                   fr_id as funding_rule_id,
                   comt_start_date,
                   --COMT_TERMINATION_DATE,
                   getrepyearfromdate (comt_start_date, fr_id) as reporting_year,
                   getreportingperiod (to_char (comt_start_date, 'mm'), fr_id)
                      as reporting_period
              from tab);

  • Meterlized view Refreshtime problem

    Hi,
    I have an issue with my MATERIALIZED view refreshment.
    Server170 having schema "Afccv" with the table name " Tbl_voicechat".
    Server 169 having a db link name "SERVICEDB1" point to same server.
    MATERIALIZED view on server 169 DB user "smschat" with the following code ::
    CREATE MATERIALIZED VIEW "SMSCHAT"."TBL_VOICECHAT_NEW1" TABLESPACE "SMSCHAT"
    BUILD IMMEDIATE
    REFRESH FAST
    AS SELECT <COLUMNNAMES>
    FROM AFCCV.TBL_VOICECHAT@SERVICEDB1;
    Refreshment time is 15 min.
    alter MATERIALIZED VIEW SMSCHAT.TBL_VOICECHAT_NEW1 REFRESH FAST ON DEMAND START WITH sysdate+0 NEXT sysdate+(15/86400*60);
    Also there is 5 indexes on this MATERIALIZED view.
    Problem is ::
    Sometimes it is refreshing properly in time and taking approximate 5-8 min to refresh. But sometimes it seems to be like hang or when I m checking the job for refreshment its only showing runnning.
    SQL> set time on
    11:44:02 SQL> alter session set nls_Date_format='dd-mon-yyyy hh24:mi:ss';
    Session altered.
    11:44:03 SQL> select mview_name ,last_refresh_date from dba_mviews;
    MVIEW_NAME LAST_REFRESH_DATE
    MGMT_ECM_MD_ALL_TBL_COLUMNS 20-jan-2011 11:44:40
    TBL_VOICECHAT_NEW1 07-jun-2012 09:44:54
    11:44:33 SQL> select * from dba_jobs_running;
    SID JOB FAILURES LAST_DATE LAST_SEC THIS_DATE THIS_SEC INSTANCE
    2893 252 0 07-jun-2012 09:44:51 09:44:51 07-jun-2012 11:14:06 11:14:06 0
    11:44:34 SQL>
    Now What to do and why it is not refreshing properly. DB link is working fine. no network issue is there. no locking is there on db.
    Kindly tell me where to check related to this issue. or what I can do for this.
    thanks in Advnace
    Pradeep.

    Pradeep Sharma wrote:
    Hi,
    I have an issue with my MATERIALIZED view refreshment.
    Server170 having schema "Afccv" with the table name " Tbl_voicechat".
    Server 169 having a db link name "SERVICEDB1" point to same server.
    MATERIALIZED view on server 169 DB user "smschat" with the following code ::
    CREATE MATERIALIZED VIEW "SMSCHAT"."TBL_VOICECHAT_NEW1" TABLESPACE "SMSCHAT"
    BUILD IMMEDIATE
    REFRESH FAST
    AS SELECT <COLUMNNAMES>
    FROM AFCCV.TBL_VOICECHAT@SERVICEDB1;
    Refreshment time is 15 min.
    alter MATERIALIZED VIEW SMSCHAT.TBL_VOICECHAT_NEW1 REFRESH FAST ON DEMAND START WITH sysdate+0 NEXT sysdate+(15/86400*60);
    Also there is 5 indexes on this MATERIALIZED view.
    Problem is ::
    Sometimes it is refreshing properly in time and taking approximate 5-8 min to refresh. But sometimes it seems to be like hang or when I m checking the job for refreshment its only showing runnning.
    SQL> set time on
    11:44:02 SQL> alter session set nls_Date_format='dd-mon-yyyy hh24:mi:ss';
    Session altered.
    11:44:03 SQL> select mview_name ,last_refresh_date from dba_mviews;
    MVIEW_NAME LAST_REFRESH_DATE
    MGMT_ECM_MD_ALL_TBL_COLUMNS 20-jan-2011 11:44:40
    TBL_VOICECHAT_NEW1 07-jun-2012 09:44:54
    11:44:33 SQL> select * from dba_jobs_running;
    SID JOB FAILURES LAST_DATE LAST_SEC THIS_DATE THIS_SEC INSTANCE
    2893 252 0 07-jun-2012 09:44:51 09:44:51 07-jun-2012 11:14:06 11:14:06 0
    11:44:34 SQL>
    Now What to do and why it is not refreshing properly. DB link is working fine. no network issue is there. no locking is there on db.
    Kindly tell me where to check related to this issue. or what I can do for this.
    thanks in Advnace
    Pradeep.
    >Hi,
    I have an issue with my MATERIALIZED view refreshment.
    Server170 having schema "Afccv" with the table name " Tbl_voicechat".
    Server 169 having a db link name "SERVICEDB1" point to same server.
    MATERIALIZED view on server 169 DB user "smschat" with the following code ::
    CREATE MATERIALIZED VIEW "SMSCHAT"."TBL_VOICECHAT_NEW1" TABLESPACE "SMSCHAT"
    BUILD IMMEDIATE
    REFRESH FAST
    AS SELECT <COLUMNNAMES>
    FROM AFCCV.TBL_VOICECHAT@SERVICEDB1;
    Refreshment time is 15 min.
    alter MATERIALIZED VIEW SMSCHAT.TBL_VOICECHAT_NEW1 REFRESH FAST ON DEMAND START WITH sysdate+0 NEXT sysdate+(15/86400*60);
    Also there is 5 indexes on this MATERIALIZED view.
    Problem is ::
    Sometimes it is refreshing properly in time and taking approximate 5-8 min to refresh. But sometimes it seems to be like hang or when I m checking the job for refreshment its only showing runnning.
    SQL> set time on
    11:44:02 SQL> alter session set nls_Date_format='dd-mon-yyyy hh24:mi:ss';
    Session altered.
    11:44:03 SQL> select mview_name ,last_refresh_date from dba_mviews;
    MVIEW_NAME LAST_REFRESH_DATE
    MGMT_ECM_MD_ALL_TBL_COLUMNS 20-jan-2011 11:44:40
    TBL_VOICECHAT_NEW1 07-jun-2012 09:44:54
    11:44:33 SQL> select * from dba_jobs_running;
    SID JOB FAILURES LAST_DATE LAST_SEC THIS_DATE THIS_SEC INSTANCE
    2893 252 0 07-jun-2012 09:44:51 09:44:51 07-jun-2012 11:14:06 11:14:06 0
    11:44:34 SQL>
    Now What to do and why it is not refreshing properly. DB link is working fine. no network issue is there. no locking is there on db.
    Kindly tell me where to check related to this issue. or what I can do for this.
    thanks in Advnace
    Pradeep.
    Hi All,
    Some more queries I also being use to check this process working
    11:44:34 SQL> select LAST_DATE,LAST_SEC,THIS_DATE,THIS_SEC,NEXT_DATE,NEXT_SEC,TOTAL_TIME,BROKEN from dba_jobs where job=252;
    LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE NEXT_SEC TOTAL_TIME B
    07-jun-2012 09:44:51 09:44:51 07-jun-2012 11:14:06 11:14:06 07-jun-2012 11:14:04 11:14:04 44877 N
    11:49:28 SQL> SELECT t.used_ublk, t.used_urec FROM v$session s, v$transaction t WHERE s.taddr=t.addr and s.SID =2893 ;
    USED_UBLK USED_UREC
    389 27054
    11:49:59 SQL> /
    USED_UBLK USED_UREC
    390 27084
    11:50:02 SQL>

  • Why do I get a "ORA-01031: insufficient privileges" in my view creation?

    Why do I get a "ORA-01031: insufficient privileges" in my view creation for the table which exists in the same schema?
    Oracle version is 10g R2.
    connect cim/lion;
    create table cim.table1 (a number, b varchar2(10));
    create view cim.view1 as select * from cim.table1;
    create view cim.view1 as select * from cim.table1
    ERROR at line 1:
    ORA-01031: insufficient privileges

    Thanks it works now after giving CREATE VIEW permission to user CIM.
    This script was working fine in Oracle 10g R1.
    Looks like i need to execute the following GRANT permission explicitly
    grant create view to cim;

  • View creation authority for a user

    How can I assign MIP views or another view creation for a user ?

    Hi
    Yes you are right you can control the status based on the authorisation Object
    M_MATE_STA.
    Award points if useful
    Thanks & Regards
    Kishore

Maybe you are looking for

  • Perfomance of oracle report

    Hi, I am working on a oracle report. the report performance is very slow. Based on the requirement i have designed my data model in such a way that i used many formula columns & summary columns... Can some let me know how to tune the report. and incr

  • Blank disks don't appear on desktop or in finder

    After I insert it and choose open in finder it's nowhere to be found even though it shows up in disk utility. I checked the finder preferences to make sure media should show up and in system preferences it's set up to ask what to do. Any disk that ha

  • Error in the isqlplus.conf file?

    Is there anyone else out there that gets this message? Each time I try to run my HTTP server to access iSQL*Plus, I get: "Syntax error on line 92 of c:/oracle/ora92/sqlplus/admin/isqlplus.conf: FastCgiServer: redefinition of a previously defined Fast

  • How to keep Field symbol reference

    HI ALL , I have method with that assign field symbol on it and I want to keep the reference of it , does it impossible ? For instance ASSIGN cs_structure TO <ls_structure>. "both are type any and are always structure with fields f1...fn     assign_re

  • Raw Format from Olympus E-10 not support

    Does anyone know how to import this raw format (Olympus E-10) into iphoto. The apple web site says it is compatibly but iphoto says it is not. Thanks for any help.