...Problem of taking backups.. Need your kind Suggestions....

HI..
well i have a strange requirement and thus i want that you people, specially gurus kindly suggest an optimum solution. i will be thankful...
I have a Form which gives the summary of the current record state of the Database
For. e.g i have display items. that shows count of ..
Total number of teachers in shool, total male , total female,
teacher resigns, teachers hired, teachers on holiday etc..
The Form serves as a Summary Sheet for the higher management.
Now the thing is that higher management wants me to take the backup of this report.
so that if they want they can compare it . with the yesterday or with any date , the status ... summar.
i am taking logs for each table, but they dont want that it is better if we can take logs of the summary report..
I think we cannot user oracle workhistory for this purpose.. because then i would be needing to store the report in a table.. wastage n burden on database.. isnt it ..
IS it possible that i can take that report summary as export in excel file or any other file... through forms.. l, so that they can or i can store the daily stats..
which can be shown on request..
what to do i do not understand.. probably..
i mean obviously if i were to take backup of each and every thing .. it required huge burden and space..
obviously i cannot take export of DB as logical backup and import because then the current state of DB would be effected..
what to do kindly suggest some good solution , with the help of ur experience..

Hi,
You can use OLE for storing the records in excel file. Searching this forum on OLE will give you more details on how to achieve this and may be some samples too.
HTH.
Regards,
Arun

