Aggregation giving unstable results

Hi all,
I am facing a problem with aggregation in OWB(not just in the tool in the Oracle database also).
While I am trying to aggregate huge amount of data the aggregation result is not proper. But when i aggregate for the data where the mismatch occurs it is happening properly.
It is giving the same result if write the query directly in the database also. The mismatch is not happening for the same subset of data everytime. It is varying.
For less amount of data the aggregation is happening properly
If anyone encountered this type of problem Kindly help
Regards,
Arjun Jkoshi

okie, i have worked on oracle for a few good years and worked wtith data worth millions and billions still never had any problems.
First thing that i would suggest is : Re-visit your DB design.
If your DB is going to have records in millions or crores then it might be worth having to set a precision and scaling. i.e
If your column specific is 1 unit = 1000000
then 3500000 = 3.5 so your db should store the value as 3.5 this not only saves space but also is very easy for calculation purpose.
This is how normally enterprises work.
secondly even if you use the whole number, i havent ever come across a scenario where oracle does not aggregate correctly, this can only happen if you are having a join or if there is cartesian product in your query or data inconsistency.
If you still very sure that there is no problem with your query then raise a SR on metalink because this could be a serious issue if it is genuinely a problem which i reckon it is not.
Edited by: Darthvader-647181 on Dec 15, 2008 4:43 AM

