Different results when fetching using Datamaps vs. Limitmaps

Hello,
I'm currently using dbms_aw package to execute DML commands into AW's and using the OLAP_TABLE Function to access data. I'm encountering some unexepected behavior when trying to issue a "sort".
Please consider the following:
1. First I issue the command below and receive the following results:
SQL> exec dbms_aw.execute('lmt Product to first 5;rpr w 100 PA.SHORTLABELF')
PRODUCT PA.SHORTLABELF
TOTALPROD Total Product
FMGLC Gum Liq Ctr
FMGLC24 Gum Liq Ctr 24s
FMGLC24RP Gum Liq Ctr 24s RP
FMMXS Mints X-S
2. Next I sort the dimension values in status in ascending order by their shortlabel (simply a text variable dimensioned by my product dim.
SQL> exec dbms_aw.execute('sort PRODUCT a PA.SHORTLABELF')
PL/SQL procedure successfully completed.
3. I looked at the results of the sort I get (as expected)
SQL> exec dbms_aw.execute('rpr w 100 PA.SHORTLABELF')
PRODUCT PA.SHORTLABELF
FMGLC Gum Liq Ctr
FMGLC24 Gum Liq Ctr 24s
FMGLC24RP Gum Liq Ctr 24s RP
FMMXS Mints X-S
TOTALPROD Total Product
4. Then I enter the following commmand using the OLAP_TABLE function and LimitMaps I receive the correct set of returned values however my sort has not been applied:
SQL> SELECT * FROM TABLE(OLAP_TABLE('fmcalc DURATION SESSION','','',
2 'MEASURE Time1 FROM PA.SHORTLABELF '))
TIME1
Total Product
Gum Liq Ctr
Gum Liq Ctr 24s
Gum Liq Ctr 24s RP
Mints X-S
5. Finally, if I decide to go back and use datamaps in conjunction with the OLAP_TABLE function my sorting has "stuck"
SQL> SELECT Text1 FROM TABLE(OLAP_TABLE('fmcalc DURATION SESSION','TempTable','fetch PA.SHORTLABELF', ''))
Text1
Gum Liq Ctr
Gum Liq Ctr 24s
Gum Liq Ctr 24s RP
Mints X-S
Total Product
So, I guess the workaround to the using limitmaps is to use datamaps. My question is why does this behavior occur when using limitmaps and are there other scenrios where similiar behaviour might occur? My main reason is that during my development as a rule I have tried to use limitmaps.
thanks
brad

Hi Brad,
The short answer here is that SQL does not guarantee the order of rows unless it is explicitly sorted (at the SQL level). From that point of view, you could do something like
exec dbms_aw.execute('lmt Product to first 5;rpr w 100 PA.SHORTLABELF')
SELECT * FROM TABLE(OLAP_TABLE('fmcalc DURATION SESSION','','',
2 'MEASURE Time1 FROM PA.SHORTLABELF ')) order by TIME1 ascending;
(The reason this is happening is the code responsible for returning rows in the OLAP_TABLE limit map implementation is tuned to return data in the most efficient order.)
I hope this helps,
Ekrem

Similar Messages

  • Different results when I use the debug trace mode

    Hi,
    I'm using LabView to configure test subject equipment via SNMP messaging. During the process and before each reading I need to re-calibrate my spectrum analyzer for things like center frequency and channel bandwidth. To do this I have a function which send out the SNMP get request to an SNMP server.
    Currently I have the same vi appearing in a sequence loop a couple of times. When I run the program in debug mode everything is good. The first step in the sequence gets me a valid center frequency and the second delivers a valid channel bandwidth. However if I turn off the little light bulb (debug tool) I get a valid center frequency but the channel bandwidth returned to the calling vi is the center
    frequency.
    I've looked at the messages comming back from my SNMP server and they are correct. I've tried setting booleans which would hopefully ensure the correct message is delivered but no.... I even tried timers all over the place to slow things down.
    I'm running LabView 5.1 on an NT box with a P3 500 processor.
    This problem may have something to do with the same vi being called in the same sequence loop more than once??
    Any help would be apreciated.
    Regards
    Mike Gaskin

    You could make it reentrant. And make sure that they execute in right order.
    "Michael Gaskin" wrote in message
    news:[email protected]..
    > Hi,
    >
    > I'm using LabView to configure test subject equipment via SNMP messaging.
    During the process and before each reading I need to re-calibrate my
    spectrum analyzer for things like center frequency and channel bandwidth.
    To do this I have a function which send out the SNMP get request to an SNMP
    server.
    >
    > Currently I have the same vi appearing in a sequence loop a couple of
    times. When I run the program in debug mode everything is good. The first
    step in the sequence gets me a valid center frequency and the second
    delivers a valid channel bandwidth. However if I turn off the little light
    bulb (d
    ebug tool) I get a valid center frequency but the channel bandwidth
    returned to the calling vi is the center frequency.
    >
    > I've looked at the messages comming back from my SNMP server and they are
    correct. I've tried setting booleans which would hopefully ensure the
    correct message is delivered but no.... I even tried timers all over the
    place to slow things down.
    >
    > I'm running LabView 5.1 on an NT box with a P3 500 processor.
    >
    > This problem may have something to do with the same vi being called in
    the same sequence loop more than once??
    >
    > Any help would be apreciated.
    >
    > Regards
    > Mike Gaskin
    >

  • Do IMAQ Cast Image or IMAQ Linear averages give different results when using different computers that are running under Windows XP ?

    Hello
    I'm currently developping an image processing algorithm using Labview 7.1 and the associated IMAQ Vision tools. After several tests, I found a weird result. Indeed, I put the labview algorithm - including the IMAQ VI on the library to get sure that I use all the time the same VI - on my memory stick and used it on two different computers. I tested the same picture (still in my memory stick) and had two very different results.
    After several hours trying to understand why, I found that there were a difference between the results given by both computers at the very begining of the algorithm. Indeed, I used a JPEG file.
    To open it, I first create an Image with IMAQ Create (U8). Then, I open it.
    Then in my first sub-VI, I use IMAQ Cast Image to be sure that the picture is a U8 grayscale picture.
    Right after that, I use the IMAQ Linear Averages. The results of this VI are different on the two computers.
    I tried several time on the same picture : one computer always give me the same result but the two computers give me a different result. So there is no random variable on the results.
    So my question is : Do IMAQ Cast Image or IMAQ Linear averages give different results when using different computers that are running under Windows XP ?
    My bet is on IMAQ Cast Image but I'm not quite sure and I do not undestand why. The labview and IMAQ are the same on both computers.
    The difference between the two computer are above :
    Computer 1 :
    Pentium(R) 4 CPU 3.20GHz with a RAM of 1Go. The processor is an Intel(R).
    The OS is windows XP Pro 2002
    Computer 2 :
    Pentium(R) 4 CPU 2.80GHz with a RAM of 512Mo. The processor is an Intel(R).
    The OS is windows XP Pro 2002.
    If anybody can help me on this problem, it would be really helpful.
    Regards
    Florence P.

    Hi,
    Indeed it's a strange behaviour, could you send me your VI and your JPEG file, (or another file that reproduces) so that I could check this inthere ?
    I'll then try to find out what's happening.
    Regards
    Richard Keromen
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Découvrez, en vidéo, les innovations technologiques réalisées en éco-conception

  • Regular Expression: Different results when using FIND or regex classes

    Hi,
    has anybody an idea why the FIND REGEX statement and the regex class delivers different results when searching for
    ^\*
    in
    I try to find every place with an asterisk as first sign of the line.
    The FIND statement
    DATA gv_string        TYPE        string.
    DATA gv_pattern       TYPE        string.
    DATA gt_match_result  TYPE        match_result_tab.
    gv_string = '****'.
    gv_pattern = '^\*'.
    FIND ALL OCCURRENCES OF REGEX gv_pattern
                               IN gv_string
                          RESULTS gt_match_result.
    returns one hit as expected. But the class cl_abap_regex and cl_abap_matcher returns four hits in this example:
    DATA gv_string        TYPE        string.
    DATA gv_pattern       TYPE        string.
    DATA gt_match_result2 TYPE        match_result_tab.
    DATA gx_regex         TYPE REF TO cl_abap_regex.
    DATA gx_matcher       TYPE REF TO cl_abap_matcher.
    gv_string = '****'.
    gv_pattern = '^\*'.
    TRY.
        CREATE OBJECT gx_regex
          EXPORTING
            pattern = gv_pattern.
      CATCH cx_sy_regex .
        BREAK-POINT.
        EXIT.
    ENDTRY.
    TRY.
        CREATE OBJECT gx_matcher
          EXPORTING
            regex = gx_regex
            text  = gv_string.
      CATCH cx_sy_matcher .
        BREAK-POINT.
        EXIT.
    ENDTRY.
    gt_match_result2 = gx_matcher->find_all( ).
    BREAK-POINT.
    Looks like the class doesn't consider the start of line symbol (^). Is there an error in my implementation?
    Any help is appreciated.
    Matthias

    Hi Jim,
    thank you for your reply. But to negate a value set of single characters you have to use
    [^  ]
    I used just the character
    ^
    This is defined as anchor character for the start of a line (See the documentation link you posted -> chapter 'Special characters for search strings') .
    As I understand it, should the FIND REGEX statement does the same as the CL_ABAP_REGEX and CL_ABAP_MATCHER classes. Therefore, I do not understand, why both implementations deliver another result.
    And I didn't find an answer for that. Does anyone else?
    Matthias

  • I'm having trouble with something that redirects Google search results when I use Firefox on my PC. It's called the 'going on earth' virus. Do you have a fix that could rectify the vulnerability in your software?

    I'm having trouble with a virus or something which affects Google search results when I use Firefox on my PC ...
    When I search a topic gives me pages of links as normal, but when I click on a link, the page is hijacked to a site called 'www.goingonearth.com' ...
    I've done a separate search and found that other users are affected, but there doesn't seem to be a clear-cut solution ... (Norton, McAfee and Kaspersky don't seem to be able to detect/fix it).
    I'd like to continue using the Firefox/Google combination (nb: the hijack virus also affects IE but not Safari) - do you have a patch/fix that could rectify the vulnerability in your software?
    thanks

    ''' "... vulnerability in your software?" ''' <br />
    And it affects IE, too? Ya probably picked up some malware and you blame it on Firefox.
    Install, update, and run these programs in this order. They are listed in order of efficacy.<br />'''''(Not all programs detect the same Malware, so you may need to run them all to solve your problem.)''''' <br />These programs are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have.<br />
    ''Note: If your Malware infection is bad enough and you are mis-directed to URL's other than what is posted, you may have to use a different PC to download these programs and use a USB stick to transfer them to the afflicted PC.''
    Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php] <br />
    SuperAntispyware - [http://www.superantispyware.com/] <br />
    AdAware - [http://www.lavasoftusa.com/software/adaware/] <br />
    Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html] <br />
    Windows Defender: Home Page - [http://www.microsoft.com/windows/products/winfamily/defender/default.mspx]<br />
    Also, if you have a search engine re-direct problem, see this:<br />
    http://deletemalware.blogspot.com/2010/02/remove-google-redirect-virus.html
    If these don't find it or can't clear it, post in one of these forums for specialized malware removal help: <br />
    [http://www.spywarewarrior.com/index.php] <br />
    [http://forum.aumha.org/] <br />
    [http://www.spywareinfoforum.com/] <br />
    [http://bleepingcomputer.com]

  • SQL Query produces different results when inserting into a table

    I have an SQL query which produces different results when run as a simple query to when it is run as an INSERT INTO table SELECT ...
    The query is:
    SELECT   mhldr.account_number
    ,        NVL(MAX(DECODE(ap.party_sysid, mhldr.party_sysid,ap.empcat_code,NULL)),'UNKNWN') main_borrower_status
    ,        COUNT(1) num_apps
    FROM     app_parties ap
    SELECT   accsta.account_number
    ,        actply.party_sysid
    ,        RANK() OVER (PARTITION BY actply.table_sysid, actply.loanac_latype_code ORDER BY start_date, SYSID) ranking
    FROM     activity_players actply
    ,        account_status accsta
    WHERE    1 = 1
    AND      actply.table_id (+) = 'ACCGRP'
    AND      actply.acttyp_code (+) = 'MHLDRM'
    AND      NVL(actply.loanac_latype_code (+),TO_NUMBER(SUBSTR(accsta.account_number,9,2))) = TO_NUMBER(SUBSTR(accsta.account_number,9,2))
    AND      actply.table_sysid (+) = TO_NUMBER(SUBSTR(accsta.account_number,1,8))
    ) mhldr
    WHERE    1 = 1
    AND      ap.lenapp_account_number (+) = TO_NUMBER(SUBSTR(mhldr.account_number,1,8))
    GROUP BY mhldr.account_number;      The INSERT INTO code:
    TRUNCATE TABLE applicant_summary;
    INSERT /*+ APPEND */
    INTO     applicant_summary
    (  account_number
    ,  main_borrower_status
    ,  num_apps
    SELECT   mhldr.account_number
    ,        NVL(MAX(DECODE(ap.party_sysid, mhldr.party_sysid,ap.empcat_code,NULL)),'UNKNWN') main_borrower_status
    ,        COUNT(1) num_apps
    FROM     app_parties ap
    SELECT   accsta.account_number
    ,        actply.party_sysid
    ,        RANK() OVER (PARTITION BY actply.table_sysid, actply.loanac_latype_code ORDER BY start_date, SYSID) ranking
    FROM     activity_players actply
    ,        account_status accsta
    WHERE    1 = 1
    AND      actply.table_id (+) = 'ACCGRP'
    AND      actply.acttyp_code (+) = 'MHLDRM'
    AND      NVL(actply.loanac_latype_code (+),TO_NUMBER(SUBSTR(accsta.account_number,9,2))) = TO_NUMBER(SUBSTR(accsta.account_number,9,2))
    AND      actply.table_sysid (+) = TO_NUMBER(SUBSTR(accsta.account_number,1,8))
    ) mhldr
    WHERE    1 = 1
    AND      ap.lenapp_account_number (+) = TO_NUMBER(SUBSTR(mhldr.account_number,1,8))
    GROUP BY mhldr.account_number;      When run as a query, this code consistently returns 2 for the num_apps field (for a certain group of accounts), but when run as an INSERT INTO command, the num_apps field is logged as 1. I have secured the tables used within the query to ensure that nothing is changing the data in the underlying tables.
    If I run the query as a cursor for loop with an insert into the applicant_summary table within the loop, I get the same results in the table as I get when I run as a stand alone query.
    I would appreciate any suggestions for what could be causing this odd behaviour.
    Cheers,
    Steve
    Oracle database details:
    Oracle Database 10g Release 10.2.0.2.0 - Production
    PL/SQL Release 10.2.0.2.0 - Production
    CORE 10.2.0.2.0 Production
    TNS for 32-bit Windows: Version 10.2.0.2.0 - Production
    NLSRTL Version 10.2.0.2.0 - Production
    Edited by: stevensutcliffe on Oct 10, 2008 5:26 AM
    Edited by: stevensutcliffe on Oct 10, 2008 5:27 AM

    stevensutcliffe wrote:
    Yes, using COUNT(*) gives the same result as COUNT(1).
    I have found another example of this kind of behaviour:
    Running the following INSERT statements produce different values for the total_amount_invested and num_records fields. It appears that adding the additional aggregation (MAX(amount_invested)) is causing problems with the other aggregated values.
    Again, I have ensured that the source data and destination tables are not being accessed / changed by any other processes or users. Is this potentially a bug in Oracle?Just as a side note, these are not INSERT statements but CTAS statements.
    The only non-bug explanation for this behaviour would be a potential query rewrite happening only under particular circumstances (but not always) in the lower integrity modes "trusted" or "stale_tolerated". So if you're not aware of any corresponding materialized views, your QUERY_REWRITE_INTEGRITY parameter is set to the default of "enforced" and your explain plan doesn't show any "MAT_VIEW REWRITE ACCESS" lines, I would consider this as a bug.
    Since you're running on 10.2.0.2 it's not unlikely that you hit one of the various "wrong result" bugs that exist(ed) in Oracle. I'm aware of a particular one I've hit in 10.2.0.2 when performing a parallel NESTED LOOP ANTI operation which returned wrong results, but only in parallel execution. Serial execution was showing the correct results.
    If you're performing parallel ddl/dml/query operations, try to do the same in serial execution to check if it is related to the parallel feature.
    You could also test if omitting the "APPEND" hint changes anything but still these are just workarounds for a buggy behaviour.
    I suggest to consider installing the latest patch set 10.2.0.4 but this requires thorough testing because there were (more or less) subtle changes/bugs introduced with [10.2.0.3|http://oracle-randolf.blogspot.com/2008/02/nasty-bug-introduced-with-patch-set.html] and [10.2.0.4|http://oracle-randolf.blogspot.com/2008/04/overview-of-new-and-changed-features-in.html].
    You could also open a SR with Oracle and clarify if there is already a one-off patch available for your 10.2.0.2 platform release. If not it's quite unlikely that you are going to get a backport for 10.2.0.2.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • I get different result when I paste with mouse and shift+ins

    Sometimes I get different result when I paste the clipboard content with mouse and shift+insert key combination. Why? What can I do to stop this annoyance?

    Just to add a little to the above, there really is no universally applied standard (not even close) for how the primary, secondary, and clipboard buffers should be used.  Any X program can use them however they wish.  But there are some common patterns: selected text should be placed in the primary buffer, and X pastes from the primary buffer with either middle click or shift-ins by default.
    This default can (and unfortunately often is) overriden by clipboard managers - I don't know why they don't stay true to their name and just manage the clipboard buffer, but they often don't.
    <mini rant>with no clipboard tools installed, selected text in any program I have is in the primary selection, and shift+ins or middle click paste from this primary selection.  Ctrl-C/Ctrl-V post to/from the clipboard buffer.  No need for extra tools.  If I install any clipboard manager, this default sanity of X11 goes strait to s(&*Y.  I don't like clipboard managers </mini rant>  <mini praise> X11 is great without any of that cruft added </mini praise>
    Last edited by Trilby (2013-06-15 03:12:39)

  • Can you use the same charging cable for both an iPhone and an IPad or are they different?  When I use the charging cable for my iPhone on my Ipad, it doesn't charge.

    Can you use the same charging cable for both an iPhone and an IPad or are they different?  When I use the charging cable for my iPhone on my Ipad, it doesn't charge.

    The quickest way (and really the only way) to charge your iPad is with the included 10W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    How to Calibrate Your Mac, iPhone, or iPad Battery
    http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at
    Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
    New iPad Takes Much Longer to Charge Than iPad 2
    http://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipa d-2.html
    Apple Batteries - iPad http://www.apple.com/batteries/ipad.html
    Extend iPad Battery Life (Look at pjl123 comment)
    https://discussions.apple.com/thread/3921324?tstart=30
    New iPad Slow to Recharge, Barely Charges During Use
    http://www.pcworld.com/article/252326/new_ipad_slow_to_recharge_barely_charges_d uring_use.html
    Tips About Charging for New iPad 3
    http://goodscool-electronics.blogspot.com/2012/04/tips-about-charging-for-new-ip ad-3.html
    Prolong battery lifespan for iPad / iPad 2 / iPad 3: charging tips
    http://thehowto.wikidot.com/prolong-battery-lifespan-for-ipad
     Cheers, Tom

  • How can I narrow down results when I use 'command f' or 'spotlight' ?

    When I use 'command f' or 'spotlight'  I can be very specific with what i'm looking for and I will get soooo many results that the search is almost not worth it.

    System Preferences - Spotlight - Search Results

  • DBMS_CRYPTO.HASH produces a different hash result when I use it in sqlldr?

    Hello,
    If I execute the following in sqlplus:
    SELECT LOWER(SYS.DBMS_CRYPTO.HASH(UTL_RAW.CAST_TO_RAW(CONCAT('Salt','000000000')),3)) FROM DUAL;
    It produces one hash value. However, if I use similar logic in a sqlldr control file:
    OPTIONS (SKIP=7)
    LOAD DATA
    INFILE 'C:\data.csv'
    TRUNCATE INTO TABLE information
    FIELDS TERMINATED BY '|' OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    HOSTNAME          CONSTANT 'Company',
    HOSTSERVICENAME     CONSTANT 'LOB',
    ACCOUNTNAME,
    LASTNAME,
    EXTERNAL_ACCOUNT_ID     "LOWER(SYS.DBMS_CRYPTO.HASH(UTL_RAW.CAST_TO_RAW(CONCAT('Salt',:accountname)),3))"
    Where ACCOUNTNAME in the file data.csv is also '000000000'. What am I doing wrong?
    Thanks so much,
    Jay

    user3362629 wrote:
    If anyone is interested, the problem was with the column datatype of the table. sqlldr was attempting to load data into a column of type NVARCHAR2. When I changed the column type to VARCHAR2, the hash values from both sqlldr and sqlplus were the same. I'm not sure if this is an Oracle bug or if this expected behavior. This was using Oracle Enterprise Edition 11g.Jay,
    that's very interesting. One possible explanation that I could think of: Your SQL*Plus attempt:
    If I execute the following in sqlplus:
    SELECT LOWER(SYS.DBMS_CRYPTO.HASH(UTL_RAW.CAST_TO_RAW(CONCAT('Salt','000000000')),3)) FROM DUAL;used a VARCHAR2 literal, but the SQL*Loader code probably used a NVARCHAR2 as input to the function. From a RAW data perspective, these two, although representing the same string, could be quite different.
    You could try to do the same in SQL*Plus, by using a NVARCHAR2 input to the function. If you want to achieve that using a literal the problem is, that it's not that simple to use a NVARCHAR2 literal. You would need to use an NVARCHAR2 literal (N'000000000') and in addition probably turn on the so called "NCHAR String Literal Replacement", which means that you need to set an environment variable (ORA_NCHAR_LITERAL_REPLACE = TRUE).
    For more information regarding these issues, look here:
    Text literals: http://download.oracle.com/docs/cd/B28359_01/server.111/b28298/ch7progrunicode.htm#CACHHIFE
    NCHAR String Literal Replacement: http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/sql_elements003.htm#SQLRF00218
    It's probably far simpler to use a NVARCHAR2 stored somewhere in the database, or use e.g. a concatenation of the NCHR() function to generate a NVARCHAR2 on the fly than dealing with these literal conversion issues mentioned above.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • 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.

  • Why is the sound quality and volume in itunes so different than when I use other media players

    This is an issue which has been vexing me for some time. I've researched it all over the web and have not found a worthwhile answer. Some other posts on these forums have asked similar questions without successful answers. But, none the less, I will try...
    I have spent a lot of time over the last two years trying to get my itunes library organized as well as getting good digitized versions from my vinyl records as well as CDs. I was pleased with my results and then I added the songs to itunes. I could not believe how inconsistent the sound quality was. Invariably the volume is always lower. [Please do not post a reply such as: Check the volume controls in itunes proper as well as in itunes preferences (i.e., Sound Check, Sound Enhancer) & the Volume Adjustment in the Information pane under Options for particular songs.] I tried all of those means of adjusting volume. They do NOT work.
    There is something more insidious at work in itunes which prevent good sound reproduction. I will give an example. I have played Frankie Valle and the Four Season's song "C'Mon Marianne" on the OS X system sound (i.e. clicking the play button to the song file when selected on the desktop or wherever it resides) as well as in Amadeus Pro. The song sounds great. When I play it when it's in the itunes' library the first part of the song is too lound and then when Frankie Valle starts singing his voice is at a significantly reduced volume.
    I have edited the foregoing song in Amadeus Pro to a very high volume (i.e., Effects>Amplify), reloaded it into itunes and it still does not inprove the volume of Frankie's voice in the song, even though the rest of the song is somewhat louder. I have played with the Equalizer in itunes to no effect. It just does not work.
    Now, I would glading move away from itunes and use another media player. However, I have other Apple devices through which I listen to music. And the only way I know of to listen,e.g., on the iphone is through itunes.
    The other related problem with itune, or should I say iCloud, is icloud match. The icloud Match has taken great sounding music and given me back music of an inferior quality, even though it is a Matched AAC format.
    I'm am sorry if I am a little peeved about this issue. If anyone has some suggestions or input to a solution, I will be eternally grateful. Thanks a bunch.

    fbuerg,
    You are welcome. Glad my good fortune was helpful to you.
    Time Keeper

  • Different result when running as background job

    Hi,
    We got a program which has a selection screen with a couple of select-options.
    When we start this programm with a specified variant, it proceeds to a result screen. If we click back now (to the selection-screen) and run the programm with the exactly same settings again, one select-option is getting ignored and therefore we get incorrect results.
    This happens only, if you go back from the result screen and  excecute it again from the selection screen or if we start it as a background job.
    If you exit the programm completely and restart it, the results are correct again.
    It makes no sense to post any code snippets here, since the program is very complex. I just can't imagine any reason, why the select-option is sometimes getting ignored.
    Does anyone have an idea?
    Thanks in advance.
    Regards,
    Tobi

    oh well it DOES explain it.
    just think of following select:
    Select *
    from   vbap
    into    ls_vbap
    where vbeln not in lr_vbeln.
    if lr_vbeln is not cleard you will run into problems maybe.
    anyway, may it be that somewhere in coding you are manually modifying your select option?
    It´s just an internal table of type range, so have a look there.

  • Why Do I get different result when Run as Admin to Standard?

    Why when Running this script to copy from the "config64" folder (if files exist)(if not copy from "config32")  if works correctly when running  Batch file normally (copies the config64), but using the exact same line when running
    the Batch file as "Run as Administrator" it doesn't work correctly (copies the config32, even though Files do exist config64 folder as they did when I ran it normally and it worked)
    >nul 2>nul dir /a-d "Folder\config64\*" /s && (XCOPY "%~dp0Folder\config64\File64.ini" "%ProgramFiles(x86)%\CompanyFolder\ProductFolder\" /y /d) || (XCOPY "%~dp0Folder\config32\File32.ini" "%ProgramFiles(x86)%\CompanyFolder\ProductFolder\" /y /d)
    UAC is turned off and I'm the administrator (only user on a standalone PC) running windows 8.1.
    Is there a reason or it is a strange bug with Windows 8.1?

    A LOT  more intellectual than
    Frederik Long Who just had no clue himself to not offer an answer. As I've only been looking at this for 2 weeks I think I've come far and you help is much appreciated. Thank you JRV!
    You seem to miss the point. Assuming that your problem is caused by a bug can prevent you from finding the real cause. If you had dismissed the bug theory then you might have done some real debugging, e.g. by breaking up your single-line script (which is
    hard to comprehend) into easily digestible pieces and adding some debugging code like so:
    @echo off
    set Target="%ProgramFiles(x86)%\ComapanyFolder\ProductFolder\"
    dir /a-d "Folder\config64\*" /s 1>c:\Test.log 2>&1
    if %ErrorLevel% EQU 0 (
    XCOPY "%~dp0Folder\config64\File64.ini" %Target% /y /d /s 1>>c:\Test.log 2>>&1
    ) else (
    XCOPY "%~dp0Folder\config32\File32.ini" %Target% /y /d /s 1>>c:\Test.log 2>>&1
    The log file would have told you quickly what is going on. Furthermore - why should I offer my own solution to your problem when JRV gave you a perfect answer straight away?

  • Report Query shows different result when executed manually

    Hi!
    When I run our report I'll get 7577 distinct rows.
    From here on I copied the SQL query with SQL inspector, then pasted it in Oracle SQL Developer and replaced the user variable with the same value I entered when I ran the report from within Oracle Discoverer Desktop.
    But when I run this query I'll get 10925 distinct rows.
    How is that even possible??? I think the SQL inspector is supposed to print the exact same query which he used to display the data in the report? Am I missing something here?
    Thanks in advance!

    I found my error.
    I queried v$sql to get the real quey sent to the database and then saw how it actually got processed. I'ts ok now.

Maybe you are looking for