Using Union in a view. Each union references multiple DB links

I want to make a view something like this:
create vw_abc as
select region_code, processing_status from region_control@uae
union
select region_code, processing_status from region_control@qatar
The issue here is that the db links referenced are traversing to various countries our company has presence in. If one of them faces network problems, which you never know when they might, this view will be unavailable for all regions.
How can I make it that if the part of the union for one region is returning an error, never mind, get the data from the rest of them.
IIRC I think MySQL or MSSQL had something like NAND which could be used in situations where a part of the query is expected to return errors sometimes to ignore it.
Some help would be appreciated or alternative solutions.

If I were you..
I would create a unified table say master_abc columns (source_name,region_code,processing_status) and partitioned by source_name (list partitioning which would have all the source names)
And would have processes to load into this unified table from all the sources into respective partitions..
create or replace view vw_abc as (select * from master_abc);
If DBlink objects have issues my load process would fail (where in I can identify properly log them up and investigate), but still my table will be used in view vw_abc.
Cheers,
Manik.

Similar Messages

  • Auto reboot / Manual reboot : easy way to apply group policy for each group without multiple AD links? Help appreciated

    Good morning,
    I have two policies for WSUS, one that auto-reboots the client and one that allows for manual reboots.  I'm sure this is very obvious, but i'm wanting to make sure I do this correctly.
    What's the easiest way to apply the policy for manual/auto reboots without having to go through my entire active directory tree and link it to each OU containing mixed computers?  
    I hope this makes sense, but I know i can set security groups and then set it for the scope, but if I go that route is there a way to apply it to all Domain Computers, EXCEPT those who are a member of security group "MPS - WSUS Manual" for example?
    Any input here is greatly appreciated
    Thank you

    If all the machines that you want to have the manual option are in a few select OUs then you could apply the auto reboot GPO to the root of the domain, and then link the manual GPO just to those GPOs containing the relevant machines. As explained here
    http://technet.microsoft.com/en-gb/library/cc785665(v=ws.10).aspx a policy applied to an OU overrides a policy applied to the domain as a whole.
    While I'm not sure, from your description I'm guessing that's the case, and they're actually mixed in throughout the domain? In which case, the other option might be to make use of group policies order or precedence. As described here
    http://blogs.msdn.com/b/muaddib/archive/2012/08/22/determine-gpo-precedence-with-gpmc-gpresult.aspx you'll see that the order that the GPOs are listed makes a difference to the order that they are applied, and the last to be applied takes precedence over
    those that come before. Therefore using that, if you applied the reboot policy to everyone, and then applied the manual one with a security filter so it only applied to your "MPS - WSUS Manual" group such that it had a higher precedence, all machines would
    receive the first GPO, but those machines in that group would have that overridden by the second policy.

  • Using SCORE on top of View with UNION

    Hi guys,
    I explain what I'm trying to do quickly:
    2 Tables: table1 and table2 with same structure and both have a multi_column_datastore ctxsys.context.
    1 View: view1
    select * from table1
    union
    select * from table2
    if I run:
    select * from view1 WHERE contains(view1.COLUMN1,'%textext%',1 ) > 0;
    this works fine, I get the correct result.
    If I try to use SCORE function I have an error:
    select * from view1 WHERE contains(view1.COLUMN1,'%textext%',1 ) > 0 ORDER by SCORE(1);
    ORA-29921: Ancillary operator not supported with set view query block
    I understand the problem is in the UNION inside the view,is there any way to make it works keep filtering the VIEW?
    Thanks in advance

    There is no score in the view, so you can't reference the score when querying the view.  In order to put the score in the view, you need a contains clause, which requires a value.  One method of doing this is to use sys_context.  Please see the reproduction of the problem and solution below.
    SCOTT@orcl12c> -- reproduction of problem:
    SCOTT@orcl12c> create table table1
      2    (column1  varchar2(30))
      3  /
    Table created.
    SCOTT@orcl12c> insert into table1 values ('textext')
      2  /
    1 row created.
    SCOTT@orcl12c> create table table2
      2    (column1 varchar2(30))
      3  /
    Table created.
    SCOTT@orcl12c> insert into table2 values ('textext')
      2  /
    1 row created.
    SCOTT@orcl12c> begin
      2    ctx_ddl.create_preference ('test_ds', 'multi_column_datastore');
      3    ctx_ddl.set_attribute ('test_ds', 'columns', 'column1');
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> create index table1_idx on table1 (column1)
      2  indextype is ctxsys.context
      3  parameters ('datastore  test_ds')
      4  /
    Index created.
    SCOTT@orcl12c> create index table2_idx on table2 (column1)
      2  indextype is ctxsys.context
      3  parameters ('datastore  test_ds')
      4  /
    Index created.
    SCOTT@orcl12c> create or replace view view1
      2  as
      3  select * from table1
      4  union
      5  select * from table2
      6  /
    View created.
    SCOTT@orcl12c> select * from view1 where contains (view1.column1, '%textext%', 1) > 0
      2  /
    COLUMN1
    textext
    1 row selected.
    SCOTT@orcl12c> select * from view1 where contains (view1.column1,'%textext%',1 ) > 0 order by score(1)
      2  /
    select * from view1 where contains (view1.column1,'%textext%',1 ) > 0 order by score(1)
    ERROR at line 1:
    ORA-29921: Ancillary operator not supported with set view query block
    SCOTT@orcl12c> -- solution:
    SCOTT@orcl12c> create or replace view view1
      2  as
      3  select score(1) score, table1.* from table1
      4  where  contains (table1.column1, sys_context ('text_query', 'query_value'), 1) > 0
      5  union
      6  select score(1) score, table2.* from table2
      7  where  contains (table2.column1, sys_context ('text_query', 'query_value'), 1) > 0
      8  /
    View created.
    SCOTT@orcl12c> create or replace context text_query using text_proc
      2  /
    Context created.
    SCOTT@orcl12c> create or replace procedure text_proc
      2    (p_val in varchar2)
      3  as
      4  begin
      5    dbms_session.set_context ('text_query', 'query_value', p_val);
      6  end text_proc;
      7  /
    Procedure created.
    SCOTT@orcl12c> exec text_proc ('%textext%')
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> set autotrace on explain
    SCOTT@orcl12c> select * from view1 order  by score
      2  /
         SCORE COLUMN1
             3 textext
    1 row selected.
    Execution Plan
    Plan hash value: 4090246122
    | Id  | Operation                       | Name       | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                |            |     2 |    60 |     8   (0)| 00:00:01 |
    |   1 |  SORT ORDER BY                  |            |     2 |    60 |     8   (0)| 00:00:01 |
    |   2 |   VIEW                          | VIEW1      |     2 |    60 |     8   (0)| 00:00:01 |
    |   3 |    SORT UNIQUE                  |            |     2 |    58 |     8  (50)| 00:00:01 |
    |   4 |     UNION-ALL                   |            |       |       |            |          |
    |   5 |      TABLE ACCESS BY INDEX ROWID| TABLE1     |     1 |    29 |     4   (0)| 00:00:01 |
    |*  6 |       DOMAIN INDEX              | TABLE1_IDX |       |       |     4   (0)| 00:00:01 |
    |   7 |      TABLE ACCESS BY INDEX ROWID| TABLE2     |     1 |    29 |     4   (0)| 00:00:01 |
    |*  8 |       DOMAIN INDEX              | TABLE2_IDX |       |       |     4   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       6 - access("CTXSYS"."CONTAINS"("TABLE1"."COLUMN1",SYS_CONTEXT('text_query','query_v
                  alue'),1)>0)
       8 - access("CTXSYS"."CONTAINS"("TABLE2"."COLUMN1",SYS_CONTEXT('text_query','query_v
                  alue'),1)>0)
    Note
       - dynamic statistics used: dynamic sampling (level=2)
    SCOTT@orcl12c>

  • Creating view with union, what to do if a table is missing?

    Dear All,
    I have three schema in one DB, 11gR1 is the database and Linux is OS.
    Schema1
    Schema2
    Schema3
    Each schema contains almost the same structure, but different data.
    There are few tables that exists in one schema and may not exist in the other one.
    In another schema, i am creating consolidated views using union command.
    select * from schema1.table1
    union
    select * from schema2.table1
    union
    select * from schema2.table1
    If table1 do not exists in schema2, the view gives error.
    Is there any possibility that query somehow check if the table exists then select records otherwise skip? It has to be one query.
    I hope i am able to deliver through words what I mean.
    Your kind help is required on this.
    Regards, Imran

    So basically
    you want to have one view for all the tables with same name in different schemas
    and you don't want to check the existence of tables before creating the view.
    In that case you can create a script to generate the views by selecting from dba_tables like below
    select 'create or replace view v_'||table_name||' as select * from '||owner||'.'||table_name||' union bla bla bla' from dba_tables where table_name='table'
    you will probably end up doing this with a cursor and you need to be carefull about union clauses in case there is no bla bla part
    Coskan Gundogar
    Blog: http://coskan.wordpress.com
    Twitter: http://www.twitter.com/coskan
    Linkedin: http://uk.linkedin.com/in/coskan
    ---------

  • HANA Studio rev.74 - performance in calc view with union of many sources

    Hi,
    Windows 7 32 bit, 4GB system memory, Intel Core Duo 2.26Ghz, HANA studio rev 74.
    Maintaining a graphical calculation view where first node is union of 30 calculation views each with 150 columns.  Maintenance of the view is terribly slow almost to the point of unusable as I add sources to the union, leading to a consideration of remodelling the requirement with a scripted view (or breaking down into smaller sets of graphical calculation views) to work around the sluggish response.
    As well as building the view for development purposes I'm considering longer term maintenance options where I cannot guarantee system specs of the supporting developer.
    Does anyone else have experience of such sluggish Studio performance with a graphical calculation view using many large view sources?
    Is there any theoretical limit to the number of sources in a union?
    Cheers,
    JP.

    Hi Jon-Paul,
    sorry for going off topic, but...
    if there's still an issue with the appliance (on CAL?), doesn't it flow over to the client? i have the client SP80 installed, but until i get the confirmation that the server i'm connecting to is 'production' ready i can't really take the full advantage of the upgraded client as i don't see any significant point of using client 80 with server 74, but it sounds like you would want to make it work, nevertheless.
    to me, yellow is still yellow even though it doesn't really stand for anything.
    good luck and let us know your test results,
    greg

  • Alter express code to include views and unions for top dim items

    If a user selects a dimension item at the top most level, the explain plan shows that it does a full table scan of the fact table instead of using the materialized views. If we add the highlighted information(see below) to the osa generated sql, then the explain plan does what we want it to do.
    Do you know if it is possible to alter the express code to include the views and unions for the dimension items that are at the top most level in the hierarchy? I think that I need to alter how the sq.query.drv program figures out what to include in the sql. But this is beyond my express comfort level.
    The query below is generated by the osa cube and we want to include the highlighted information in the sql that is generated which will force it to use the correct query rewrite and return data in a reasonable time frame.
    Is this possible and has anyone tried this before?
    SELECT 'B4' || lt2.acct_lvl_4_id
    , 'C2' || lt6.cust_grpng_id
    , 'G1000'
    , 'L1000'
    , 'O190012880'
    , 'P1000000000'
    , 'R100001'
    , 'T3' || lt25.mth_id
    , 'E190'
    , SUM (ft34.usd_curr_pl_amt)
    FROM osa_fivcas_mth_ifct_gbl_992 ft34
    , osa_fivcas_acct_992 lt2
    , osa_fivcas_cal_mastr lt25
    , osa_fivcas_cust_898_000 lt6
    -- Extra Tables
    , osa_fivcas_geo_942 lt20
    , osa_fivcas_org_817 lt22
    , osa_fivcas_prod_710 lt23
    WHERE lt2.acct_lvl_9_skid = ft34.acct_lvl_9_skid
    AND lt6.cust_lvl_10_skid = ft34.cust_lvl_10_skid
    AND lt25.mth_skid = ft34.mth_skid
    -- Extra Join Conditions
    AND lt20.geo_lvl_8_skid = ft34.geo_lvl_8_skid
    AND lt22.org_lvl_12_skid = ft34.org_lvl_12_skid
    AND lt23.fpc_skid = ft34.fpc_skid
    AND lt2.acct_lvl_4_id IN ('81013286')
    AND lt6.cust_grpng_id IS NOT NULL
    AND lt25.mth_id IN ('AUG08')
    GROUP BY 'B4' || lt2.acct_lvl_4_id
    , 'C2' || lt6.cust_grpng_id
    , 'G1000'
    , 'L1000'
    , 'O190012880'
    , 'P1000000000'
    , 'R100001'
    , 'T3' || lt25.mth_id
    , 'E190';

    David,
    When u add a field to a header table. U can use the User data source to bind it. Even if u add the DBDatasource the Coulmn needs to be present in the DB at the time of setting the data source to the Field in the UI.
    Actually if u add a header filed to the DB it pops up on the User-Fields Form i guess u can use it as no extra code is needed. To view the UDF form VIEW--User Defined Fields.
    Hope it helps,
    Vasu Natari.

  • Problems in creation of workbook using Change query local view.

    Hi Experts,
    I have created a Multiprovider by using union of two infocubes and created a Query based on Multiprovider.  I want to restrict one infocube in Change Query local view for creating new workbooks.  In Query global view we drag and drop the Infocube under Filters, but in the Query local view Filter panel is in disable mode. (My requirement is to create the workbooks using change query local view only)
    How can I restrict the one Infocube values in the workbooks by using Change query local view? 
    Thanks in advance.
    Venkat.

    Hi Venkat Prasad
    As you told that the query is on multi provider and the view is not allowing to declare/define filter value
    Just drag the infoprovider info object avilable under packet dimension to rows and right click on it restrict by selecting the name of the info provider when u right click it will show you the option of restrict once u click on it,it will takes to u a pop up where you can able to see the name of info providers and you specify according to it and finally in the display of results if you dont want to to display the info provider name then just right click on the 0infoprovider object under rows go to properties then choose hide option under display.
    Hope its clear a little..!
    Thanks
    K M R
    **Assigning points is the only way of saying thanks in SDN***
    >
    venkata prasad wrote:
    > Hi K M R,
    >
    > Thanks for ur quick response.  Most of the Infoobjects are common for both infocubes. I didn't understand this sentense "retrict the value with the infoprovider which values you are trying to view".
    > Please explian elaborately how to restrict the values speicfic to infoprovider under rows.

  • How to find all uses of data source views in an SSIS solution

    I am upgrading Visual Studio from 2008 to 2013 (with SSDT) and SQL Server 2008 R2 to  2012.  I have a solution with over 30 dstx files. Each file has multiple OLE data sources and lookup tasks.  There is inconsistent usage of data source views
    throughout (as compared to SQL queries or table references).  It is my understanding that all data source views need to be removed before upgrading SSIS packages from BIDS to SSDT.  I tried searching the files as XML for the DSVs but it appears the
    GUID reference changes per dstx file.  It seems like I will have to look at each source/lookup. Is there quicker way to search for where they are used? 
    Thanks
    Adding this question here.  Posted question incorrectly in VSO forum.

    All right, yes, they are dropped
    Never upgraded a package that had them.
    What happens if you just upgrade leaving a copy?
    Arthur My Blog
    This ended up being what I did for many of the packages.  Upgrading the packages severed the data source views and left the SQL in the related tasks (e.g. OLE Source task).  Sorry for the delayed mark as answered.

  • Incorrect Results When Using an In-Line View and User Function in 10g

    My developers are complaining of incorrect Select statement results when using an in-line view along with a user defined function. Below is the statement:
    select test_f(wo1)
    from
    (SELECT a.WORK_ORDER_NBR, b.work_order_nbr wo1/*, facility_f(A.FACILITY),
    A.PLANNER, A.WO_STATUS, mil_date(A.WO_STATUS_DATE)*, A.WORK_ORDER_TYPE,
    A.WO_DESCRIPTION
    FROM TIDWOWRK A, TIDWOTSK B
    WHERE B.WORK_ORDER_NBR(+) = A.WORK_ORDER_NBR))
    where wo1 is null;
    Test_f() is a user defined function and the above query returns thousands of rows. It should return 308 rows. It is apparent that the target database is not evaluating the "where wo1 is null;" clause.
    select to_char(wo1)
    from
    (SELECT a.WORK_ORDER_NBR, b.work_order_nbr wo1/*, facility_f(A.FACILITY),
    A.PLANNER, A.WO_STATUS, mil_date(A.WO_STATUS_DATE)*, A.WORK_ORDER_TYPE,
    A.WO_DESCRIPTION
    FROM TIDWOWRK A, TIDWOTSK B
    WHERE B.WORK_ORDER_NBR(+) = A.WORK_ORDER_NBR))
    where wo1 is null;
    In the above query return 308 rows. The user function was replaced by an Oracle function. The Where clause is now evaluated correctly.
    The query is executed from an Oracle 10g R2 database and retrieves data from a 9.2.0.6 database.
    I've seen a little information on Metalink. It appears that there was some trouble in 9i, but were fixed in a 9.2.0.6 patch. I don't see any information about a 10.2.0.2 database.
    Anyone have any experiences or a successful solution. I suspect that I will need to report this to Oracle and wait for a patch.
    Thanks,
    John

    I can only think of two reasons for this behaviour:
    1) You are executing these two queries from two different users and there is some policy on the table.
    2) The function doesn't do an upper, but returns null a lot of times, even when the input is a not null value, like this:
    SQL> create table tidwowrk
      2  as
      3  select 1 id, 'A' work_order_nbr, 'DST' facility from dual union all
      4  select 2, null, 'TRN' from dual union all
      5  select 3, 'C', 'DST' from dual
      6  /
    Tabel is aangemaakt.
    SQL> create table tidwotsk
      2  as
      3  select 'A' work_order_nbr from dual union all
      4  select 'B' from dual
      5  /
    Tabel is aangemaakt.
    SQL> create or replace function test_f (a in varchar2) return varchar2
      2  is
      3  begin
      4    return case a when 'A' then null else a end;
      5  end;
      6  /
    Functie is aangemaakt.
    SQL> select count(*)
      2    from ( SELECT a.WORK_ORDER_NBR
      3                , test_f(b.work_order_nbr) wo1
      4             FROM TIDWOWRK A
      5                , TIDWOTSK B
      6            WHERE B.WORK_ORDER_NBR(+) = A.WORK_ORDER_NBR
      7              and a.facility in ('DST', 'TRN', 'SUB')
      8         )
      9   where wo1 is null
    10  /
                                  COUNT(*)
                                         3
    1 rij is geselecteerd.
    SQL> select count(*)
      2    from ( SELECT a.WORK_ORDER_NBR
      3                , to_char(b.work_order_nbr) wo1
      4             FROM TIDWOWRK A, TIDWOTSK B
      5            WHERE B.WORK_ORDER_NBR(+) = A.WORK_ORDER_NBR
      6              and a.facility in ('DST', 'TRN', 'SUB')
      7         )
      8   where wo1 is null
      9  /
                                  COUNT(*)
                                         2
    1 rij is geselecteerd.Regards,
    Rob.

  • Help with circumvention of ORA-01472: cannot use connect by on view with ..

    Hi,
    Any help resolving the following would be v. helpful.
    The Aim
    Produce a hierarchical report of all users and the privileges they have via the various roles they are granted.
    The SQL
    select lpad(' ', level*2,' ')|| granted_role from (select grantee, granted_role
    from dba_role_privs
    union
    select role, granted_role
    from role_role_privs
    union
    select role, privilege
    from role_sys_privs
    union
    select 'All users', username
    from dba_users)
    start with grantee='All users'
    connect by prior granted_role = grantee;
    The error
    ORA-0147: cannot use connect by on view with DISTINCT, GROUP BY, etc.
    The database
    Oracle 8.1.7.4 (Yes I know ....)
    The Solution
    [Thanks in advance]

    What if you create a table first
    create table role_grants as
        select granted_role, grantee
           from (select grantee, granted_role
                   from dba_role_privs
                 union
                 select role, granted_role
                   from role_role_privs
                 union
                 select role, privilege
                   from role_sys_privs
                 union
                 select 'All users', username
                  from dba_users)
    Then run the hierarchical report
    select lpad(' ', level*2,' ')|| granted_role
       from role_grants
       start with grantee='All users'
       connect by prior granted_role = grantee

  • How do I reference multiple tables in SSAS Data Source View Named Calculation functionality?

    Hi SSASers - 
    On the Data Source View node of SSAS Visual Studio Interface, I want to create a named calculation that references multiple tables. Something like: CASE WHEN tableA.Column1 = 'Y' Then tableB.Column1 ELSE tableB.Column2 End, but the compiler throws an error
    here "Deferred prepare could not be completed". 
    What is the syntax for referencing multiple tables on this node or how else can multiple tables be used to create a calculated value in SSAS? I'm new to SSAS and so far have been building big views and building calculations this way. Another option is the
    Calculation tab off the cube node but this calculation will need to be based off of dimensions AND measures so please provide a syntax example here also. 
    Thanks in advance!
    Carl

    Thanks Jiri! The named query functionality off the Data Source View node is exactly what I was looking for - it's just a view on the SSAS side of things instead of the relational dbase.
    Sorry for the delayed answer verification - got pulled into something else last week. Carl 
    Carl

  • ICal: multiuser option displays in Day view each user in separate column?

    I have been disappointed with the new iCal update. I do not see the option that would keep each calendar user in its own column when multiple calendars are displayed in iCal's Day view.
    In a multiple calendar display view, I would like to see my calendar items in column "A", and my wife's in column "B" side by side, and not intermixed.
    It is not acceptable that her empty slots are filled in with my items by expanding my column width to column "A" and column "B".
    It is not acceptable that if her calendar item starts five minute earlier than mine, then it is displaid in column "A" and my calendar item jumps to column "B".
    Is there a way in iCal to keep separate calendars in their own designated columns when displaid on multi calendar day view?

    I don't think there is another way for that. Did you try the pdf view?
    You can try using LRO's
    Regards
    Celvin

  • How to do Grouping of Workbooks using XSL in Discoverer Viewer?

    Hello Discoverer Experts,
    My question is related to grouping of workbook names using XSL in Discoverer Viewer. This is a sample xml data file which contains 6 workbooks.
    <eul>
         <workbooks>
              <workbook>
                   <wb_name>Purchasing Workbook 1</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>A</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>B</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
              <workbook>
                   <wb_name>Purchasing Workbook 2</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>C</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>D</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
              <workbook>
                   <wb_name>Manufacturing Workbook 1</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>E</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>F</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
              <workbook>
                   <wb_name>Manufacturing Workbook 2</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>G</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>H</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
              <workbook>
                   <wb_name>CEO Workbook 1</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>I</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>J</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
              <workbook>
                   <wb_name>CEO Workbook 2</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>K</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>L</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
         </workbooks>
    </eul>
    The XSL is generating a List of Workbooks in <table> by using <xsl:for-each select="eul/workbooks/workbook">
    <table>
    <tr><td>Purchasing Workbook 1</td></tr>
    <tr><td>Purchasing Workbook 2</td></tr>
    <tr><td>Manufacturing Workbook 1</td></tr>
    <tr><td>Manufacturing Workbook 2</td></tr>
    <tr><td>CEO Workbook 1</td></tr>
    <tr><td>CEO Workbook 2</td></tr>
    </table>
    Now my question is:
    1. The client want to see this report in Groups i.e
    <table>
    <tr><th>Group Name: Purchasing</th></tr>
    <tr><td>Purchasing Workbook 1</td></tr>
    <tr><td>Purchasing Workbook 2</td></tr>
    </table>
    <table>
    <tr><th>Group Name: Manufacturing</th></tr>
    <tr><td>Manufacturing Workbook 1</td></tr>
    <tr><td>Manufacturing Workbook 2</td></tr>
    </table>
    <table>
    <tr><th>Group Name: CEO</th></tr>
    <tr><td>CEO Workbook 1</td></tr>
    <tr><td>CEO Workbook 2</td></tr>
    </table>
    How can I achieve this grouping using XSL ? Has anybody tried customizing the XSL file to achieve grouping of workbooks by name?
    Any help is highly appreciated.
    Thanks in advance.
    Warm Regards,
    Pranav Desai

    Hi Friends..
    This is not the reply.
    I have also some question..
    Some related topic I found on this.
    That's why I am posting the same question here also..
    Dear friends..
    I need help to customize our discoverer viewer.
    We are creating work sheets in arial font size 8.
    But, when it's viewing through discoverer viewer it's coming big size.
    If we saw the source code by right click, it's taking some style sheets where
    the font size is mentioned as 8. not 8px.
    How I can modify the work sheets in viewer.
    Exactly which tag I should modify for this.
    And the other thing is the heading section is coming something as
    jung.
    Like this...
    &nb12.09.52 PM 27-OCT-02; 27-OCT-02 &n12.09.52 PM12.09.52 PM
    From: 01-JAN-2002 To: 30-DEC-2002o Page :1 / 1
    How we will correct this ?
    Please reply me as the earliest.
    With Thanks & Regards,
    Sheeja
    [email protected]

  • Deployment error:Table, view or sequence reference to ABC is not allowed

    Hi all,
    I have created a mapping in OWB where a table ABC gets loaded from its stage table S_ABC. The mapping validates fine, code generation is fine but when I try to deploy the mapping it gives me a deployment error saying PLS:00357 Table, View or sequence reference ABC is not allowed.
    I used the same logic to one of my other mappings and it gets executed without any problem. If you guys could tell me what is going wrong in this mapping, that would be very helpful.
    Thanks.
    Priya

    if you are using a view or sequence in the mapping or referencing any other object then the owb user needs to have grants to access those objects otherwise the deployment will fail. Please check the object grants.

  • PLS-00357: Table,View Or Sequence reference 'A' not allowed in this context

    Hello
    I am accepting input values from users through java web page. To accept the values I am using the following code:
    import java.sql.*;
    import javax.sql.DataSource;
    import javax.naming.*;
    public class spsrch
         public void spsrch()
         public String espsrch(String p, String d, String a)
              String s1= "";
              String strColor="#C0C0C0";
              try
                   InitialContext ctx = new InitialContext();
                   DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/Oracle9i");
                   Connection Con = ds.getConnection();
                   Statement stmt = Con.createStatement();
                   CallableStatement proc1stmt1=Con.prepareCall ("{call Allsch("+p+","+d+")}");
    //               ResultSet rs = proc1stmt1.execute();
                   proc1stmt1.executeUpdate();
                   Con.close();
              catch(Exception e)
                   System.out.println("Flag Raised"+e);
              return s1;
    I am calling the procedure 'Allsch' to apply some logic before inserting data into a SQL table.
    The 'Allsch' procedure is :
    create or replace procedure tmpsch(pno varchar2,pdes varchar2) as
    mpartnum varchar2(30);
    mpn varchar2(30);
    mdes varchar2(150);
    cursor c1 is select partnum,description,aircraft_type from master_catalog where description like ltrim(rtrim(mdes))||'%' AND partnum like mpn||'%';
    cursor c2 is select partnum from ipc_master where partnum=mpartnum;
    cursor c3 is select partnum from fedlog_data where partnum=mpartnum;
    cursor c4 is select partnum from superparts where partnum=mpartnum;
    cursor c5 is select part_no from supplier_catalog where part_no=mpartnum;
    mpno1 varchar2(30);
    mpno2 varchar2(30);
    mpno3 varchar2(30);
    mpno4 varchar2(30);
    mpno5 varchar2(30);
    mdescription varchar2(150);
    maircraft_type varchar2(15);
    mstat varchar2(1);
    mstat1 varchar2(30);
    mstat2 varchar2(30);
    mstat3 varchar2(30);
    mstat4 varchar2(30);
    begin
    mstat:='N';
    mpn:=pno;
    mdes:=pdes;
    for i in c1 loop
    mstat:='N';
    mstat1:='N';
    mstat2:='N';
    mstat3:='N';
    mstat4:='N';
    mpno1:=i.partnum;
    mpartnum:=i.partnum;
    mdescription:=i.description;
    maircraft_type:=i.aircraft_type;
    for j in c2 loop
    mpno2:=j.partnum;
    end loop;
    for k in c3 loop
    mpno3:=k.partnum;
    end loop;
    for l in c4 loop
    mpno4:=l.partnum;
    end loop;
    for m in c5 loop
    mpno5:=m.part_no;
    end loop;
    if mpno2=mpartnum then
    mstat1:=mpno2;
    end if;
    if mpno3=mpartnum then
    mstat2:=mpno3;
    end if;
    if mpno4=mpartnum then
    mstat3:=mpno4;
    end if;
    if mpno5=mpartnum then
    mstat4:=mpno5;
    end if;
    if mpno1=mpartnum then
    mstat:='Y';
    insert into tmpcat values(mpno1,mdescription,maircraft_type,mstat1,mstat2,mstat3,mstat4);
    end if;
    end loop;
    end;
    Java program compiling time, it not showing any error. But after executing, it is not inserting any data into 'tmpcat' table and throwing the following error :
    Flag Raisedjava.sql.SQLException: ORA-06550: line 1, column 14:
    PLS-00357: Table,View Or Sequence reference 'A' not allowed in this context
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    [07/22/03 11:47:38][executor-0][W]: Handling error; throwable is "null", status
    code is "404" and message is "Not Found: /User/Ecatalog/Validations.js".
    [07/22/03 11:47:38][executor-0][W]: Handling error; throwable is "null", status
    code is "404" and message is "Not Found: /User/Ecatalog/Validations.js".
    Any one please help me to solve the issue.
    With thanks
    Pramod kumar.
    My Email-id is : [email protected]

    What are p and d in
    "{call Allsch("+p+","+d+")}"
    Something tells me you might need some quotes in this statement since they are varchar2. Maybe
    "{call Allsch('"+p+"','"+d+"')}"
    If this doesn't work try to cut off parts of the procedure until it works.
    Mike

Maybe you are looking for

  • What's New in Captivate 3?

    Hi folks, Has anybody seen a new feature list for Captivate 3? I checked Adobe's product page for Captivate. I saw a link there for Features but I saw no list of new features. I also searched this forum but my search terms (new, different, features)

  • Communication IDOC?

    Hi While using the transaction BD10 to send materials I am getting an message "0 Communication IDOCs created" and "1 master IDOC created". I have also maintained the Distribution Modal view in the transaction BD64 . I couldnt understand why Communica

  • Suitcase Fusion 3 for fonts slowing down Illustrator?

    I'm working on a PC in windows 7 and using CS5. I have Extensis Suitcase Fusion 3 for font management but someone told me that this may be why my Illustrator in particular is so slow. I frequently have to sit and wait for it to catch up to me while t

  • Can't Stop Clicking and Dragging

    My trackpad on my MBP will not stop clicking and dragging, even when I'm not clicking. Whenever I move, it thinks I'm clicking and dragging.

  • Create work order using BAPI_ALM_ORDER_MAINTAIN

    Does anybody know how to use BAPI_ALM_ORDER_MAINTAIN to create a maintenance order?  I did a where used and it isn't used by SAP.  The documentation makes it look like I can use it for create but I am not sure how to do that. Regards, Davis