Similar Messages

  • Goto link query is not giving exact results

    Hi Folks
    I am having issue with GOTO query.
    My main query gives details of Employee seperation in particular year.
    For this query i have goto query.
    When i am checking the details of goto query ,it is giving incorrect results.
    Your help is appreciated.
    Thanks & Regards,
    Hari Reddy

    Hi Hari,
        Check in RSBBS, whether you specified the receiver query correctly...
    Check the link:
    [http://help.sap.com/saphelp_nw04/helpdata/en/99/08629bd3e41d418530c6849df303c9/content.htm]
        Hope this helps you.
    Regards,
    Yokesh.

  • OMBRETRIEVE is giving incorrect results

    Hi my fellow OMBPLUS developers.
    I have written an tcl script to retrieve the TARGET_LOAD_ORDERING property (a checkbox) from a number of mappings in my OWB repository. The commands which returns True or False is:
    OMBRETRIEVE MAPPING '$Mapping Name' GET PROPERTIES (TARGET_LOAD_ORDERING)
    The results are fine for around 90% of the mappings but I am finding cases where the following error is returned for some mappings:
    OMB02918: Property TARGET_LOAD_ORDERING of <Mapping Name> does not exist: MMM1034: Property TARGET_LOAD_ORDERING does not exist.
    When looking at the mappings that are throwing this error I can see via OWB that the mappings do have the Target Load Order checked. Simply unchecking/checking this and commiting the change to the repository then fixes the issue and the OMBRETIEVE commands retuns the correct result. Does anybody know why this issue is happening?
    Any help would be most appreciated.
    Regards
    Mitesh

    Re: OMBRETRIEVE is giving incorrect results
    Posted: 23.02.2012 00:30 in response to: mi**** in response to: mi****           
    Click to edit this message...      Edit      Click to report abuse...           Click to reply to this thread      Reply
    Hi,
    Enable the “Use Target Load Ordering” configuration option in the mapping configuration.
    http://www.oracle.com/technetwork/developer-tools/warehouse/owb-feature-management-licensing-344706.pdf
    BR,
    IM

  • Query giving wrong results

    Below is the query thats giving me wrong results ...can anyone help me figure where i am going wrong :(
    SQL> select count(*) from t where source='LP1.1';
      COUNT(*)
            69
    SQL> select count(*) from tblspring where line_a='LP1.1';
      COUNT(*)
           233now when i join these two table ...the total counts exceeds the expected records that i want
    SQL> select count(*) from t , tblspring where t.source=tblspring.line_a and t.source='LP1.1';
      COUNT(*)
         16077

    the thing is i want to filter only those records from table t where the column named  - source is equal to the column named line_a from table tblspring from the query in table t i get 69 records ....
    now when i match the it table tblspring with the condition
    i want the number of records should be less than or equal to 69 but not more than 69
    Edited by: Suhail Faraaz on Mar 5, 2011 7:31 AM

  • Group by Query not giving desired results

    Hi,
    I've a requirement to find minimum month based on status:
    The following query is giving error :
    SELECT
              b.app_name,
              DECODE (a.status,
              'C','Closed',
              'O','Open',
              'F','Future',
              'W','Pending',
              'N','Not Opened') decode_status
              MIN(a.period_name)
    FROM     table a,
         table b
    WHERE     a.app_id     =     b.app_id
    AND          b.app_name      =     'NAME1'
    AND          a.book_id     =     &book_id
    AND          a.status      =      'O'
    GROUP BY      b.app_name,
              DECODE (a.status,
              'C','Closed',
              'O','Open',
              'F','Future',
              'W','Pending',
              'N','Not Opened') decode_status
    for ex: in the above query if I've four records with status 'O' and period_name as 'May-12', 'Jun-12','Jul-12' ,'Aug-12' then I need to pick 'May'
    Thanks,
    Kiran

    Hi, Kiran,
    user518071 wrote:
    Hi,
    I've a requirement to find minimum month based on status:
    The following query is giving error :
    SELECT
              b.app_name,
              DECODE (a.status,
              'C','Closed',
              'O','Open',
              'F','Future',
              'W','Pending',
              'N','Not Opened') decode_status
              MIN(a.period_name)
    FROM     table a,
         table b
    WHERE     a.app_id     =     b.app_id
    AND          b.app_name      =     'NAME1'
    AND          a.book_id     =     &book_id
    AND          a.status      =      'O'
    GROUP BY      b.app_name,
              DECODE (a.status,
              'C','Closed',
              'O','Open',
              'F','Future',
              'W','Pending',
              'N','Not Opened') decode_status
    for ex: in the above query if I've four records with status 'O' and period_name as 'May-12', 'Jun-12','Jul-12' ,'Aug-12' then I need to pick 'May'
    Thanks,
    KiranIt looks like you're almost there.
    If period_name is a DATE, then
    MIN (a.period_name)is finidng the earliest period name, such as 5 May 2012 17:03:49. If you just want to see 'May 2012', then change that to
    TO_CHAR ( MIN (a.period_name)
            , 'Mon YYYY'
            )If a.period_name is a VARCHAR2, then change it to a DATE. The best way to do this is permanently. There is no reason to store date information in VARCHAR2 columns. Oracle supplies DATE columns; there's no extra cost for using them. DATE columns were designed for storing date information, use them to do that.
    if you must keep your date information in VARCHAR2 a column, then use TO_DATE in the query. It will be slow, and you'll have run-time errors if any of the information is in the wrong format. That's what happens when you store date information in VARCHAR2 columns.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using.
    See the forum FAQ {message:id=9360002}

  • % Change is not giving correct results.

    Hi,
    I am using Ago Function to calculate Current month cx count , previous month cx count, present month acct count, previous month acct count and in the report parameter selecting Reporting Month as DEC 09. The results are coming perfectly fine... but when I create % Change Previous Month Cx count and % change Previous month Account count, It is not showing the correct results and getting only 0% listed even if the Difference is huge and should be around 10% ...
    The code written to calculate % change is :
    CASE WHEN ("EIP BDW Analytics"."EIP Reporting FACT"."Previous Month Account Count" IS NULL OR "EIP BDW Analytics"."EIP Reporting FACT"."Previous Month Account Count" = 0) AND NOT "EIP BDW Analytics"."EIP Reporting FACT"."Current Month Account Count" IS NULL AND "EIP BDW Analytics"."EIP Reporting FACT"."Current Month Account Count" <> 0 THEN 100.0 WHEN ("EIP BDW Analytics"."EIP Reporting FACT"."Previous Month Account Count" IS NULL OR "EIP BDW Analytics"."EIP Reporting FACT"."Previous Month Account Count" = 0) AND ("EIP BDW Analytics"."EIP Reporting FACT"."Current Month Account Count" IS NULL OR "EIP BDW Analytics"."EIP Reporting FACT"."Current Month Account Count" = 0) THEN 0.0 WHEN "EIP BDW Analytics"."EIP Reporting FACT"."Current Month Account Count" IS NULL AND NOT "EIP BDW Analytics"."EIP Reporting FACT"."Previous Month Account Count" IS NULL AND "EIP BDW Analytics"."EIP Reporting FACT"."Previous Month Account Count" <> 0 THEN -(100.0) ELSE 100.0 * ("EIP BDW Analytics"."EIP Reporting FACT"."Current Month Account Count" - "EIP BDW Analytics"."EIP Reporting FACT"."Previous Month Account Count") / "EIP BDW Analytics"."EIP Reporting FACT"."Previous Month Account Count" END
    Can some one tell me what I need to do in order to get the desired results.
    I am using a time dimension with the following hierarchy ( Year - Month - Period_ID) joined with the Reporting Table Fact which has count of cx and Count of Accts.

    We have two assets one acquired on 01/04/2014 and another on 26/04/2014.  Everything else is same for both assets like asset class , keys etc.
    Now here are two calculations.
    System is giving calculation ok , what should we do so that for both assets we are left with same scrap value (1047)  (and not 1119.68 as in last line )
    Can anyone help how to get value in last field of screen shot given below asset vale date or it is always blank.
    wanted to add something in our case DEP to the DAY is also ticked in dep key.
    regards
    Sanjeev Mehndiratta

  • Query giving no result as well as no error

    hi...good evening all...
    i have a database server in a machine. the clients which are connected to those reported me that they cannot execute any queries from the schema connected to that database. i have tried and got the same result.
    There was no error but the status was EXECUTING. a simple select count(1) from table name was executing through a huge time but giving no output.
    i have bounced the database and after that it is working fine.
    My question is...may I get any idea about why the database behaved like that??
    please help.

    Hi,
    Your DB Version ?
    Secondly, if you checked the session_waits - then you might got some results/information with respect to session.
    - Pavan Kumar N

  • Opening Illustrator 8 eps is giving wrong results

    I have an eps (in Illustrator 8 format) where I manually changed the encoding to include east-european characters.
    When I open this eps in the latest Illustrator version, I don't see those characters.
    The attempts I made are:
    in a TE block
    39/quotesingle 96/grave 130/quotesinglbase/florin/quotedblbase/ellipsis
    /dagger/daggerdbl/circumflex/perthousand/Scaron/guilsinglleft/OE 145/quoteleft
    /quoteright/quotedblleft/quotedblright/bullet/endash/emdash/tilde/trademark
    /scaron/guilsinglright/oe/dotlessi 159/Ydieresis /space 164/currency 166/brokenbar
    168/dieresis/copyright/ordfeminine 172/logicalnot/hyphen/registered/macron/ring
    /plusminus/twosuperior/threesuperior/acute/mu 183/periodcentered/cedilla
    /onesuperior/ordmasculine 188/onequarter/onehalf/threequarters 192/Agrave
    /Aacute/Acircumflex/Atilde/Adieresis/Aring/AE/Ccedilla/Egrave/Eacute
    /Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex/Idieresis/Eth/Ntilde
    /Ograve/Oacute/Ocircumflex/Otilde/Odieresis/multiply/Oslash/Ugrave
    /Uacute/Ucircumflex/Udieresis/Yacute/Thorn/germandbls/agrave/aacute
    /acircumflex/atilde/adieresis/aring/ae/ccedilla/egrave/eacute/ecircumflex
    /edieresis/igrave/iacute/icircumflex/idieresis/eth/ntilde/ograve/oacute
    /ocircumflex/otilde/odieresis/divide/oslash/ugrave/uacute/ucircumflex
    /udieresis/yacute/thorn/ydieresis
    TE
    and further down: (128 80 \277) Tx
    I tried to replace the Agrave with Lslash, but Illustrator seems to ignore that part when opening the eps, and still displays a À
    Also tried with the TZ block to reencode the font:
    %AI3_BeginEncoding: _Helvetica-Condensed-Bold Helvetica-Condensed-Bold
    [ 191/Lslash /_Helvetica-Condensed-Bold/Helvetica-Condensed-Bold 0 0 1 TZ
    %AI3_EndEncoding AdobeType
    and further down: (128 80 \277) Tx
    That change is also ignored by Illustrator.
    The character is properly displayed when I open the eps and typing/pasting it in Illustrator, so I know the font supports it.
    Am I doing something wrong here?
    An alternate route could be to use the Illustrator SDK as platform for writing eps files, as I assume that the SDK properly supports unicode characters.
    Did some research on that, but found that the SDK is only to make Illustrator plugins, and not supporting standalone applications, so, for automated eps generating it's not suitable.
    Background:
    I've created software which generates eps files with cartographic maps in them for publishing, printing or other purposes.
    Recently, we got a new customer originating in eastern europe which wants their special, non-isolatin characters printed correcly.
    Hope someone can give me any advice on how to proceed...
    Greetings,
    Paul

    I just realized that order by case x.rest rest isn't giving me 's','m','t','w','th','f','sh' 
    substring(Rest, 1, charindex('~', Rest+'~') - 1) is giving me 's','m','t','w','th','f','sh' 
    so I switched the order by to be
    ORDER BY CASE substring(Rest, 1, charindex('~', Rest+'~') - 1) WHEN 'S' THEN 1 WHEN 'M' THEN 2 WHEN 'T' THEN 3 WHEN 'W' THEN 4
    WHEN 'TH' THEN 5 WHEN 'F' THEN 6 WHEN 'SH' THEN 7 ELSE 8 END, x.FirstWord
    That got the desired results.
    Debra has a question

  • Query giving wrong result

    Hi
    Could anybody tell me why this query is giving the wrong result? The column 'Spend for Selected Period' is showing as far too much (ie exactly 11 times too much!!!) when totalling the 37 invoices involved
    SELECT T0.[CardCode], T0.[CardName],T0.[MailCity] AS 'Town', T2.[SlpName] AS 'Rep',
    SUM(T1.DocTotal - T1.VatSum)  AS 'Spend for Selected Period', MAX(T3.CreateDate) AS 'Last Visit Date'
    FROM OCRD T0  left JOIN OINV T1 ON T0.CardCode = T1.CardCode LEFT JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode LEFT JOIN OSCL T3 ON T0.CardCode = T3.Customer
    where  T0.[CardCode] = 'wyk027/34' AND T1.DocDate BETWEEN '20090101' AND '20091231'
    GROUP BY T0.[CardCode], T0.[CardName],T0.[MailCity], T2.[SlpName]
    Thanks
    Steve

    Hi ,
    It seems like it is duplicated by the number of service calls.
    Try this one:
    SELECT T0.CardCode, T0.CardName,T0.MailCity AS 'Town', T2.SlpName AS 'Rep',
    SUM(T1.DocTotal - T1.VatSum) AS 'Spend for Selected Period', (select MAX(T3.CreateDate) from OSCL T3 where T0.CardCode = T3.Customer) AS 'Last Visit Date'
    FROM OCRD T0 inner JOIN OINV T1 ON T0.CardCode = T1.CardCode inner JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode
    where T0.CardCode = '10001' AND T1.DocDate BETWEEN '20090101' AND '20091231'
    GROUP BY T0.CardCode, T0.CardName,T0.MailCity, T2.SlpName
    Best regards,
    Maya

  • Same query giving different results

    Hi
    I m surprised to see the behaviour of oracle. I have two different sessions for same scheema on same server. In both sessions same query returns different results. The query involves some calculations like sum and divisions on number field.
    I have imported this data from another server using export / import utility available with 9i server. Before export every thing was going fine. Is there some problem with this utility.
    I m using Developer 6i as the front end for my client server application. The behaviour of my application is very surprizing as once it shows the correct data and if I close the screen and reopen, it shows wrong data.
    I m really stucked with the abnormal behaviour. Please tell me the possiblities and corrective action for these conditions.
    Regards
    Asad.

    There is nothing uncommitted in both the sessions. But still different results are returned.
    I m sending u the exact query and result returned in both sessions.
    Session 1:
    SQL> rollback;
    Rollback complete.
    SQL> SELECT CC.CREDIT_HRS,GP.GRADE_PTS
    2 FROM GRADE G, COURSE_CODE CC, GRADE_POLICY GP
    3 WHERE G.COURSE_CDE=CC.COURSE_CDE
    4 AND G.SELECTION_ID=45 AND G.GRADE_TYP=GP.GRADE_TYP
    5 AND G.TERM_PROG_ID=17 AND GP.TERM_ID=14
    6 /
    CREDIT_HRS GRADE_PTS
    3 4
    4 3.33
    4 3.33
    3 4
    3 4
    3 4
    3 4
    7 rows selected.
    SQL>
    SESSION 2:
    SQL> rollback;
    Rollback complete.
    SQL> SELECT CC.CREDIT_HRS,GP.GRADE_PTS
    2 FROM GRADE G, COURSE_CODE CC, GRADE_POLICY GP
    3 WHERE G.COURSE_CDE=CC.COURSE_CDE
    4 AND G.SELECTION_ID=45 AND G.GRADE_TYP=GP.GRADE_TYP
    5 AND G.TERM_PROG_ID=17 AND GP.TERM_ID=14
    6 /
    CREDIT_HRS GRADE_PTS
    3 4
    4 3.33
    3 4
    3 4
    3 4
    3 4
    6 rows selected.
    SQL>
    U can see in session 1, seven rows are returned while in session 2 six rows are returned. I have issued a rollback before query to be sure that data in both sessions is same.

  • Mac Pro not recognizing bootable DVDs and Disk Utility giving odd results.

    My issue is complex, but I'll try my best to explain it as I can.
    One has been resolved it seems, but I am including it so that the whole issue can be seen in context.
    Friday, May 16, 2014
    Last night, after rebooting my Mac Pro from my Bootcamp partition (I'm using Windows 7 Professional if that information is helpful) I received a kernel panic upon Mac OS X booting (Mac OS X 10.6.8).
    My first action was to launch Disk Utility to verify the Mac HD, verify was stopped by disk utility citing that I should insert my Mac OS X install DVD and repair the disk.
    I tried booting from my Snow Leopard install DVD. After the grey Apple logo appeared with the gear spinning below it remained for roughly ten to fifteen seconds (a little long) — then the Apple logo changed to. A grey prohibitory sign (circle with a diagonal line through it, the spinning gear remained. — I tried booting from the Snow Leopard DVD a few time, same result.
    Following this I tried booting using Disk Warrior, same result again.
    I tried booting both the Snow Leopard and Disk Warrior DVDs in both my upper and lower optical drives, with no change.
    I decided to leave the issue and call Apple Support in the morning
    Saturday, May 17, 2014
    This morning I woke my Mac Pro from sleep, opened Disk Utility and tried verifying the hard drive to see if it was temporary — same result, 'please insert the Mac OS X install DVD and repair the drive.' — I also tried booting the install DVD again with no result.
    I then booted my Mac into Safe Mode to check my hardware.
    Upon opening Disk Utility and verifying my Mac HD — the result "Macintosh HD appears to be OK", rand the test again to see if this was an anomaly, but disk returned another pass.
    I performed a normal restart of my system, although Finder was a little slower to load than normal, the system booted correctly. — I then launched Disk Utility and verified the Mac HD, it returned another pass.
    This confused me, after a call to Apple Support the tech explained that 'sometime a Safe Mode boot will fix problems because it disables all non-essential processes when booting. — That makes sense to me.
    However.
    The issue of my Mac not recognizing bootable DVDs remains — it reads disks correctly, it just will not boot them.
    Other steps I have taken to try and resolve this remaining issue.
    1. a PRAM reset. — No change.
    2. an SMC reset. — No change.
    3. Removal of newly installed RAM. — I have tried both running the old and new RAM separately, no change using either combination.
    4. Running bootable DVDs in different optical bays. — No change from both bays.
    a. My upper drive is an MCE Blu-Ray/DVD combo drive, but I have booted from this drive before. (Less than six months old.)
    b. My lower drive is LG DVD-RAM combo drive, I have also booted from this drive before. (Over one year old, replacement for an Apple optical drive.)
    None of the above steps have helped, I still cannot boot from my optical drives — I always receive a prohibitory sign shortly after the Apple logo.
    Other system information:
    Mac OS X 10.6.8
    8GB of RAM (4 x 2GB)
    500GB Western Digital Caviar Blue HDD (less than a year old, boot drive for Mac OS X 10.6.8)
    1TB Samsung HDD (for data storage and also containing Bootcamp partition)
    2TB HDD (cannot remember manufacturer, contains Time Machine backups, as well as data storage)
    ATI Radeon HD 5770 with 1GB of VRAM
    Sorry for the long post but I really need to be able to boot from my optical drives.

    Update: found an old Mountain Lion installation USB flash drive I created a while back.
    I am able to boot from the ML USB flash drive, but am still unable to boot from my either my Snow Leopard Install DVD or my Disk Warrior DVD. — I have verified both DVD and they pass verification tests.
    This leads me to believe that the problem resides either in the Mac, or in BOTH  the Snow Leopard and Disk Warrior DVDs.
    Since I am able to boot from a USB drive, I will look into the possibility of creating a bootable Snow Leopard drive, and perhaps also a Disk Warrior drive — at least until I can resolve the 'not able to boot from DVD' issue.

  • Message Mapping vs Interface Mapping test tabs giving different results.

    Hi all,
    I am developing an interface that always requires an output file to be created (even if there is no data).  I have found a way to change my select statement in the JDBC sender to initiate the message even if there isn't any data (using UNION select -1 ID, '' col1, '' col2, etc.) and that seems to work fine.  I then put logic in the message mapping to suppress the row that contains the -1 ID value, which would result in an empty file when there is no other data, and should result in a file containing only the correct data when there is data.
    So, my problem: I am always getting empty files with this logic.  I tested the logic in the message mapping test tab and it worked perfectly, however when I test it using the interface mapping test tab it results in what becomes an empty file!
    My source and destination structures are fairly simple:
    Root
    --row
    ID
    col1
    col2
    The logic I use to suppress the ID = -1 row is:
    =removeContexts([]ifWithoutElse([keepss=true]Not([]equalsS([]ID, Constant([value=-1]))), SplitByValue([type=Each value]row)))
    Obviously, I'm stumped - any help would be appreciated!
    Edited by: Mike Morrison on Sep 23, 2010 5:04 PM

    Hi Mike,
    Can you quote the error log..u r getting error in message mappin or interface mapping?
    Please suggest the test results for both the mappings.
    Thanks,
    Sushama

  • CSS giving different results when defined locally, and when defined using an include file.

    In my experimental photo album page I originally defined the
    styles in a
    separate .CSS file. However this appeared to be incompatible
    with the
    requirement to have the session_start (); statement at the
    start of the file, so
    I then defined the styles locally. Now I have found that a
    style which gives
    padding to the right of an image no longer works in IE6,
    although Dreamweaver
    shows the expected result.
    I have made two very simple test files to demonstrate this:
    http://localhost/Corybas/Cydalba/Test/Test_page_8[1
    http://localhost/Corybas/Cydalba/Test/Test_page_8[2
    In Test_page_8[1].htm styles are defined by the include file
    ../Spl2.ccs, which
    is included using the following statement in the head:
    <link href="../Spl2.css" rel="stylesheet" type="text/css"
    />
    The include file reads:
    /* Test.css for Cydalba project */
    .img_left { float:left; border:none; padding-left:0;
    padding-bottom:0;
    padding-top:0; padding-right:10px; }
    p { font-family: "Times New Roman", Times, serif; color:
    #f00000;
    margin-bottom: 0.25em; margin-top: 0px; border: 0; }
    In Test_page_8[2].htm styles are defined locally, using the
    following lines at
    the start of file:
    <style type="text/css">
    /* Test.css for Cydalba project */
    .img_left { float:left; border:none; padding-left:0;
    padding-bottom:0;
    padding-top:0; padding-right:10px; }
    p { font-family: "Times New Roman", Times, serif; color:
    #f00000;
    margin-bottom: 0.25em; margin-top: 0px; border: 0; }
    </style>
    With IE6 Test_page_8[1] gives the expected padding between
    the images and the
    adjacent text, but Test_page_8[2] does not. The para
    definition appears to work
    correctly in both cases.
    Can anyone explain this?
    Clancy

    Hi Rob,
    I am making a wild guess here...the reason could be that the internal tables or variables declared as part of Global data (if any) must be refreshed in your FM code.
    Regards,
    Sumant.

  • Mail merge ('09) is giving spurious results

    I am trying to do what should have been a fairly simple mail merge function, but it is producing weird results.  I am doing date calculations in Numbers, and using that for producing a document with different date elements (all are in the spreadsheet).  The formulas are working correctly, and the cells contain the correct information, but when I do the mail merge, Pages picks up data from different cells.  I can even change the target cells, and it still picks up the same data.
    Here is a portion of the Numbers data.
    The first entry (B2) is entered as a date.  The rest are all calculated using date functions.  The pattern is: Date, Month Name, Day Date.  Then repeat for the next day, etc.
    And, here is what it produced, with the target cell name preceding the merged data.  The text in blue worked correctly.  Once I created a text box, and put merge fields inside it, though, it started falling apart.  As you can see, the data did not match the cell data associated with the column name.  I then tried using the same data outside of the text box, and it was again spurious.  It seems that using a text box messes it up.  What I am using this on is very graphically oriented, and I hate to think of the challenge of not using text boxes and lining up graphic elements with underlying text… ugh….
    After spending a full day on this simple project, I gave up and went to Word.  I exported my Numbers data as an Excel spreadsheet, and it merged beautifully on a test run.  So, I reformatted all my documents (with a lot of images, which is part of why I wanted to use Pages). After spending another day getting it laid out in Word, I did the final merge.  Success!  It looked beautiful.  I cut the documents to the size I needed, only to find out it had resized them!  Back to Pages, which I prefer.  I can't get past the spurious results.  I've tried reloading Pages and the documents, but it doesn't work.  I have a number of templates in Pages that I need to use for this function, and I hate to think of finding a different program and redoing all of them.
    I am using iWork 09.  My Pages is version 4.3, and my OS is 10.7.5. 
    Any ideas?

    Oh, one other quirky thing happened.  In the text box I entered "mon1" for the starting date.  When I highlighted it, and added it as a Merge Field, it immediately changed the text to "mo1n".  I tried to correct it, but it changed it every time.  I have had that happen a number of times with other merge fields.  The "n" shows up after the date in the merged document, suggesting that the Merge Field was "mo1".  However, in my list of Merge Fields, it shows as "mon1".

  • Changing trace file name giving odd results - 10.2.0.2

    Hello,
    I'm trying to run a trace on a particular session. Using this:
    execute dbms_monitor.session_trace_enable(122, 58)
    It creates a tracefile in udump just fine. I turn tracing off:
    execute dbms_monitor.session_trace_disable(122, 58)
    Then the trace usually catches the next sql statement after I issued the disable and I've got a complete trace file.
    If I use the statement:
    alter session set tracefile_identifier = 'TEST';
    With or without quotes, what ends up happening is the tracefile is created with TEST tacked onto the end but what's inside the file is the full path to the file itself, no trace. The previous trace file before setting the identifier then gets all the trace output. This is on Red Hat. After this the only way to get tracing to work again is to close both sessions and start over.
    Am I forgetting to set another parameter when doing this? The litteral set of steps is:
    -open session 1
    -open session 2
    -session 1 run alter session set tracefile_identifier = 'TEST';
    -session 1 run execute dbms_monitor.session_trace_enable(122, 58)
    -session 2 run some sql
    -session 1 run execute dbms_monitor.session_trace_disable(122, 58)
    -session 2 run another sql statement
    -check the udump for the trace file
    Now the ultimate goal here is to be able to tag a trace with a name so I can trace a specific session (made by an application) and then find it later in udump. If the tracefile_id needs to be set in the offending session...well then I need another solution.
    Thanks

    Once the session starts writing to the trace file it
    is going to write to the same file until the session
    is closed.
    Until the session is closed...aaahhhh gotcha. Well that explains that.
    I tried the above with a new session and immediately set the identifier and got the same result, except it created the default trace file name as well as the new identifier copy with the path in it.
    The logon trigger might be a workaround but it's not killing me at the moment.

Maybe you are looking for

  • The difference between A and B?

    Hello, I've got a question. I'm about to buy an iPod. Not sure if it's gonna be a Touch or Classic. But what is the difference between the MA627ZD/A and MA627ZD/B? Both are 16 GB, so I don't get what could be the difference... Is B the one with the l

  • How to hide the specified rows in the output of the report?

    Hello all,     I have a requirement where i have to hide some of the lines (<b>initial 6 lines</b> that is <b>6 rows</b>) in the output of the report. How would I go about doing this? Thanks for you time.

  • Need help with flash text

    I created a banner for my groups web site with some simple text effects. It came out fine but I was assigned other work and was not able to finish the site for almost a yr. When I got back to it and tried to change a few words of the text it wouldn't

  • Documents related to SAP Netviewer

    Hi All,           On which site i get the information about SAP Netviewer or           documents related to that. Thanks & Regards,     Sagar Kale

  • Basic question: linked or unlinked text?

    Hi We are currently trialling InCopy for book publishing and are interested in the best way to set up the InDesign files. Our designers usually have all the text in a document linked; this might include body text, headings, breakout boxes, captions,