Decreased JPEG quality when inserted into iMovie as stillframe

I am trying to create a 1 minute video of still frames that consists of a picture that has a duration for 1 second, followed by a black screen for .5 second, repeated until the end of the video.
What I am finding is that the quality of the JPEG decreases when it is inserted to iMovie and is then saved to a file format that would work within presentations (often .wmv). I have tried saving as Quicktime and then using other programs to convert to .wmv but experience the same problem.
Is there an easy solution to this problem? I'd appreciate any help that I can get.

Sounds like you are creating web graphics. Your project is almost the a standard web banner size. It's very small. If your composition window is set to full resolution and 100% scale and the imported images are not perfect then follow these instructions.
The comp must be set to square pixels and an even number of pixels high and wide
The quality setting of the layer in the timeline must be set to high quality (the slash should be solid and go this way /)
Your original images should be created in square pixels (most are) and they should be an even number of pixels high and wide
Your images should be set to 100% scale.
Do that and you'll get a pixel for pixel reproduction of the original image. If you scale, rotate, or mix pixel aspect ratios then the pixels will be reinterpreted. If the image is an odd number of pixels high or wide then the pixels won't line up.

Similar Messages

  • Screen Capture Video Loses Quality When Imported Into iMovie - WHY?

    I am using screen capture software to make a video of my screen at 1024x768. The video is for a tutorial. I want to use iMove to get things like transitions and such into the movie, and to add text and audio. The problem is that, although the video looks great in QuickTime, it loses quality significanly when I import into iMove. The text on the screen is blurry, and the quality of everything else is terrible as well.
    Is this s limitation of iMove? Can screen capture video be imported? Does it only work with DV?
    Also, I tried to convert the file to many other formats, from QuickTime to MPEG-4, so it's not the file type.
    If anyone can help me out, I've be very grateful.
    Thanks!
    iBook G4   Mac OS X (10.4.5)  

    Your dimensions are getting in the way. iMovie converts your 1024X768 to a DV Stream file that is 720X480.
    One workaround would be to set your display resolution smaller. Try 800X600 (if your windows fit that size).
    If you're using Snapz Pro you should set your window capture to 640X480. This size will import nicely into iMovie.
    An even better way would be to do all of the work using QuickTime Pro. Again a 1024X768 QT.mov file would not fit on the most common display settings used. When you add the QT Player window the controller would be below the screen and not accessible for most users.
    800X600 would make a better file (smaller, too). It would still be 4:3 aspect and would also import into iMovie.

  • Photo from iPhoto gets cropped when inserted into iMovie

    My old video (miniDV camcorder, DV) is 4:3 and lower resolution than my photos (16:9, good digicam). I inserted a vertical photo into a video project, and the photo gets truncated on playback.
    I expected it to be scaled to fit when shown on the screen, like iPhoto does.
    Am I doing something wrong? Please tell me iMovie handles inserted photos sensibly.

    WHat version of iMovie, and iPhoto?
    THIs forum is for iMovie iOS (iPads, iPhones).
    Are you talking about iMovie for Mac?

  • IPhoto Slideshows: major loss of quality when passed to iMovie or iDVD

    Problem: Slideshows created in iPhoto and exported to a Quicktime movie lose quality when exported from iMovie or iDVD.
    I've read through many threads in both the iMovie and iDVD forums, and I've done a lot of testing to find the source of my frustration. Now I want to spell out my findings and see how they compare with what others know of this process. I'm posting the thread in this forum because iPhoto seems to be the common denominator.
    I create slideshows in iPhoto, adding Ken Burns effects to each photo individually. I then export the slideshow as a Large (640x480) movie. The resulting movie looks good when played in Quicktime.
    I import the Quicktime movie into iMovie, add some music and themes and then export it. No matter how I export it, the quality greatly suffers.
    I try bypassing iMovie and import the iPhoto-created movie directly to iDVD. I burn the project and the quality of the video suffers.
    As a final test, I create a similar slideshow in Photo to Movie, using pan and zoom effects and music, just like the iMovie project. I export the slideshow to a Quicktime movie and it looks great. I send that movie to iDVD and burn the project -- the quality is much better.
    All this testing tells me that iPhoto's exporting of the slideshow creates some problem when running the movie through iMovie or iDVD. At first I thought it was just the conversion of the video to Quicktime movie and then it being encoded again by iDVD. The thing is that Photo to Movie also creates a Quicktime movie and the result after iDVD is still good. I don't have a real technical explanation for what's going on, but surely somebody does!
    Sorry for the length of this post, but I needed to lay out all of my findings to try and get a good discussion going. Anyone have some insight into all this?
    PowerMac G5 1.8 GHz   Mac OS X (10.4.6)  

    Running into the same problems with video books. I created some video books (using iPhoto's book feature and exporting to iDVD) and the Quicktime files don't look good.
    However, I have created some slideshows prior and didn't run into any quality issues. I used the Share - Send to iDVD, but that shouldn't change anything.
    If you hear how to resolve video quality issues, I'd love to know. I haven't yet burned my video books to DVD (just exported to QT), but I'm hoping on the TV from 10+ feet away it will look fine.

  • ORA-07445 (solaris 9.0.) when inserting into LONG column

    i am getting a core-dump when inserting into a table w/ long column. running 9.0.1 on solaris.
    ORA-07445: exception encountered: core dump [kghtshrt()+68] [SIGSEGV] [Address not mapped to object] [0x387BBF0] [] []
    if anyone has ANY input - please provide it ... i am desperate at this point.
    i am trying to avoid upgrading to 9.2.0 to solve this problem.
    regards -
    jerome

    You should report this in a service request on http://metalink.oracle.com.
    It is a shame that you put all the effort here to describe your problem, but on the other hand you can now also copy & paste the question to Oracle Support.
    Because you are using 10.2.0.3; I am guessing that you have a valid service contract...

  • Jpeg quality when exporting

    Is there a way to adjust the jpeg quality when exporting or editing? I can change the image size, which is helpful, but it would be nice if I could change the jpeg compression in order to reduce the file size. Thanks!

    Hi Stanleydad,
    i noticed from you other post that you are using AOL.
    In iPhoto Preferences, have you chosen AOL as your email client.
    Once you do this, when you choose an images within iPhoto and click the email icon, iPhoto will open your AOL mail client and attach the photos with the size you chose in the export dialog.
    You might even want to make a new post that is all yours so it is easier for us to address all your needs.
    Give us the version of iPhoto you are using, the Mail client (AOL) and any other information on what you want to do and we will tell you how to accomplish it.
    Lori

  • Videos are often stretched when put into imovie. How can I change them back?

    Videos are often stretched when put into imovie. Help!

    Hi
    If I understands it right.
    You can not. iMovie'13 (v.10) are 16x9 ONLY.
    You need a previous version of iMovie - OR - FinalCut Pro-X
    Yours (Guessing) Bengt W

  • Pictures are loosing quality when imported into I photo 08

    Hello all,
    I have just recently made the switch to mac with no regrets, only a few questions. Here is my situation. I recently took some pictures at a wedding, I have a nikon d80 set with a jpeg setting. Now the pictures when viewed on my camera, on my windows PC and in finder look great. When I imported them into i photo, all the photo's have more red tones in them. Please advise.
    One more thing, when I imported the pictures, I saved them all to the hard drive, then imported them into i photo. don't know if it makes a difference.

    SD video is just 1/3 megapixel. Importing a multi-megapixel image into iMovie turns it into a 1/3 megapixel image (or if you use Ken Burn: a 1/3 megapixel video).
    Fear not. When you burn a DVD it will look just fine.
    IMPORTANT: When sending to iDVD from iMovie, iMovie may tell you that some stills are not rendered. Do NOT let iMovie render them. iDVD will do a much better job rendering them.

  • Poor photo quality when importing to iMovie

    I imported some photos to make a slide show with added soundtrack. When I select a photo and click the "Show photo settings" it looks crisp and clear, just as it was shot. As soon as I deselect the "Show photo settings" button it looks blurred, pixeled and fuzzy, just an ultra low quality photo. The end result of the video slide show it's just a low end work.
    I just want to burn some DVD's to show my photographic work, but such a poor photo quality it's not going to help me achieve what I had intended.
    Any clues anyone???

    I'd like to follow up on your answer re: resolving poor photo quality. It seems the mere act of bringing photos into iMovie degrades the quality. You look at the photo in the preview window and it looks crisp. But then when you "ADD" it to the timeline, it becomes almost fuzzy. Isn't iMovie rendering the photos then and there as you bring them into the timeline? I cannot seem to make the photos look sharper and it doesn't seem to help doing the slideshow first in iPhoto, which I'd rather not do anyway.
    Any suggestions?

  • Float truncated when inserted into table

    Hi,
    I'm trying to insert float values into a table with a column of type NUMBER(4,2) and the values are getting truncated to integer values. My environment is :
    Database: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    jdbc lib: 9.0.1.4
    I tried it with the jdbc lib version 9.0.1 and it works, but I didn't figure a way to use it, since I'm using it in a 9iAS environment and there's no driver classes12dms.jar for this version. If I try to use the classes12.zip version I get an exception when trying to access the database complaining about some classes missing (These classes missing are in the classes12dms.jar)
    Here's a simple test case:
    import java.sql.*;
    public class TesteFloat {
    public TesteFloat() {
    public static void main(String[] args) {
    Connection con = null;
    PreparedStatement stmt = null;
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:hal9000","kitbordo","kitbordo");
    stmt = con.prepareStatement("insert into teste (teste) values (?)");
    for (int i = 0; i < 10; i++) {
    stmt.setFloat(1,2.32f * i );
    //stmt.addBatch();
    stmt.executeUpdate();
    //stmt.executeBatch();
    con.commit();
    } catch (Exception e) {
    e.printStackTrace();
    } finally {
    if (con != null) {
    try {
    con.close();
    } catch (SQLException e) {
    CREATE TABLE TESTE
    TESTE NUMBER(4,2)
    )

    Hi,
    I'm trying to insert float values into a table with a column of type NUMBER(4,2) and the values are getting truncated to integer values. My environment is :
    Database: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    jdbc lib: 9.0.1.4
    I tried it with the jdbc lib version 9.0.1 and it works, but I didn't figure a way to use it, since I'm using it in a 9iAS environment and there's no driver classes12dms.jar for this version. If I try to use the classes12.zip version I get an exception when trying to access the database complaining about some classes missing (These classes missing are in the classes12dms.jar)
    Here's a simple test case:
    import java.sql.*;
    public class TesteFloat {
    public TesteFloat() {
    public static void main(String[] args) {
    Connection con = null;
    PreparedStatement stmt = null;
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:hal9000","kitbordo","kitbordo");
    stmt = con.prepareStatement("insert into teste (teste) values (?)");
    for (int i = 0; i < 10; i++) {
    stmt.setFloat(1,2.32f * i );
    //stmt.addBatch();
    stmt.executeUpdate();
    //stmt.executeBatch();
    con.commit();
    } catch (Exception e) {
    e.printStackTrace();
    } finally {
    if (con != null) {
    try {
    con.close();
    } catch (SQLException e) {
    CREATE TABLE TESTE
    TESTE NUMBER(4,2)
    )

  • Inconsistent datatypes error when inserting into a object

    I am trying to insert some test data into the table emp.I have managed to succesfully create the objects and types but when I try to insert into the emp table I get a inconsistent datatypes error however I have checked the datatypes and they all seem fine. Can anyone help me.
    thanks
    CREATE OR REPLACE TYPE Address_T AS object
    (ADDR1                VC2_40,
    ADDR2               VC2_40,
    CITY_TX          VC2_40,
    COUNTY_CD          VC2_40,
    POST_CD          VC2_40);
    CREATE OR REPLACE TYPE PERSON_T AS OBJECT (
    LNAME_TX           NAME_T,
    FNAME_TX           NAME_T,
    BIRTH_DATE          DATE,
    TELEPHONE          VC2_20,
    EMAIL               VC2_40);
    CREATE OR REPLACE TYPE EMP_T AS OBJECT (
    EMP_ID     NUMBER (10),
    PERSON     PERSON_T,
    ADDRESS ADDRESS_T,
    HIRE_DATE DATE)
    CREATE TABLE EMP OF EMP_T
    (EMP_ID NOT NULL PRIMARY KEY);
    INSERT INTO EMP VALUES (1,           
    PERSON_T('PETCH',
    'GAVIN',
    '23-JAN-80',
    '(01964)550700',
    '[email protected]'),
    ADDRESS_T('67 CANADA',
    'WALKINGTON',
    'BEVERLEY',
    'EAST YORKSHIRE',
    'HU17 7RL'),
    '11-FEB-02'
    ERROR at line 1:
    ORA-00932: inconsistent datatypes

    Gavin,
    What is your VC2_40 and NAME_T type definition? Your insert used these as varchar2, which is a built-in type not a user-defined type. If you explicitly define these to be varchar2's, the insert statement works fine.
    Regards,
    Geoff
    I am trying to insert some test data into the table emp.I have managed to succesfully create the objects and types but when I try to insert into the emp table I get a inconsistent datatypes error however I have checked the datatypes and they all seem fine. Can anyone help me.
    thanks
    CREATE OR REPLACE TYPE Address_T AS object
    (ADDR1                VC2_40,
    ADDR2               VC2_40,
    CITY_TX          VC2_40,
    COUNTY_CD          VC2_40,
    POST_CD          VC2_40);
    CREATE OR REPLACE TYPE PERSON_T AS OBJECT (
    LNAME_TX           NAME_T,
    FNAME_TX           NAME_T,
    BIRTH_DATE          DATE,
    TELEPHONE          VC2_20,
    EMAIL               VC2_40);
    CREATE OR REPLACE TYPE EMP_T AS OBJECT (
    EMP_ID     NUMBER (10),
    PERSON     PERSON_T,
    ADDRESS ADDRESS_T,
    HIRE_DATE DATE)
    CREATE TABLE EMP OF EMP_T
    (EMP_ID NOT NULL PRIMARY KEY);
    INSERT INTO EMP VALUES (1,           
    PERSON_T('PETCH',
    'GAVIN',
    '23-JAN-80',
    '(01964)550700',
    '[email protected]'),
    ADDRESS_T('67 CANADA',
    'WALKINGTON',
    'BEVERLEY',
    'EAST YORKSHIRE',
    'HU17 7RL'),
    '11-FEB-02'
    ERROR at line 1:
    ORA-00932: inconsistent datatypes

  • Error when inserting into dynamically created filename-file

    Howry
    Am am receiving the following error when i am trying to insert into a file that have a dynamic filename (through declared variable, as date etc.).
    I presume it is trying to look for the target file with the same name as the dynamic value passed through by the variable, but cannot find it- can anyone tell me how i can rather create the file as appose to insert into an already created file..?
    Your help in this regard is much appreciated.
    Here is the error:
    ODI-1217: Session SAPO_hlr_suburbs (1577001) fails with return code 7000.
    ODI-1226: Step 6_Ins_final fails after 1 attempt(s).
    ODI-1240: Flow 6_Ins_final fails while performing a Integration operation. This flow loads target table #l_date.unl.
    ODI-1228: Task 6_Ins_final (Integration) fails on the target FILE connection SAPO_HLR_SUBURBS.
    Caused By: java.sql.SQLException: File C:\Files\Gero work\ODI In Files\SAPO_HLR_SUBURBS/2012-01-24 12:06:13.463.unl was not found
         at com.sunopsis.jdbc.driver.file.FileConnection.prepareForWriting(FileConnection.java:339)
         at com.sunopsis.jdbc.driver.file.impl.commands.CommandInsert.execute(CommandInsert.java:50)
         at com.sunopsis.jdbc.driver.file.CommandExecutor.executeCommand(CommandExecutor.java:33)
         at com.sunopsis.jdbc.driver.file.FilePreparedStatement.executeUpdate(FilePreparedStatement.java:138)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:665)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3218)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java:1785)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2805)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java:68)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:619)

    What operating system are you using?
    The name of your file has the time within it , you cant have a filename with ':' in it on Windows.
    Try using ALPHANUMERIC datatype for the variable and pull the current datetime as a char with something like :
    select to_char( sysdate ,'YYYY-MM_DD HHMISS') from dual

  • Error when inserting into table - Undefined Variable

    DB = Oracle 10.2.0.1
    WEBSERV = Apache 2.0.55
    LANG = PHP5
    I have created (or more accurately, copied) a php script to insert data into one of my database tables when I press submit. The code is as follows (my connect string works fine and its included in the dbutils.php file):
    <?php
    if($submit == "submit"){
    include "dbutils.php";
      $query = "insert into users values (seq_user_usr_id.NEXTVAL, '$usr_name')";
      $cursor = OCIParse ($db_conn, $query);
      if ($cursor == false){
        echo OCIError($cursor)."<BR>";
        exit;
      $result = OCIExecute ($cursor);
      if ($result == false){
        echo OCIError($cursor)."<BR>";
        exit;
      OCICommit ($db_conn);
      OCILogoff ($db_conn);
    else{
       echo '
        <html><body>
        <form method="post" action="index.php">
    <table width="400" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td>Please enter a username:</td>
        <td><input type="text" name="usr_name"></input><br></td>
    </tr>
    <tr>
        <td><input type="submit" name="button" value="Submit"></input></td>
    </tr>
    </table>
        </form>
        </body></html>
    ?></p>I am getting the following error regarding an undefined variable:
    [Fri Jan 20 13:11:22 2006] [error] [client 127.0.0.1] PHP Notice: Undefined variable: submit in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\mywebsite\\test.php on line 3
    Where would I declare this variable? It is just a check to see if the submit button is pressed as far as I can see. Any help would be greatfully appreciated.
    W8

    I have changed the code to this:
    <?php
    if($submit == "submit"){
    include "dbutils.php";
    $usr_name = $_POST['usr_name'];
    $query = "insert into users (column1, column2) values (seq_user_usr_id.NEXTVAL, '$usr_name')";
    $cursor = OCIParse ($db_conn, $query);
    if ($cursor == false){
    echo OCIError($cursor)."
    exit;
    $result = OCIExecute ($cursor);
    if ($result == false){
    echo OCIError($cursor)."
    exit;
    OCICommit ($db_conn);
    OCILogoff ($db_conn);
    else{
    $submit = $_POST['submit'];
    echo '
    <html><body>
    <form method="post" action="index.php">
    <table width="400" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td>Please enter a username:</td>
    <td><input type="text" name="usr_name"></input>
    </td>
    </tr>
    <tr>
    <td><input type="submit" name="submit" value="submit"></input></td>
    </tr>
    </table>
    </form>
    </body></html>
    ?>And now I am getting the following error:
    [Mon Jan 23 13:45:32 2006] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  submit in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\mywebsite\\test2.php on line 24Does anyone have any ideas?
    I am struggling to find an example to work from to get this working. If anyone can point me to any literature that will explain the code so that I can work this out for myself that would also be a great help.

  • ORA-06502: error when inserting into table via db link with long datatype

    Folks,
    I am getting the following error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small.
    This occurs when an insert is done via a database link into a table that has a LONG data type for one of the columns, and the string contains some carriage returns and or line feeds.
    I have checked by removing the db link, and inserting into a local table with identical column data types, where there is no error.
    So this might be another db link bug?
    So I need to remove the carriage returns and/or line feeds
    in my pl/sql block in the page process. I have tried
    l_text := REPLACE(l_text, CHR(10), ' ');
    l_text := REPLACE(l_text, CHR(13), NULL);
    but still getting the ORA-06502. Would really appreciate some advice here, please.
    Cheers
    KIM

    Scott,
    Time to 'fess up':
    My fault sorry, the error was coming from another page process where I had allowed insufficient string length for one of the variables, and my error message did not identify the page process clearly.
    This leads me to make a request for future releases, could the system error messages state which page process caused the problem?
    One other thing I notice, and this might be a feature not a fault, the page processes are numbered: "Page Process:      3 of 5". However process 3 is not the 3rd one to be processed, and probably refers to the order in which they are created. Should the number reflect the process order?
    Cheers
    KIM

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

Maybe you are looking for

  • Help setting up Aelfred and SAX for MIDP

    This relates to chapter 11 & 12 of Yu Feng book Wireless Java Programming with J2Me. Where exactly do you install Aelfred and Sax? What variables have to be set in the class path or what jar files have to be placed where. I can't compile my applicati

  • Combo box help

    ok i have 3 combo boxs - name, id, pic the first combo box name determines the values of the other comboboxes. the id combo box value changes successfully but when i try and change the value of the pic combobox i get an out of bounds error. can anyon

  • 部署失败

    java.lang.InstantiationException: Error parsing META-INF/application.xml in C:\oc4j_extended\j2ee\home\applications\webapp: Fatal error at line 0 offset 0 in file:/C:/oc4j_extended/j2ee/home/applications/webapp/: The encoding "GBK" is not supported.

  • Numeric format with leading sign

    Hi, I am sending some data to external agency thru my info spoke extraction. They want the - sign leading the amount field, Eg I asm sending as 400- and they want -400. I am looking for any component type that supports this kind of format on currency

  • Failover between server farms

    Hi, I'm requesting advise on problem below : - I have 2 datacenter with one server farm on each DC and 5 servers behind each server farm - each server has 5k max connection limit on each server farm - I want to be able to be able to failover to one S