Similar Messages

  • Nokia 5800xm - Problem while taking backup on PC ...

    While taking backup of my Nokia 5800xm on PC at the end it displays :The backup was finished but errors occured when backing up the phone contents. For more information see the backup report. The report suggested to try again after restarting the phone but no difference.. At the end it says Contacts, Calender and Messages can not be backed up as not enough memory...
    Pl. help

    Tried the backup thru' OVI Suit there is no such error message. Then again with Nokia Suit it shows error. Now this is confusing. I am having doubt whether it will be OK if I need a restore from the one thru' OVI Suit and all my data including Contacts, Calender entries, Messages will be restored totally..

  • Needs Your Valuable Suggestion

    Hi All,
    I have been facing a typical problem related to SQL. Please let me if you have any solution/queries.
    Table1 Structure
    ID     DPLY_NM     DESC_TX     
    100001     All Currencies     This parameter allows coverage of all currency codes without     
    100001     Excluded Cust IDs     Customer account IDs of the Firm     
    100001     Excluded Trader IDs     Trader IDs of the Firm excluded     
    100002     Short Sale Times Window     Number of seconds prior to the     
    100002     XYXZ     XYZ     
    100003     HR Min Trans Amt     Minimum total transaction     
    100004     Included Desk IDs     Minimum percentage at     
    Table2 Structure
    ID     DPLY_NM     DESC_TX     
    100001     All Currencies     This parameter allows coverage of all currency codes without     
    100001     Excluded Cust IDS     Customer account IDs of The Firm     
    100001     Excluded Trader IDS     Trader IDs of the Firm excluded     
    100002     Short Sale Tim Window     Number of seconds prior to the     
    100003     HR Min Trans Amount     Minimum total transaction     
    100004     Incl Desk IDs     Minimum percentage at all level     
    In the above two tables, there is difference between the DPLY_NM and DESC_TX there are four possibility, i have to do log as below condition
    DPLY_NM     DESC_TX     Result which we have to Log     
    Y     Y     No Need to log     
    Y     N     Do Log     
    N     Y     Do Log     
    N     N     Do Log     
    I have to compare the table 1 with table 2 and log the descripencies as given in above conditions. and the final log should look like-
    log start
    Difference in display name
    Table1     DSPLY_NM          
    Table2     DSPLY_NM          
    Table1     DSPLY_NM          
    Table2     DSPLY_NM          
    Table1     DSPLY_NM     Extra     
    Difference in description
    Table1     DSPLY_NM          
    Table2     DSPLY_NM          
    Table1     DSPLY_NM          
    Table2     DSPLY_NM          
    Table2     DSPLY_NM     Extra     
    log end
    I followed the following apporch
    I made a master table (MT) of having the all daat of table 1 and table 2 with the flag. The master table looks like given below:
    SCNRO_ID     DPLY_NM     DESC_TX     FLAG
    100001     All Currencies     This parameter allows coverage of all currency codes without     T2
    100001     Excluded Cust IDs     Customer account IDs of the Firm     T2
    100001     Excluded Trader IDs     Trader IDs of the Firm excluded     T2
    100002     Short Sale Times Window     Number of seconds prior to the     T2
    100002     XYXZ     XYZ     T2
    100003     HR Min Trans Amt     Minimum total transaction     T2
    100004     Included Desk IDs     Minimum percentage at     T2
    100001     All Currencies     This parameter allows coverage of all currency codes without     T1
    100001     Excluded Cust IDS     Customer account IDs of The Firm     T1
    100001     Excluded Trader IDS     Trader IDs of the Firm excluded     T1
    100002     Short Sale Tim Window     Number of seconds prior to the     T1
    100003     HR Min Trans Amount     Minimum total transaction     T1
    100004     Incl Desk IDs     Minimum percentage at all level     T1
    FLAG T1: shows the data from T1 table and T2 shows the data from T2 table.
    Now created another two table with the interchange of flag they are T3 and T4
    the table structure (T3) will be like:
    ID     DPLY_NM     FLAG     
    100001     All Currencies     T2     
    100001     Excluded Cust IDs     T2     
    100001     Excluded Trader IDs     T2     
    100002     Short Sale Times Window     T2     
    100002     XYXZ     T2     
    100003     HR Min Trans Amt     T2     
    100004     Included Desk IDs     T2     
    and the table structure (T4) will be like:
    ID     DPLY_NM     FLAG     
    100001     All Currencies     T1     
    100001     Excluded Cust IDS     T1     
    100001     Excluded Trader IDS     T1     
    100002     Short Sale Tim Window     T1     
    100003     HR Min Trans Amount     T1     
    100004     Incl Desk IDs     T1     
    Now i run the query giveb below and i got the appropriate record
    (select * from MT
    minus
    select * from T3)
    minus
    select * from T4;
    For finding the descrepancies in description make the two table T5 and T6 as given below
    (I need descripencies in the DESC_TX only)
    T5 Table structure
    ID     DPLY_NM     DESC_TX     FLAG     
    100001     All Currencies     This parameter allows coverage of all currency codes without     T2     
    100001     Excluded Cust IDs     Customer account IDs of the Firm     T2     
    100001     Excluded Trader IDs     Trader IDs of the Firm excluded     T2     
    100002     Short Sale Times Window     Number of seconds prior to the     T2     
    100002     XYXZ     XYZ     T2     
    100003     HR Min Trans Amt     Minimum total transaction     T2     
    100004     Included Desk IDs     Minimum percentage at     T2     
    T6 Table structure
    ID     DPLY_NM     DESC_TX     FLAG     
    100001     All Currencies     This parameter allows coverage of all currency codes without     T1     
    100001     Excluded Cust IDS     Customer account IDs of The Firm     T1     
    100001     Excluded Trader IDS     Trader IDs of the Firm excluded     T1     
    100002     Short Sale Tim Window     Number of seconds prior to the     T1     
    100003     HR Min Trans Amount     Minimum total transaction     T1     
    100004     Incl Desk IDs     Minimum percentage at all level     T1     
    Now i run the query given below but i am not getting the appropriated records. Ther are some false record.
    (select * from MT
    minus
    select * from T5)
    minus
    select * from T6;
    Thanks
    Anand
    Message was edited by:
    user567015

    Lemme get on the old soapbox.. yet again.. and give you my prepared speech about manners here... yet again..
    <soapbox on>
    Don't you think that you claiming that your problem is urgent is rude? Are you not saying by that, that other people who also have problems posted here, are less important than your so very special and urgent problem?
    And what do you expect from professionals here, with paid jobs, spending their free time to help people like you?
    Should they now jump to it, stop with their paid work, and solve your urgent problem for you? Is that not also just plain rude?
    I suggest that you first learn some basic manners when using public forums like this. I for one has stopped helping posters who claim their problems as urgent and then demand special treatment in forums like this.
    <soapbox off>

  • Random new line issue in email attachment using utl_smtp need your help.

    Hi
    I am getting one problem unable to solve, need your help.
    I am creating one csv attachment in email using utl_smtp.
    but there are random newline in the attachment value so the csv getting corrupted.
    following is the attachment code
    FOR C2 IN CUR_VALIDATION_ERROR
                 LOOP
                   IF CUR_VALIDATION_ERROR%ROWCOUNT = 1 THEN
                     UTL_SMTP.write_data(l_mail_conn,'"LOG DATE","DATA ERROR IDENTIFIER","EMPLOYEE ID","SOURCE SYSTEM","SOURCE FILE ROW","ERROR LEVEL","ERROR MESSAGE"'||CHR(13));
                   END IF; 
                   UTL_SMTP.write_data(l_mail_conn,
                                                     chr(34)||C2.LOG_DT||chr(34)||chr(44)||
                                                     chr(34)||C2.DATA_ERR_ID||chr(34)||chr(44)||
                                                     chr(34)||C2.EMPE_ID||chr(34)||chr(44)||
                                                     chr(34)||C2.SOURCE||chr(34)||chr(44)||
                                                     chr(34)||C2.SOURCE_ROW||chr(34)||chr(44)||
                                                     chr(34)||C2.ERROR_LEVEL||chr(34)||chr(44)||
                                                     chr(34)||C2.ERR_MSG_DSCR||chr(34)||
                                                     CHR(13));
                 END LOOP;

    Thank you hm, but that is not the case, bcz I found newline character inside a sequence number. Its not possible to have newline character inside a sequence number
    "LOG DATE","DATA ERROR IDENTIFIER","EMPLOYEE ID","SOURCE SYSTEM","SOURCE FILE ROW","ERROR LEVEL","ERROR MESSAGE"
    "02-MAY-2012","7893660","123","XYZ","44952","WARNING","[02-MAY-12] - The value in field [PHONE]"
    "02-MAY-2012","7893663","12
    4","XYZ","52382","WARNING","[02-MAY-12] - The value in field [ADDRESS]"

  • My mac has started displaying a message stating "You need to restart your computer".  Web says it's kind of kernel panic! Is this a hardware problem? Do i need to contact my distributor? please help..it annoys me very much..

    My mac has started displaying a message stating "You need to restart your computer".  Web says it's kind of kernel panic! Is this a hardware problem? Do i need to contact my distributor? please help..it annoys me very much..

    Hello welcome to the ASC user to user forums
    please see these support documents
    http://support.apple.com/kb/TS2570
    http://support.apple.com/kb/TS1440
    http://support.apple.com/kb/HT1455
    http://support.apple.com/kb/ht3964
    http://support.apple.com/kb/HT1379
    http://support.apple.com/kb/ht1379
    http://support.apple.com/kb/HT1509

  • Hi , I suhail khan from india and i am user of iMac system 10,1.These days i am facing the sound enabling issue with my iMac system I am not able to hear sound in my iMac system.So kindly suggest me how to enable sound in my iMac . Please no the needful.

                      Hi , I suhail khan from india and i am user of iMac system 10,1.These days i am facing the sound enabling issue with my iMac system I am not able to hear sound in my iMac system.So kindly suggest me how to enable sound in my iMac . Please no the needful.

    Take each of the following steps that you haven't already tried.
    1. If you've recently plugged anything into the audio-out (headphone) port, plug and unplug it a couple of times.
    2. From the menu bar, select
     ▹ System Preferences ▹ Sound ▹ Output
    Check the settings. The internal speakers should be selected as the output device, the Mute box should not be checked, and the volume slider should be at least halfway to the right.
    3. Look inside the headphone port. If a red light is coming from the port, the internal switch is stuck in the position for digital output. You may be able to free it by inserting and removing a headphone mini-stereo jack of the proper size.Inserting any kind of tool in the port may cause damage that won't be covered by your warranty.
    4. Boot in safe mode by holding down the shift key at the startup chime. It will take much longer than usual. You don't have to log in; just reboot as usual (without holding any keys) when the login screen appears. (Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode.)
    5. Reset the NVRAM.
    6. Reset the SMC.
    7. Reinstall OS X after backing up all data as a precaution. You won't need your backup unless something goes wrong.
    8. Make a "Genius" appointment at an Apple Store.
    Back up all data on the internal drive(s) before you hand over your computer to anyone. If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to bare metal from any of them.) Don’t erase the recovery partition, if present.
    *An SSD doesn't need to be zeroed.

  • Query performance tuning need your suggestions

    Hi,
    Below is the sql query and explain plan which is taking 2 hours to execute and sometime it is breaking up( erroring out) due to memory issue.
    Below it the query which i need to improve the performance of the code please need your suggestion in order to tweak so that time take for execution become less and also in less memory consumption
    select a11.DATE_ID DATE_ID,
    sum(a11.C_MEASURE) WJXBFS1,
    count(a11.PKEY_GUID) WJXBFS2,
    count(Case when a11.C_MEASURE <= 10 then a11.PKEY_GUID END) WJXBFS3,
    count(Case when a11.STATUS = 'Y' and a11.C_MEASURE > 10 then a11.PKEY_GUID END) WJXBFS4,
    count(Case when a11.STATUS = 'N' then a11.PKEY_GUID END) WJXBFS5,
    sum(((a11.C_MEASURE ))) WJXBFS6,
    a17.DESC_DATE_MM_DD_YYYY DESC_DATE_MM_DD_YYYY,
    a11.DNS DNS,
    a12.VVALUE VVALUE,
    a12.VNAME VNAME,
    a13.VVALUE VVALUE0,
    a13.VNAME VNAME0,
    9 a14.VVALUE VVALUE1,
    a14.VNAME VNAME1,
    a15.VVALUE VVALUE2,
    a15.VNAME VNAME2,
    a16.VVALUE VVALUE3,
    a16.VNAME VNAME3,
    a11.PKEY_GUID PKEY_GUID,
    a11.UPKEY_GUID UPKEY_GUID,
    a17.DAY_OF_WEEK DAY_OF_WEEK,
    a17.D_WEEK D_WEEK,
    a17.MNTH_ID DAY_OF_MONTH,
    a17.YEAR_ID YEAR_ID,
    a17.DESC_YEAR_FULL DESC_YEAR_FULL,
    a17.WEEK_ID WEEK_ID,
    a17.WEEK_OF_YEAR WEEK_OF_YEAR
    from ACTIVITY_F a11
    join (SELECT A.ORG as ORG,
    A.DATE_ID as DATE_ID,
    A.TIME_OF_DAY_ID as TIME_OF_DAY_ID,
    A.DATE_HOUR_ID as DATE_HOUR_ID,
    A.TASK as TASK,
    A.PKEY_GUID as PKEY_GUID,
    A.VNAME as VNAME,
    A.VVALUE as VVALUE
    FROM W_ORG_D A join W_PERSON_D B on
    (A.TASK = B.TASK AND A.ORG = B.ID
    AND A.VNAME = B.VNAME)
    WHERE B.VARIABLE_OBJ = 1 ) a12
    on (a11.PKEY_GUID = a12.PKEY_GUID and
    a11.DATE_ID = a12.DATE_ID and
    a11.ORG = a12.ORG)
    join (SELECT A.ORG as ORG,
    A.DATE_ID as DATE_ID,
    A.TIME_OF_DAY_ID as TIME_OF_DAY_ID,
    A.DATE_HOUR_ID as DATE_HOUR_ID,
    A.TASK as TASK,
    A.PKEY_GUID as PKEY_GUID,
    A.VNAME as VNAME,
    A.VVALUE as VVALUE
    FROM W_ORG_D A join W_PERSON_D B on
    (A.TASK = B.TASK AND A.ORG = B.ID
    AND A.VNAME = B.VNAME)
    WHERE B.VARIABLE_OBJ = 2) a13
    on (a11.PKEY_GUID = a13.PKEY_GUID and
    a11.DATE_ID = a13.DATE_ID and
    a11.ORG = a13.ORG)
    join (SELECT A.ORG as ORG,
    A.DATE_ID as DATE_ID,
    A.TIME_OF_DAY_ID as TIME_OF_DAY_ID,
    A.DATE_HOUR_ID as DATE_HOUR_ID,
    A.TASK as TASK,
    A.PKEY_GUID as PKEY_GUID,
    A.VNAME as VNAME,
    A.VVALUE as VVALUE
    FROM W_ORG_D A join W_PERSON_D B on
    (A.TASK = B.TASK AND A.ORG = B.ID
    AND A.VNAME = B.VNAME)
    WHERE B.VARIABLE_OBJ = 3 ) a14
    on (a11.PKEY_GUID = a14.PKEY_GUID and
    a11.DATE_ID = a14.DATE_ID and
    a11.ORG = a14.ORG)
    join (SELECT A.ORG as ORG,
    A.DATE_ID as DATE_ID,
    A.TIME_OF_DAY_ID as TIME_OF_DAY_ID,
    A.DATE_HOUR_ID as DATE_HOUR_ID,
    A.TASK as TASK,
    A.PKEY_GUID as PKEY_GUID,
    A.VNAME as VNAME,
    A.VVALUE as VVALUE
    FROM W_ORG_D A join W_PERSON_D B on
    (A.TASK = B.TASK AND A.ORG = B.ID
    AND A.VNAME = B.VNAME)
    WHERE B.VARIABLE_OBJ = 4) a15
    on (a11.PKEY_GUID = a15.PKEY_GUID and
    89 a11.DATE_ID = a15.DATE_ID and
    a11.ORG = a15.ORG)
    join (SELECT A.ORG as ORG,
    A.DATE_ID as DATE_ID,
    A.TIME_OF_DAY_ID as TIME_OF_DAY_ID,
    A.DATE_HOUR_ID as DATE_HOUR_ID,
    A.TASK as TASK,
    A.PKEY_GUID as PKEY_GUID,
    A.VNAME as VNAME,
    A.VVALUE as VVALUE
    FROM W_ORG_D A join W_PERSON_D B on
    (A.TASK = B.TASK AND A.ORG = B.ID
    AND A.VNAME = B.VNAME)
    WHERE B.VARIABLE_OBJ = 9) a16
    on (a11.PKEY_GUID = a16.PKEY_GUID and
    a11.DATE_ID = a16.DATE_ID and
    A11.ORG = A16.ORG)
    join W_DATE_D a17
    ON (A11.DATE_ID = A17.ID)
    join W_SALES_D a18
    on (a11.TASK = a18.ID)
    where (a17.TIMSTAMP between To_Date('2001-02-24 00:00:00', 'YYYY-MM-DD HH24:MI:SS') and To_Date('2002-09-12 00:00:00', 'YYYY-MM-DD HH24:MI:SS')
    and a11.ORG in (12)
    and a18.SRC_TASK = 'AX012Z')
    group by a11.DATE_ID,
    a17.DESC_DATE_MM_DD_YYYY,
    a11.DNS,
    a12.VVALUE,
    a12.VNAME,
    a13.VVALUE,
    a13.VNAME,
    a14.VVALUE,
    a14.VNAME,
    a15.VVALUE,
    a15.VNAME,
    a16.VVALUE,
    a16.VNAME,
    a11.PKEY_GUID,
    a11.UPKEY_GUID,
    a17.DAY_OF_WEEK,
    a17.D_WEEK,
    a17.MNTH_ID,
    a17.YEAR_ID,
    a17.DESC_YEAR_FULL,
    a17.WEEK_ID,
    a17.WEEK_OF_YEAR;
    Explained.
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 1245 | 47 (9)| 00:00:01 |
    | 1 | HASH GROUP BY | | 1 | 1245 | 47 (9)| 00:00:01 |
    |* 2 | HASH JOIN | | 1 | 1245 | 46 (7)| 00:00:01 |
    |* 3 | HASH JOIN | | 1 | 1179 | 41 (5)| 00:00:01 |
    |* 4 | HASH JOIN | | 1 | 1113 | 37 (6)| 00:00:01 |
    |* 5 | HASH JOIN | | 1 | 1047 | 32 (4)| 00:00:01 |
    |* 6 | HASH JOIN | | 1 | 981 | 28 (4)| 00:00:01 |
    | 7 | NESTED LOOPS | | 1 | 915 | 23 (0)| 00:00:01 |
    | 8 | NESTED LOOPS | | 1 | 763 | 20 (0)| 00:00:01 |
    | 9 | NESTED LOOPS | | 1 | 611 | 17 (0)| 00:00:01 |
    | 10 | NESTED LOOPS | | 1 | 459 | 14 (0)| 00:00:01 |
    | 11 | NESTED LOOPS | | 1 | 307 | 11 (0)| 00:00:01 |
    | 12 | NESTED LOOPS | | 1 | 155 | 7 (0)| 00:00:01 |
    | 13 | NESTED LOOPS | | 1 | 72 | 3 (0)| 00:00:01 |
    | 14 | TABLE ACCESS BY INDEX ROWID| W_SALES_D | 1 | 13 | 2 (0)| 00:00:01 |
    |* 15 | INDEX UNIQUE SCAN | CONS_UNQ_W_SALES_D_SRC_ID | 1 | | 1 (0)| 00:00:01 |
    | 16 | TABLE ACCESS BY INDEX ROWID| W_DATE_D | 1 | 59 | 1 (0)| 00:00:01 |
    |* 17 | INDEX UNIQUE SCAN | UIDX_DD_TIMSTAMP | 1 | | 0 (0)| 00:00:01 |
    | 18 | TABLE ACCESS BY INDEX ROWID | ACTIVITY_F | 1 | 83 | 4 (0)| 00:00:01 |
    |* 19 | INDEX RANGE SCAN | PK_ACTIVITY_F | 1 | | 3 (0)| 00:00:01 |
    |* 20 | TABLE ACCESS BY INDEX ROWID | W_ORG_D      | 1 | 152 | 4 (0)| 00:00:01 |
    |* 21 | INDEX RANGE SCAN | IDX_FK_CVSF_PKEY_GUID | 10 | | 3 (0)| 00:00:01 |
    |* 22 | TABLE ACCESS BY INDEX ROWID | W_ORG_D | 1 | 152 | 3 (0)| 00:00:01 |
    |* 23 | INDEX RANGE SCAN | IDX_FK_CVSF_PKEY_GUID | 10 | | 3 (0)| 00:00:01 |
    |* 24 | TABLE ACCESS BY INDEX ROWID | W_ORG_D | 1 | 152 | 3 (0)| 00:00:01 |
    |* 25 | INDEX RANGE SCAN | IDX_FK_CVSF_PKEY_GUID | 10 | | 3 (0)| 00:00:01 |
    |* 26 | TABLE ACCESS BY INDEX ROWID | W_ORG_D | 1 | 152 | 3 (0)| 00:00:01 |
    |* 27 | INDEX RANGE SCAN | IDX_FK_CVSF_PKEY_GUID | 10 | | 3 (0)| 00:00:01 |
    |* 28 | TABLE ACCESS BY INDEX ROWID | W_ORG_D | 1 | 152 | 3 (0)| 00:00:01 |
    |* 29 | INDEX RANGE SCAN | IDX_FK_CVSF_PKEY_GUID | 10 | | 3 (0)| 00:00:01 |
    |* 30 | TABLE ACCESS FULL | W_PERSON_D | 1 | 66 | 4 (0)| 00:00:01 |
    |* 31 | TABLE ACCESS FULL | W_PERSON_D | 1 | 66 | 4 (0)| 00:00:01 |
    |* 32 | TABLE ACCESS FULL | W_PERSON_D | 1 | 66 | 4 (0)| 00:00:01 |
    |* 33 | TABLE ACCESS FULL | W_PERSON_D | 1 | 66 | 4 (0)| 00:00:01 |
    |* 34 | TABLE ACCESS FULL | W_PERSON_D | 1 | 66 | 4 (0)| 00:00:01 |
    -----------------------------------------------------------------------------------------------------------------------

    Hi,
    I'm not a tuning expert but I can suggest you to post your request according to this template:
    Thread: HOW TO: Post a SQL statement tuning request - template posting
    HOW TO: Post a SQL statement tuning request - template posting
    Then:
    a) you should posting a code which is easy to read. What about formatting? Your code had to be fixed in a couple of lines.
    b) You could simplify your code using the with statement. This has nothing to do with the tuning but it will help the readability of the query.
    Check it below:
    WITH tab1 AS (SELECT a.org AS org
                       , a.date_id AS date_id
                       , a.time_of_day_id AS time_of_day_id
                       , a.date_hour_id AS date_hour_id
                       , a.task AS task
                       , a.pkey_guid AS pkey_guid
                       , a.vname AS vname
                       , a.vvalue AS vvalue
                       , b.variable_obj
                    FROM    w_org_d a
                         JOIN
                            w_person_d b
                         ON (    a.task = b.task
                             AND a.org = b.id
                             AND a.vname = b.vname))
      SELECT a11.date_id date_id
           , SUM (a11.c_measure) wjxbfs1
           , COUNT (a11.pkey_guid) wjxbfs2
           , COUNT (CASE WHEN a11.c_measure <= 10 THEN a11.pkey_guid END) wjxbfs3
           , COUNT (CASE WHEN a11.status = 'Y' AND a11.c_measure > 10 THEN a11.pkey_guid END) wjxbfs4
           , COUNT (CASE WHEN a11.status = 'N' THEN a11.pkey_guid END) wjxbfs5
           , SUM ( ( (a11.c_measure))) wjxbfs6
           , a17.desc_date_mm_dd_yyyy desc_date_mm_dd_yyyy
           , a11.dns dns
           , a12.vvalue vvalue
           , a12.vname vname
           , a13.vvalue vvalue0
           , a13.vname vname0
           , a14.vvalue vvalue1
           , a14.vname vname1
           , a15.vvalue vvalue2
           , a15.vname vname2
           , a16.vvalue vvalue3
           , a16.vname vname3
           , a11.pkey_guid pkey_guid
           , a11.upkey_guid upkey_guid
           , a17.day_of_week day_of_week
           , a17.d_week d_week
           , a17.mnth_id day_of_month
           , a17.year_id year_id
           , a17.desc_year_full desc_year_full
           , a17.week_id week_id
           , a17.week_of_year week_of_year
        FROM activity_f a11
             JOIN tab1 a12
                ON (    a11.pkey_guid = a12.pkey_guid
                    AND a11.date_id = a12.date_id
                    AND a11.org = a12.org
                    AND a12.variable_obj = 1)
             JOIN tab1 a13
                ON (    a11.pkey_guid = a13.pkey_guid
                    AND a11.date_id = a13.date_id
                    AND a11.org = a13.org
                    AND a13.variable_obj = 2)
             JOIN tab1 a14
                ON (    a11.pkey_guid = a14.pkey_guid
                    AND a11.date_id = a14.date_id
                    AND a11.org = a14.org
                    AND a14.variable_obj = 3)
             JOIN tab1 a15
                ON (    a11.pkey_guid = a15.pkey_guid
                    AND a11.date_id = a15.date_id
                    AND a11.org = a15.org
                    AND a15.variable_obj = 4)
             JOIN tab1 a16
                ON (    a11.pkey_guid = a16.pkey_guid
                    AND a11.date_id = a16.date_id
                    AND a11.org = a16.org
                    AND a16.variable_obj = 9)
             JOIN w_date_d a17
                ON (a11.date_id = a17.id)
             JOIN w_sales_d a18
                ON (a11.task = a18.id)
       WHERE (a17.timstamp BETWEEN TO_DATE ('2001-02-24 00:00:00', 'YYYY-MM-DD HH24:MI:SS')
                               AND TO_DATE ('2002-09-12 00:00:00', 'YYYY-MM-DD HH24:MI:SS')
              AND a11.org IN (12)
              AND a18.src_task = 'AX012Z')
    GROUP BY a11.date_id, a17.desc_date_mm_dd_yyyy, a11.dns, a12.vvalue
           , a12.vname, a13.vvalue, a13.vname, a14.vvalue
           , a14.vname, a15.vvalue, a15.vname, a16.vvalue
           , a16.vname, a11.pkey_guid, a11.upkey_guid, a17.day_of_week
           , a17.d_week, a17.mnth_id, a17.year_id, a17.desc_year_full
           , a17.week_id, a17.week_of_year;
    {code}
    I hope I did not miss anything while reformatting the code. I could not test it not having the proper tables.
    As I said before I'm not a tuning expert nor I pretend to be but I see this:
    1) Table W_PERSON_D is read in full scan. Any possibility of using indexes?
    2) Tables W_SALES_D, W_DATE_D,  ACTIVITY_F and W_ORG_D have TABLE ACCESS BY INDEX ROWID which definitely is not fast.
    You should provide additional information for tuning your query checking the post I mentioned previously.
    Regards.
    Al                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • I am using 4K Footages for editing in Premiere pro CC 2014, but its getting crash in between at every 15 to 20 mins. Kindly suggest how can it be solved, does any plugins or settings needed to edit 4K footages? Also would like to mention that footages fra

    I am using 4K Footages for editing in Premiere pro CC 2014, but its getting crash in between at every 15 to 20 mins. Kindly suggest how can it be solved, does any plugins or settings needed to edit 4K footages? Also would like to mention that footages frame rates are 29.97 and i have set timeline to 25 FPS is requirement by client. kindly revert. Thanks

    Thanks Richarad ..It has solved the problem but still crashes some times .As the programme has the break (bumper)after every five minutes ,i hope it will not compress bumper time too after export.

  • Weird Access Problems - Really Need Your Advice

    This is complex and confusing, and I am not an IT expert. Let me provide background and symptoms:
    1) I recently moved and transferred ISP providers from Cox to Adelphia.
    2 My setup consists of Mac G5, a Powerbook, and an Airport Station. The internet cable from Adelphia runs into the Airport Station. A cable then runs from the Airport Station to the G5, and the connection to the Powerbook is made via wireless. This setup worked very well when Cox was my ISP
    3) My Apple Mail client accesses mail servers at Cox, Adelphia, Gmail, and .Mac,
    4) When I made the hookup described in 2) I was no longer able to access Gmail from Safari. However, when I directly connected the Adelphia cable to the G5 (cutting the Airport out of the loop) I was able to access Gmail.
    5) Upon review from Adelphia they suggested that I make sure that there no static entries had been placed in the DHCP field. I checked the field using the Airport software and cleared the field (I am not sure if this was static entry or had been placed there by Adelphia).
    6) I hooked the computers and Airport up as in 2). Now the Gmail could be accessed from Safari. HOWEVER, now I could not access Adelphia's mail from Safari. Also I found that I could not access some the the web pages that came up as a result of Google searchs. This has never occurred before.
    7) Additionally, I found now when directly connected the G5 to the Adelphia cable I could still get Gmail, but I no longer could access .Mac from Safari.
    Note: I have gone through the same steps above using Foxfire and get similar results
    BASIC SUMMARY: 1) When Airport is in the connections cannot get access .Mac from Safari (but can access Gmail and Adelphia). 2) When the Airport is connected I cannot access Adelphia from Safari (but can access Gmail and .Mac).
    WHAT SHOULD I DO NEXT???: 1) Should I reset the Airport to its original factory settings and reinstall?. 2) Should I clear out the cookies?. 3) Since these are all related to various mail accounts (Gmail, .Mac, and Adelphia) is there something that could be done with the Apple Mail client???
    Need your advice!
    Mac G5   Mac OS X (10.3.9)  

    PLB11,
    pretty complex indeed.
    I would start by running Network Diagnostics with your standard configuration (i.e. the one with the Airport).
    In the Apple menu, select System Preferences, Network, then click on the "Assist me..." button on the bottom. That should give you two options: "Diagnostics" and "Assistant".
    Try Diagnostics first. If that doesn't solve your problem, run it again without the Airport. If the problem persists, run Assistant and set up a new configuration from scratch, using the original layout with the Airport.
    Please post back the results. Good luck!

  • I bought a new 5s and its front and back camera are not working, showing black image. My phone is IOS 7 updated, and some one insisted that its is software updation problem, and can be resolved by updating to IOS 8. Kindly suggest.

    I bought a new 5s and its front and back camera are not working, showing black image. My phone is IOS 7.1.2 updated, and some one insisted that its is software updation problem, and can be resolved by updating to IOS 8. Kindly suggest.

    I have the same issue on my iPhone 5s
    I've closed the app and re-booted the phone several times but it did not resolve the issue.
    Upgrading to iOS 8.0.2 did not resolve it either.
    Erasing the iPhone and restoring from a backup did not resolve it.
    I'm not sure what else to do.

  • Hi i have an ipad mini and i have not used it for 2 month or more. Today i have tried to use it i came across with a problem. my Ipad is blocked and it asks me to wait 23,401,418 :) what should i do need your help. thanks

    hi i have an ipad mini and i have not used it for 2 month or more. Today i have tried to use it i came across with a problem. my Ipad is blocked and it asks me to wait 23,401,418 what should i do need your help. thanks 

    Have you charged ipad Try a Reboot press & hold power button & menu button hold both down until you see Apple Logo You may need to do this more than once. Bsydd uk

  • In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String

    In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String , for executing the Stored Procedure with Current date as the input .

    Hi Srinath,
    The below blog might be useful
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/06/executing-stored-procedure-from-sender-adapter-in-sap-pi-71
    PI/XI: Sender JDBC adapter for Oracle stored procedures in 5 days
    regards,
    Harish

  • Having problem buying online.need your help since it's my first time here.apple is asking for my billing address but when i enter my address here in qatar,it's saying i should enter a valid zip code within the u.s.does it mean i can't buy online

    having problem buying online.need your help since it's my first time here.apple is asking for my billing address but when i enter my address here in qatar,it's saying i should enter a valid zip code within the u.s.does it mean i can't buy online even if it wil be shipped within u.s. only?

    To buy in for delivery in Qatar, you should be starting from the Apple Qatar site:
    http://www.apple.com/qa/
    Do you have an Apple-ID? if you do, then you should not have to enter your Address again, and may be able to sidestep the US Zip Code issue.

  • IP telephony problem in a big shop | Need your help

    Hello everybody,
    I have an issue to solve regarding an IP telephony problem. My company will send me to France to fix this problem. But most of my knowledge are in routing and switching, I have almost no knowledge in IP telephony ( Theory only). I think the problem is not really difficult but I still need your advices to know where to start and what to do.
    Futher down is a summary of the e-mails I received from the shop in France from the employees who are working there. France Telecom is the ISP.
    1 e-mail:The problem is the connection between the ISDN lines provided by France Telecom and the IPBX installed by our shop.
    2 e-mail:The problem isn't the physical line itself. The problem is that they ( France telecom) do not route all the numbers out to the ISDN line they installed. The number ending with 1212 get routed to the ISDN NT and that number actually works. But the rest of the number series does not get terminated in that ISDN NT. Calling those other number result in an error message being read in French. That can only come from France Telecom.
    3 e-mail:We cannot solve this problem because it is not the system which has an error. Carl has been in Bordeaux and has checked the ISND line at that is working, but the number series for Bordeaux is missing in the system from France Telecom, the only existing number is 1212. The rest of the numbers are missing for French Telecom and is therefore not working. Either we have been informed of a wrong number series +33 5 34 32 12 04 to 13 or France Telecom has not delivered what they should.
    4 e-mail:I checked again with France Telecom and they confirmed that everything is delivered and ok from their side.
    They gave us the number series +33 5 34 32 12 04 to 13 with main number (headnumber) is +33 5 34 32 12 12 (exactly as in Paris where we are n° series from +33 1 53 25 13 70 to +33 1 53 25 13 89 with the headnumber is +33 1 53 25 13 70).
    That's the reason why you find only the +33 5 34 32 12 12 arriving into the IPBX, it's because you then have to program in our IPBX the other n° we want to use (+33 5 34 32 12 04/ 05/ 06/ 07/ …10/ 13/…) within the number series granted by France Telecom.
    But this can be done only by us because we installed our own IPBX.
    5 e-mail:Even though the other numbers aren't programmed into the IPBX, we should still get some sort of ISDN Layer 1 activity when calling one of the other numbers (fx. the 07number). That never happens, which means the numbers are somehow impeded from France Telecom.
    When we call one of the number, we get an error message in French. If the traffic was hitting the IPBX, then that couldn't happen. That speak originates from France Telecom and we have never gotten any explanation as to why it's even there.
    I will really apreciate your help. Where do you think the problem comes from? Is that really France Telecom whose empeded the series number(do not route the numbers)? What should I check/do, configure?
    Thanks a lot for your help to all of you.
    Aitaseller

    Already replied in "IP Telepho9ny".
    Please do not open duplicate threads.

  • Kindly advice me, I have iphone 5s and I forgot the log-in password (passcode), I tried to open it but my phone give 60 min. to let me try after I fail for first one. I dont sync. with icloud or itunes. Please I NEED YOUR URGENT HELP!!

    Kindly advice me, I have iphone 5s and I forgot the log-in password (passcode), I tried to open it but my phone give 60 min. to let me try after I fail for the first one. I dont sync. with icloud or itunes. Please I NEED YOUR URGENT HELP!! MY IPHONE IS STILL STUCK.

    I can't, look at this image

Maybe you are looking for