Getting difference from values of two different SQL Statements

Hello,
I have two SQL Queries like the following:
1. Statement:
SELECT name, SUM(a1), SUM(b1),SUM(c1),SUM(d1)
FROM table 1, table 2
WHERE ...
GROUP BY name
2. Statement:
SELECT name, SUM(a2), SUM(b2),SUM(c2),SUM(d2)
FROM table 3, table 4
WHERE ...
GROUP BY name
I need now a combination of these SQL Statements in one Statement where the result should be the following records
name, a1-a2 as a, b1-b2 as b, c1-c2 as c, d1-d2 as d
Name is a VARCHAR and in both queries the values of the field name are the same
all other fields are integer.
I hope someone can help me.
Regards

You can use this
with t1 as (
          SELECT name, SUM(a1) as a1, SUM(b1) as b1,SUM(c1) as c1,SUM(d1) as d1
          FROM table 1, table 2
          WHERE ...
          GROUP BY name
     ), t2 as (
          SELECT name, SUM(a2) as a2, SUM(b2) as b2,SUM(c2) as c2,SUM(d2) as d2
          FROM table 3, table 4
          WHERE ...
          GROUP BY name     
     ), tt as (
          select name
          from t1
          union
          select name
          from t2
select *
from tt
     natural left outer join t1
     natural left outer join t2
where a1 <> a2
     or b1 <> b2
     or c1 <> c2
     or d1 <> d2Bye Alessandro

Similar Messages

  • Getting attributes from session between two different applications

    I'm developing with JDK 1.3 and deploying my webapp at ORACLE 9iAS.
    I would like to jump between JSPs deployed at differents OC4J instances and
    keep session object. I've seen I can get sessionID and it's the same but the attributes have disapeared.
    I jump using JavaScript code (document.location.href).
    Should I use a <form> ?
    Should I use getServletContext() method ?
    I dont know even if it's possible and I don't want to loose my time looking for a solution that doesn't exist.
    NEED HELP, AN EXAMPLE OR WHATEVER USEFUL.
    ... THE SOON AS POSSIBLE
    THANX in advance
    PS..- I have already look for in this forum but I didn't get any info to solve my doubts. If I mistaken please let me know

    Ok.
    getServletContext().getContext() may return null in 'security conscious' servers. Apparently this is your case, therefore you wouldn't be able to use it to store global data...
    As for sharing sessions directly between different web apps, the servlet spec (since 2.2 at least) explicitely prohibits it.
    The link provided by tolmank about pseudo-sessions should address your issue, since it will allow you to distribute your session data on your different webapps.
    Some other alternatives would be :
    -store the session data in the DB (slow)
    -use java serialization
    -use RMI
    -use JNDI
    -if you're using Tomcat, you can implement single-signon accross multiple apps using cookies :
    http://www.ingrid.org/jajakarta/tomcat/tomcat-4.0b5/src/catalina/docs/singlesignon.html

  • Getting the output of two different sqls in analysis

    Hi,
    Please consider the scenario:
    I have to get the division value of two diffrent sqls in my analysis. The sqls will look like:
    1st SQL: SELECT DISTINCT <alias name1>.<col1>
    ,<alias name1>.<col2>,<alias name1>.<col3>,<alias name1>.<col4>
    FROM Table1 <alias name1>, Table2 <alias name2>, Table 3<alias name3>
    WHERE
    <alias name3>.<col2>= <alias name2>.<col2>    // joining condition
    AND <alias name3>.<col3>= <alias name1>.<col1>    // joining condition
    AND <alias name2>.<col1>= 'value1'
    AND <alias name2>.<col4>= 'value2'
    2nd sql: SELECT DISTINCT <alias name1>.<col1> FROM Table1 <alias name1>
    WHERE <alias name1>.<col4>= 'value2'
    The 1st sql has joining between 3 tables. and the 2nd SQL has no joining. whenever I drag and drop the columns with respect to the two sqls separately. it gives correct output. But it does not give me correct output when i try to do it together as all the tables are joined.
    The sql which works as 2nd sql is:
    SELECT DISTINCT <alias name1>.<col1>
    FROM Table1 <alias name1>, Table2 <alias name2>, Table 3<alias name3>
    WHERE
    <alias name3>.<col2>= <alias name2>.<col2>    // joining condition
    AND <alias name3>.<col3>= <alias name1>.<col1>    // joining condition
    AND <alias name2>.<col4>= 'value2'
    I need my 2nd sql to give me output without the join conditions of 1st sqls. how can I achieve this?
    Please help. I need it urgently.
    Thanks in advance..

    hi,
    I have tried by creating a separate alias for table1. But that is not working. alias is giving me joined output..
    Can you suggest me any other way to do it?
    Thanks

  • Is it possible to show data from two different sql tables?

    Is it possible to show data from two different sql tables? Either to show combined data by using a join on a foreign key or showing a typical master detail view?
    I have one table With data about a house, and another table With URL's to images in the blob. Could these two be combined in the same Gallery?
    Best regards Terje F - Norway

    Hi Terje,
    If you have a unique key, you could use one of the following functions for your scenarios:
    If you only have one image per house, you can use LookUp:
    http://siena.blob.core.windows.net/beta/ProjectSienaBetaFunctionReference.html#_Toc373745501
    If you have multiple images per house, you can use Filter:
    http://siena.blob.core.windows.net/beta/ProjectSienaBetaFunctionReference.html#_Toc373745487
    Thanks
    Robin

  • Will a sequence return same value for two different sessions?

    Is there a possibility that a sequence will return same value to two different sessions when it is referred exactly at the same instance of time?

    @Justin... Thanks for your insight; indeed, we too feel this shouldn't ever happen and never heard of it either, but there it is. (No, we haven't logged a TAR yet -- whatever that is -- partly because it didn't occur to us and partly because we only recently came across the issue and sensibly want to do some testing before we cry foul.)
    However, the code is pretty straight-forward, much like this (inside a FOR EACH ROW trigger body):
    SELECT <seqname>.NEXTVAL INTO <keyvar> FROM DUAL;
    INSERT INTO <tblname> (<keyfield>, <... some other fields>)
    VALUES(<keyvar>, <... some other values> );
    (where <tblname> is NOT the table on which the trigger is fired). This is the only place where the sequence is ever accessed. The sequence state is way below its limits (either MAXVALUE or <keyfield>/<keyvar> datatype size).
    In this setup, end users sometimes got an out-of-the-blue SQL error to the effect that uniqueness constraint has been violated -- as I said, we used to have a unique index on <keyfield> -- which leads us to assume that the sequence generated a duplicate key (only way for the constraint to be violated, AFAIK). We released the constraint and indeed, using a simple SELECT <keyfield>, COUNT(*) FROM <tblname> GROUP BY <keyfield> HAVING COUNT(*)>1 got us some results.
    Unfortunately, the <tblname> table gets regularly purged by a consumer process so it's hard to trace; now we created a logger trigger, on <tblname> this time, which tracks cases of duplicate <keyfield> inserts... We'll see how it goes.
    @Laurent... winks at the CYCLE thing Our sequence is (needless to say) declared as NOCYCLE and the datatype is large enough to hold MAXVALUE.

  • Better approach for checking column values between two different rows

    My requirement is to find best Approach to find difference between column values of two different rows.Below I've mentioned two different
    approaches I'm thinking of,but I'd like to know is there any other better approach.
    version details
    SQL> SELECT *
      2  FROM V$VERSION;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE    11.1.0.7.0      Production
    TNS for Solaris: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - ProductionTable creation script
    CREATE TABLE R_DUMMY
       (CA_ID VARCHAR2(16) NOT NULL ENABLE,
         CA_VER_NUM NUMBER(4,2) NOT NULL ENABLE,
         BRWR_SHORT_NAME VARCHAR2(25 CHAR),
         sic_code     number,
         FAC_ID VARCHAR2(10) NOT NULL ENABLE
    / insert script
    insert into r_dummy (CA_ID, CA_VER_NUM, BRWR_SHORT_NAME, sic_code, FAC_ID)
    values ('CA2001/11/0002', 2.00, 'Nandu',1234, 'FA000008');
    insert into r_dummy (CA_ID, CA_VER_NUM, BRWR_SHORT_NAME, sic_code, FAC_ID)
    values ('CA2001/11/0002', 3.00, 'SHIJU',456, 'FA000008');Desired O/P :
    ca_id               fac_id          column_name          previous name          after_modification
    CA2001/11/0002          FA000008     BRWR_SHORT_NAME          Nandu               SHIJU
    CA2001/11/0002          FA000008     sic_code          1234               456My approach
    select      ca_id,fac_id,column_name,
         decode(column_name,'BRWR_SHORT_NAME',lg_brwr,lg_sic) previous_name ,
         decode(column_name,'BRWR_SHORT_NAME',ld_brwr,ld_sic) after_modification
    from
         select
                   case
                        when ld_brwr != lg_brwr then
                        'BRWR_SHORT_NAME'
                        when ld_brwr != lg_brwr then
                        'sic_code'
                   end
              ) column_name,ca_id,fac_id,lg_brwr,ld_brwr,ld_sic,lg_sic
         from     (
              select ca_id,fac_id,lag_brwr,ld_brwr,ld_sic,lag_sic
              from
                        Select      lead(brwr_short_name,1) over(partition by ca_id,fac_id) ld_brwr,
                             lag(brwr_short_name,1) over(partition by ca_id,fac_id) lg_brwr,
                             lead(sic_code,1) over(partition by ca_id,fac_id) ld_sic,
                             lag(sic_code,1) over(partition by ca_id,fac_id) lg_sic,
                             ca_id,fac_id
                        from r_dummy
              where (ld_brwr != lg_brwr or ld_sic != lg_sic)
    )2nd Approach :
    =============
    select      ca_id,fac_id,column_name,
         decode(column_name,'BRWR_SHORT_NAME',lg_brwr,lg_sic) previous_name ,
         decode(column_name,'BRWR_SHORT_NAME',ld_brwr,ld_sic) after_modification
    from
         select
                   case
                        when ld_brwr != lg_brwr then
                        'BRWR_SHORT_NAME'
                        when ld_brwr != lg_brwr then
                        'sic_code'
                   end
              ) column_name,ca_id,fac_id,lg_brwr,ld_brwr,ld_sic,lg_sic
         from     (
              select ca_id,fac_id,brwr_short_name,sic_code
              from
                        Select      ca_id,fac_id,brwr_short_name lg_brwr,sic_code lg_sic
                        from     r_dummy
                        where     ca_ver_num = '2.00'
                   )o,(
                        Select      ca_id,fac_id,brwr_short_name ld_brwr,sic_code ld_sic
                        from     r_dummy
                        where     ca_ver_num = '3.00'
                              )n
              where      0.ca_id = n.ca_id
                   and 0.fac_id = n.fac_id
                   and (ld_brwr != lg_brwr or ld_sic != lg_sic)
    )Hi Experts,
         I've provided sample data where I'm checking for just two columns viz brwr_short_name ,sic_code,but in real time
    I've to check for 8 more columns so please suggest me with a better approach.
    I appreciate your precious suggestions.

    Hi,
    Thanks for posting the CREATE TABLE and INSERT statements; that really helps!
    Here's one wa. Like your 2nd approach, this uses a self-join:
    WITH     got_r_num     AS
         SELECT  ca_id
         ,     ROW_NUMBER () OVER ( PARTITION BY  ca_id
                                   ,                    fac_id
                             ORDER BY        ca_ver_num
                                 )    AS r_num
         ,     brwr_short_name
         ,     TO_CHAR (sic_code)     AS sic_code
         ,     fac_id
    --     ,     ...     -- Other columns (using TO_CHAR if needed)
         FROM     r_dummy
    ,     unpivoted_data     AS
         SELECT     *
         FROM     got_r_num
         UNPIVOT     INCLUDE NULLS
              (    txt
              FOR  column_name IN ( brwr_short_name          AS 'BRWR_SHORT_NAME'
                            , sic_code               AS 'SIC_CODE'
    --                        , ...     -- Other columns
    SELECT       p.ca_id
    ,       p.fac_id
    ,       p.column_name
    ,       p.txt          AS previous_name
    ,       a.txt          AS after_modification
    FROM       unpivoted_data   p
    JOIN       unpivoted_data   a  ON  p.ca_id     = a.ca_id
                           AND p.fac_id     = a.fac_id
                         AND p.column_name     = a.column_name
                         AND p.r_num      = a.r_num - 1
                         AND p.txt || 'X' != a.txt || 'X'
    ORDER BY  a.r_num
    ;To include other columns, add them in the 2 places where I put the comment "Other columns".
    Ca_ver_num can have any values, not just 2.00 and 3.00.
    This will show cases where a value in one of the columns changed to NULL, or where NULL changed to a value.
    There ought to be a way to do this without a separate sub-query like got_r_num. According to the SQL Language manual, you can put expressions in the UPIVOT ... IN list, but when I tried
    ...     UNPIVOT     INCLUDE NULLS
              (    txt
              FOR  column_name IN ( brwr_short_name          AS 'BRWR_SHORT_NAME'
                                 , TO_CHAR (sic_code)     AS 'SIC_CODE'
              )I got the error "ORA_00917: missing comma" right after TO_CHAR. Perhaps someone else can show how to eliminate one of the sub-queries.

  • Comparing row values in two different tables

    Hello,
    Does anyone know if it is possible to compare (and possibly highlight - which I know can be done) row values in two different tables?
    I have a ZIP Code column in table A that I want to compare to a ZIP Code column in table B and highlight those ZIP Codes that are present in table B but not in table A etc. Is this possible?
    Thanks,
    Kenneth

    To be able to apply conditional formatting, I must edit the formulas this way.
    =IF(ISBLANK(B)," ",IF(ISERROR(VLOOKUP(B,Tableau 2 :: B,1,0))," ",VLOOKUP(B,Tableau 2 :: B,1,0)))
    =IF(ISBLANK(B)," ",IF(ISERROR(VLOOKUP(B,Tableau 1 :: B,1,0))," ",VLOOKUP(B,Tableau 1 :: B,1,0)))
    I replaces the four empty strings by strings containing one space character.
    In the field supposed to contain the text which is not contained I just entered a single space character.
    Yvan KOENIG (from FRANCE vendredi 12 septembre 2008 20:52:11)

  • Using Get Data From Aggregation event class in SQL Profiler - SSAS 2012

    Hi,
    I'd like to understand better the use of the Get data from aggregation event class in SQL Profiler to monitor a MDX query and which info provide. Fe, does it return the MDX query? Is it possible to use this event class in order to monitor MDX query vs a
    Tabular model?
    In the TechNet documentation, this event class is handled briefly.
    Thanks

    Hi pscorca,
    This event is raised when the storage engine reads data from an aggregation, it may have a negative impact on performance when turned on. If you need to monitor SSAS instance status, we can also use dynamic management view:
    Use Dynamic Management Views (DMVs) to Monitor Analysis Services:
    http://msdn.microsoft.com/en-us/library/hh230820.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • Create bid invit. from template in two different ways has different consequ

    Hi everybody
    "Create bid invit. from template in two different ways has different consequuences"
    When I create a bid invitation from a previous template, from the template search results (Icon_create SAPLBBP_BID_INV 1010) my bid is published but then stay in the model search and the status is wating for approval. But no workflow started in BBP_PD.
    If I use the same template for creating a new bid from the detail using the create bid invitation button, the bid invitation is created correctly.
    I have configured the two events for the BUS2200 object and both of them have an initial condition.
    It seems that the two actions trigger different events or something like that
    Does anybody why it is occurring this and how I could link the workflow without approval for this case.
    Thanks

    Hi
    What SRM version are you using ?
    <b>Please see these SAP OSS notes / links, which might help -></b>
    <u>Note 976752 - Bidding Worklfows are not triggered correctly
    Note 941417 - Creating a bid invitation from template in the background
    Note 971752 - Incorrect approval preview in bid approval
    Note 741372 - Separating template search from bid invitation search
    Note 764028 - New bid invitation items not visible in bid
    Note 996907 No approval preview for bid after note 976752
    Note 765771 Workflow error when creating a purchase order from bid
    Note 790930 No warning message in case of jump from bid</u>
    Regards
    - Atul

  • Execute Different SQL Statements Based On Day of Week

    I need to execute different sql statements based on the day of the week in Oracle 8i. In SQL Server, it's pretty simple. SELECT
    CASE DATEPART(dw,GETDATE())
    WHEN 4 THEN (SELECT COUNT(*) FROM ADR_VLDN )
    END
    In Oracle it should be something like this
    IF to_char(SYSDATE, 'D') = 2 THEN
    SELECT * FROM RSVP_FILE_PRCS WHERE ROWNUM = 1;
    ELSEIF to_char(SYSDATE, 'D') = 3 THEN
    SELECT * FROM RSVP_FILE_PRCS WHERE ROWNUM = 2;
    END IF;
    But this doesn't work. Does anyone have any ideas about how to do this in Oracle?

    805771 wrote:
    Yes, but I don't want to create 7 different jobs, one for each day of the week. Isn't there a way to do this in PL/SQL? It took me 10 seconds in SQL Server's TSQL.Yes you keep showing some TSQL syntax that obviously does not do what you are asking for.
    >
    SELECT
    CASE DATEPART(dw,GETDATE())
    WHEN 4 THEN (SELECT COUNT(*) FROM ADR_VLDN )
    ENDSo the equivalent in Oracle would be
    SQL> var n number
    SQL> begin
      2    if to_char(sysdate,'D') = '4' then
      3      select count(*) into :n from dual;
      4    end if;
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    SQL> print n
             N
             1Also takes 10 seconds.

  • How can I get the program to recognize two different types of thermocouples?

    I am using a PCI-4351 card with a TBX-68T terminal block. I was having trouble writing and finding a program that would give me more than one reading/sec. I found a program on the NI website called "435x_logger_triggering", and so far it is the only program that I have found that will actually collect data at 60 Hz. Unfortunately, this program only lets you specify one mode for your thermocouples. This is a problem because we are using two thermocouples, one is type K and the other is a type R, so we get bad readings from one of the thermocouples depending on which mode it is set on. I would like to know how I can program in a seperate mode for each channel in this program. Un
    fortunately, some of the sub VI's in this program are password protected, so I don't know if this is possible. Everything is entered correctly in the Measurement and Automation explorer, so that isn't the problem. I will attach a copy of the program that I am using. I have modified it slightly from the one I got off the NI website, so that the thermocouple readings have a time stamp and are saved to disk. Any assistance you could give me would be greatly appreciated.
    Thanks,
    Jordan
    Attachments:
    Forest_Fire_Thermocouple.vi ‏140 KB
    435xlogger_triggering.vi ‏110 KB

    Jordan,
    You should be able to sample two different thermocouples in the example that ships with the 435x driver called "Getting Started with multiple tranducers Continous". Simply put each type of thermocouple in a different index . Each index of the Transducer Group Array can have a different type and specify the channels that correspond to that type.
    One way that you can speed this VI up is to place a wait inside of the while loop. This will reduce the number of times the software polls the card if it has available data(increasing the overhead). I would suggest about 500 ms. The data that you receive will all have the same delta t because the sampling clock is hardware driven not software, so it does matter when the data is polled.
    You will not be
    able to get 60 samples per second when you are measuring multiple channels anyway. The sample rate for multiple channels is about 9/(# channels). This is explained in the 435x Users Manual.
    I looked at your code and noticed that you tried to change some of the enumeration controls. Unfortunately you will not be able to change these because they are password protected on the low level subVIs, which is where they are defined.
    The way you select if you want the notch filter is in the 435x Config you specify fast or slow. If it is slow then it will select 10Hz as the nitch filter. If you select fast the it will select either 50 or 60Hz You would then use the function "435x Set power line frequency"
    Good luck,
    Mike

  • How to publish from iWeb to two different .mac accounts

    my household has two separate .macs account and we want to publish from iWeb to the two different accounts which I cannot figure out. thanks

    I discovered I could duplicate Domain.sites2 (~/Library/Application Support/iWeb/Domain.sites2). I named one "Domain de.sites2", and the other "Domain daru.sites2". Then I opened daru's site and deleted de's, then I opened de's and deleted daru's, and I have two separate sites (with aliases in the dock) that I presume I'll be able to upload separately. Once I get .Mac sub groups created...
    If it works, it saves the hassle of creating other user accounts, since only my wife and I use the computer. Right now, .Mac is telling me I can't create a sub account in my wife's name because she already has a .Mac ID (and a two month free trial account she had to agree to, to join the group) for a group site I manage. I don't think she ought to be required to have a separate identity every time she logs into .Mac.
    Daru

  • Get data from Sharepoint site in different farm using webservice, and current site using claims mode authentication.

    Hi , 
    I have a site that runs on   Claims Mode (  NTLM) . That site has a web part that needs to show the data from any  sharepoint farm, SharePoitn  2010 , or 2007 or 2003.
    I am getting 401 unauthorized when I   try to get data from webservice running in sharePoint context.
    But when I run the same code in  Windows Console application  then it is giving no error.
    What I doubt is that this issue is due to the reason that I have  set
    claims mode authentication.
    Because same code is running  in different farm in a site that is configured  using windows authentication.

    So generally speaking, you're talking about a VERY long running topic of authentication methods... and generally speaking, in the world of Windows, the only long running authentication options have been:
    - NTLM (limited to one hop)
    - Kerberos (unlimited hops)
    - Application level authentication (ex: SQL auth, also, no hops)
    Recently, Microsoft has been investing in Claims Based Auth... and I fully expect claims to start working their way into other systems (previously starting to work into Windows via the CardSpace technology, but also in other ways such as Win8's ability to
    log in with a LiveID)... but building a new authentication method into ALL applications is a VERY long process, and the complexity of claims adds a LOT of consideration (claims from the same AD can look VERY different depending on the STS, so lots of questions
    around things like bridging claims).
    So as far your SP auth needs...
    IF both applications are CLAIMS AWARE, then you MAY be able to use claims (which support unlimited hops)... but that's just not very likely yet (and will probably take another 5-10 years to be available across the entire enterprise)... otherwise, KERBEROS
    Outside of the Microsoft world... KERBEROS is open spec, so is supported by other systems (such as authenticating to linux)... claims based auth is also open spec, but again, still new... there are a few other options (LDAP, etc), but none that are native
    to Windows (so you rely on things like third party auth modules for Windows, which Novell has done for DECADES with NDS and eDir)
    And again, SharePoint can convert claims to Kerberos using the C2WTS... which MS uses internally for things Excel Services connecting to a backend SQL server... but it DOES require the Kerb and C2WTS configuration.
    if you're having issues using Kerb auth... then it sounds like Kerb isn't configured correctly... and Kerb is a PAIN to configure (whitepaper for SP Kerb is ~100 pages long)... IIS (and SharePoint) also has the added benefit of failing over to NTLM if Kerb
    fails (and you shouldn't disable this behavior, since it'll break other settings elsewhere)
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Can a single LOV return values to two different fields?

    Hi,
    I have a scenario where I already have a LOV in the form which is assigned to a Field A. This LOV returns the value to field A. I have another field B which needs the same list of values. I can assign the same LOV to the field B as well, but can the value selected be returned to B?
    I can create another LOV with the same record group, but just wanted to know if its possible to use the same LOV again.
    Thanks

    Hi Karuna,
    You can achieve this by providing a third column in LOV (whose column width can be set to 0 to prevent it from being visible in lov) which can be comma-separated of two fields. This third field can then be assigned to the form field. And a substr() function call can get you both values.
    Hope this helps,
    Anantha
    [http://askanantha.blogspot.com]

  • DBcheck get failed from db13 with error BR0301E SQL error -1031

    Hi,
    I am executing DBcheck from db13 but it gets failed with error "BR0301E SQL error -1031 at location BrDbdiffRead-1, SQL statement".
    Here is the job logs:
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000424, user ID SVKM_BASIS2)
    Execute logical command BRCONNECT On host svkmeccdbci
    Parameters: -u / -jid CHECK20110930103211 -c -f check
    BR0801I BRCONNECT 7.00 (40)
    BR0477I Oracle pfile /oracle/SEP/102_64/dbs/initSEP.ora created from spfile /oracle/SEP/102_64/dbs/spfileSEP.ora
    BR0805I Start of BRCONNECT processing: cegwudvg.chk 2011-09-30 10.32.12
    BR0484I BRCONNECT log file: /oracle/SEP/sapcheck/cegwudvg.chk
    BR0280I BRCONNECT time stamp: 2011-09-30 10.32.12
    BR0813I Schema owners found in database SEP:
    DBSNMP, DIP, OPS$ORASEP, OPS$SAPSERVICESEP, OPS$SEPADM, ORACLE_OCM, OUTLN, SAPSR3*, SYS, SYSTEM,
    TSMSYS
    BR0280I BRCONNECT time stamp: 2011-09-30 10.32.20
    BR0814I Number of tables in schema of owner SAPSR3: 77207
    BR0836I Number of info cube tables found for owner SAPSR3: 49
    BR0814I Number of tables/partitions in schema of owner SYS: 625/189
    BR0814I Number of tables/partitions in schema of owner SYSTEM: 134/27
    BR0280I BRCONNECT time stamp: 2011-09-30 10.32.29
    BR0815I Number of indexes in schema of owner SAPSR3: 92099
    BR0815I Number of indexes/partitions in schema ofowner SYS: 678/199
    BR0815I Number of indexes/partitions in schema ofowner SYSTEM: 175/32
    BR0280I BRCONNECT time stamp: 2011-09-30 10.32.52
    BR0816I Number of segments in schema of owner DBSNMP: 25
    BR0816I Number of segments in schema of owner OPS$SEPADM: 1
    BR0816I Number of segments in schema of owner OUTLN: 9
    BR0816I Number of segments/LOBs in schema of owner SAPSR3: 174072/2383
    BR0816I Number of segments/LOBs in schema of owner SYS: 1838/87
    BR0816I Number of segments/LOBs in schema of owner SYSTEM: 353/22
    BR0816I Number of segments in schema of owner TSMSYS: 4
    BR0280I BRCONNECT time stamp: 2011-09-30 10.32.52
    BR0961I Number of conditions found in DBCHECKORA:118
    BR0280I BRCONNECT time stamp: 2011-09-30 10.32.52
    BR0301E SQL error -1031 at location BrDbdiffRead-1, SQL statement:
    'PREPARE stmt_5 STATEMENT FROM'
    'SELECT OBJNAME FROM "SAPSR3".DBDIFF WHERE DBSYS IN ('ORACLE', ' ') AND OBJTYPE = 'TABL' AND DIFFKIND IN ('02', '61', '99') ORDE
    ORA-01031: insufficient privileges
    BR0806I End of BRCONNECT processing: cegwudvg.chk2011-09-30 10.32.52
    BR0280I BRCONNECT time stamp: 2011-09-30 10.32.52
    BR0804I BRCONNECT terminated with errors
    External program terminated with exit code 3
    BRCONNECT returned error status E
    Job finished
    Please help.
    Thanks in advanced.
    Ocean

    Dear,
    Thanks for the reply.
    I have checked the note you have mention, but it show it is for SAP Release 6.20 or lower.
    we have ECC6 EHP4 release 700.
    So, please advise, should i go for that note and perform the required action ?
    Thanks.

Maybe you are looking for

  • How can I use an external mic to record meeting audio with quicktime player

    I'm trying to use a SoundTech CM-1000 conference mic to record meetings at a conference I am running.  I'm using Quicktime for the recordings. The SoundTech CM-1000 conference mic does not transmit any sound when connected to the Audio-in plug on my

  • BOM data analysis

    Hi all, I want to do a BOM data analysis. There is a two BOMs in R/3, One for engineering design, the other for production. I want to extract  the BOM data ( including BOM's item ) to BW and compare them. Can I extract the data by BW business content

  • Opening or viewing Keynote file on a PC

    I do not own a mac, and I have been given (via email) a keynote file for a presentation I have to give tomorrow.  (Of course, I never checked to see if I could open the file, so now I'm kicking myself that instead of practicing the presentation, I'm

  • Sometime DBACOCKPIT is lockd

    Hi, sometime... I find my dbacockpit locked: not all functions are available, as example the scheduling of backup: transaction log backup and database backup from job history are red but without an error message. If I try to schedule a backup immedia

  • Regarding Load Failure

    Hi, Currently I am using BW3.5. I tried to load the data from R/3 to BI system. My load has been failed due to some errors. It is showing error messages like - Error 18 in the update. Can any one explain me what is the solution for this? Thanks & Reg