Title insertion problem

preview looks ok but when I drag the title to the clip, it just goes back to the text field. the "update" button is staying grey (can't click). ??

Hi thigpen - it sounds as though you are not doing it correctly. You do not drag the actual text. Instead you drag the small blue square from beside the title-option you have chosen. Drag it down to a join between two clips, just in front of the one you want the title to superimpose on (or if creating it 'over black', then drag it to where you wish the title inserted on the track).
These tutorials may be of help to you:
http://www.apple.com/support/imovie/tutorial/index.html

Similar Messages

  • Update/Insert Problem with Oracle Warehouse Builder

    Hello,
    i have update/insert problem with owb.
    Situation: I have a source-table called s_account and a target table called w_account_d. In the target table are already data which was filled trough the source table inserts. Now anyone make changes on data on the target table. This changes should now give further on the source table with an update operation. But exactly here is the problem i can´t map back the data to source because that will create a loop.
    My idea was to set a trigger but i can´t find this component in owb or is anywhere hidden?
    Also i have already seen properties as CDC or conditonal loading in the property inspector of the table, but i have no idea how it works.
    Give it other possibilities to modeling this case? or can anyone me explain how i can implement this eventually with CDC?
    I look forward for your replies :)

    Hi
    thanks for your answer. I follow your suggestion and have set the constraints of both tables into the database directly.Nevertheless it doesn´t work to begin. In the next step i found by right click on a table the listpoint "configure" - I goes to "unique key" --> creation method and set here follow options: Constraint State = ENABLE, Constraint Validation = Validate. That error message that appears before by the deployment disappears yet. Now i start the job to test if the insert/update process works right. Finally it seems to work - but not really.
    My Testscenario
    1. Load the data from source table about the staging area to data warehouse table: Check - it works!
    2. Change one data record in source table
    3. Load the source table with changed data record once again to staging area: Check - it works!
    4. Load new staging area table with the changed data record to data warehouse table: Check it works! BUT, BUT i can not recognize if it is insert or update operation, then under the design window by jobs execution windows is reported "rows selected 98", Rows inserted" is empty and "rows updated" is empty. So i think works not correct, then my opinion if it works correct it should show be "rows updated" 1.
    What can yet now still be wrong or forgotten? Any ideas?
    *By the way think not 98 rows there is not important if you make an update or insert which performance. It is an example table the right tables have million of records.*
    I look forward for your answers :)

  • CRUD insert problems.

    Hello all,
    I was wondering about DB operations in JSF pages, so I took a look over the Single Page CRUD example. What hitted me was there is a need for a two step insertion, first by issuing a select in search for the biggest ID of the primary key, and after that the insertion of the element with that obtained biggest ID + 1. I see at least 2 problems with this approach:
    1. Concurrency issues.What happends if 2 users are issuing at the same time an insert operation over the same table? There is the possiblity of getting the same ID to insert, and the first one could insert, but the second one would fail even if it's request is logically corect (validated & converted). I see three solutions over the insert problem:
    a. lock on the database (if it's possible).
    b. using a synchronized block in the application bean to get the ID and insert.
    c. using DB specific constructs (e.g. MySQL's AUTO_INCREMENT)
    2. Overhead issues. Why doing in two steps an operation that should be just an insert? Previous a. an b. approaches do not solve our overhead problem, because we still have two steps in insertion; we only synchronize them.
    I was wondering which is the best practice for production quality web applications. Personally because I've picked MySQL as DB I've used AUTO_INCREMENT, but the immediate huge and obvious drawback is dumping DataProvider's capability of changing the storage medium at a glance.

    I'm not sure if I entirely understood your questions here.
    - Concurrency problem.
    database bound Data provider underneath uses CachedRowset, which uses SyncProvider to take care of concurrency problem. If the default RIOptimisticProvider is not enough, it possible to register other more sophisticated SyncProvider.
    You can read about it here.
    http://java.sun.com/j2se/1.5.0/docs/api/javax/sql/rowset/CachedRowSet.html
    - Overhead issue
    I believe, it is possible to let the DB auto increment the primary key field, and left it out in the insertion from data provider.
    - Winston
    http://blogs.sun.com/roller/page/winston?catname=Creator

  • Making CD case "title inserts" FYI

    I found a great way to make title insert for CD cases. Crop a 5x5, color, outline 40 pixels, ( 5x5 is a little large and an inside "outline gives you a "trim guide" ) Do your outline in white to save ink. I insert photos and adjust transparency to about 60% for a background and then type song titles. Using "gradients" adds really nice background effects. Print to any paper you choose. This is SO much easier and better than typing!

    I have always just used generic photo/image editing software like Photo Shop Elements, Photo Deluxe (there's an oldie), etc. You might be able to do it with AppleWorks as well.
    I haven't made on in a long time, but when I used to do it fairly regularly, I simply measured the "U Card" and the booklet sizes on a CD, draw the frames for those and saved them as templates. Then when I need a new cover, I would pull up the template, make my cover/artwork (usually on another layer) then deleted or hid the template before printing.
    Once you have made one, others are much faster.
    Patrick

  • XML insert problem

    Hi,
    I am trying to insert an xml ducument into table.
    But because of quotation i the file is not getting inserted.
    here is the Insert statement
    INSERT INTO MYTABLE3
    VALUES(' <catalog>
         <book >
    <author>Gambardella, Matthew</author>
    <title>XML Developer's Guide</title>
    <genre>Computer</genre>
    <price>44.95</price>
    <publish_date>2000-10-01</publish_date>
    <description>An in-depth look at creating applications
    with XML.</description>
    </book>
    </catalog>'
    The following line causing the error
    <title>XML Developer's Guide</title>
    can anybody tell me how to solve this problem.
    cheers
    RRK

    Simply escape it with another single-quote inside the main content.
    For example, try
         SELECT 'New Year''s Day' FROM dual;
    Hope this helps
    Gajanan

  • Text insertion problem with 'Share' applications

    When I add photos to an email in iPhoto (9.3) using the templates and try to insert text, the "insert your message here" dialogue cannot be removed and my text sustituted.  Also the same situation in the book and card creation programs. This is just a recent development. Any ideas?   

    Try this:  launch iPhoto with the Option key held down and create a new, test library.  Import some photos and check to see if the same problem persists. If it doesn't then you current library is the culprit.
    In that case  make a temporary, backup copy of your library if you don't already have one (Control-click on the library and select Duplicate from the contextual menu) and  apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Since only one option can be run at a time start with Option #3, followed by #4 and then #1 as needed.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    You might consider using Mail as your email client instead of iPhoto.  Mail has photo stationary similar to iPhoto's themes and is easier to add multiple addresses and provides a Sent copy.
    OT

  • Insertion problem .... plzzzzzzzzzzz help

    I have a jsp page code below mentioned...
    This jsp page retrieved values from a html files, which is shown as bold.
    my problem is that i cannot insert the values in database.plzz help me...
    <html>
    <head>
    <title></title>
    </head>
    <body>
    <%@ page import =" java.sql.Date.*" %>
    <%@ page import =" java.text.SimpleDateFormat.*" %>
    <%@ page import =" java.util.Date.*" %>
    <%@ page import =" java.text.*" %>
    <%@ page import="javax.servlet.*" %>
    <%@ page import="javax.servlet.http.*" %>
    <%@ page language="java" import="java.sql.*" %>
    <%
         String     Security_No, Category_code,Face_Value, Purchase_Value,Interest_Paid,Interest_Received,Brokrage,Total_Value,Voucher_No,Voucher_Date,Voucher_Amt,D_Date1,D_Date2,Ledger_No,Maturity_Date,sql1 ;
         java.util.Date voudate_temp=null;
         java.util.Date duedate1_temp=null;
         java.util.Date duedate2_temp=null;
         java.util.Date matdate_temp=null;
         ResultSet results;
         PreparedStatement sql;
    try {
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         Connection conn=DriverManager.getConnection("jdbc:odbc:pf","scott","ttlscott");
         System.out.println("got connection");
              try
                   SimpleDateFormat format = new SimpleDateFormat("dd/MM/yyyy");
                   format.setLenient(false);
                   int     sec_no, catg_code,face_val,pur_val,int_paid,int_recd,brkr,tot_val,vou_amt;
                   String vou_no, lf_no;
                   java.sql.Date vou_date, due_date1, due_date2,mat_date;
                   boolean     doneheading = false;
                   Statement s=con.createStatement();
              Security_No = request.getParameter("secno");
              Category_code = request.getParameter("catcode");
              Face_Value = request.getParameter("facevalue");
              Purchase_Value = request.getParameter("purvalue");
              Interest_Paid = request.getParameter("intpaid");
              Interest_Received = request.getParameter("intrecvd");
              Brokrage = request.getParameter("brokrage");
              Total_Value = request.getParameter("tvalue");
              Voucher_No = request.getParameter("vouno");
              Voucher_Date = request.getParameter("voudate");
              Voucher_Amt = request.getParameter("vouamt");
              D_Date1 = request.getParameter("due1");
              D_Date2 = request.getParameter("due2");
              Ledger_No = request.getParameter("lfno");
              Maturity_Date = request.getParameter("maturity");          
              sql1 = "insert into sec_mast values (" + "'" + Security_No + "', '" Category_code "' , '" + Face_Value + "', '" + Purchase_Value + "', '" + Interest_Paid + "', '" + Interest_Received + "', '" + Brokrage + "', '" + Total_Value + "', '" + Voucher_No + "', #"+ Voucher_Date+ "# , '" + Voucher_Amt + "', #" + D_Date1 + "#, #" + D_Date2 + "#, '" + Ledger_No + "', #" + Maturity_Date + "#)" ;
              s.executeUpdate(sql1);               
                   sql = con.prepareStatement("SELECT * FROM sec_mast WHERE sec_no = '" + Security_No + "' ");
                   results = sql.executeQuery();
                   while(results.next())
                        if(! doneheading)
                             doneheading = true;
    sec_no = results.getInt("sec_no");
    catg_code= results.getInt("catg_code");
    face_val = results.getInt("face_val");
    pur_val = results.getInt("pur_val");
    int_paid= results.getInt("int_paid");
    int_recd = results.getInt("int_recd");
                        brkr = results.getInt("brkr");
    tot_val= results.getInt("tot_val");
                        vou_no = results.getString("vou_no");
                        voudate_temp = results.getDate("vou_date");
    vou_amt = results.getInt("vou_amt");
                        duedate1_temp = results.getDate("due_date1");
    duedate2_temp= results.getDate("due_date2");
    lf_no= results.getString("lf_no");
         matdate_temp = results.getDate("mat_date");
    java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("MM/dd/yyyy");
                   sdf.setTimeZone(TimeZone.getDefault());
                   vou_date = sdf.format(voudate_temp);
                   java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("MM/dd/yyyy");
                   sdf.setTimeZone(TimeZone.getDefault());
                   due_date1 = sdf.format(duedate1_temp);
                   java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("MM/dd/yyyy");
                   sdf.setTimeZone(TimeZone.getDefault());
                   due_date2 = sdf.format(duedate2_temp);
                   java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("MM/dd/yyyy");
                   sdf.setTimeZone(TimeZone.getDefault());
                   mat_date = sdf.format(matdate_temp);
    out.println("<BODY bgColor=blanchedalmond text=#008000 topMargin=0>");
    out.println("<P align=center><FONT face=Helvetica><FONT color=fuchsia > <BIG>SECURITY INFORMATION</BIG></FONT></P>");
    out.println("<P align=center>");
    out.println("<TABLE align=center border=1 cellPadding=1 cellSpacing=1 width=\"75%\">");
    out.println("<TR>");
                        out.println("<TD>Secuirty No.</TD>");
    out.println("<TD>Category Code</TD>");
    out.println("<TD>Face Value</TD>");
    out.println("<TD>Purchase Value</TD>");
                        out.println("<TD>Interest Paid</TD>");
                        out.println("<TD>Interest Recieved</TD>");
    out.println("<TD>Brokrage Value</TD>");
    out.println("<TD>Total Value</TD>");
    out.println("<TD>Voucher No.</TD>");
    out.println("<TD>VOucher Date</TD>");
                        out.println("<TD>VOucher Amount</TD>");
    out.println("<TD>Due Date 1</TD>");
                        out.println("<TD>Due Date 2</TD>");
    out.println("<TD>L F No.</TD>");
                        out.println("<TD>Maturity Date</TD>");
                        out.println("<tr><td>" + sec_no);
                        out.println("<td>" + catg_code);
                        out.println("<td>" + face_val);
                        out.println("<tr><td>" + pur_val);
                        out.println("<td>" + int_paid);
                        out.println("<td>" + int_recd);
                        out.println("<tr><td>" + brkr);
                        out.println("<td>" + tot_val);
                        out.println("<td>" + vou_no);
                        out.println("<tr><td>" + vou_date);
                        out.println("<td>" + vou_amt);
                        out.println("<td>" + due_date1);
                        out.println("<tr><td>" + due_date2);
                        out.println("<td>" + lf_no);
                        out.println("<td>" + mat_date);
                   if(doneheading)
                        out.println("</table>");
                   else
                        out.println("<BODY bgColor=blanchedalmond text=#FF0000 topMargin=0>");
                        out.println("<P align=center><FONT face=Helvetica><FONT color=fuchsia ></FONT></P>");
    out.println("<P align=center>");
                        out.println("No matches for " + Security_No);
                   }catch(ParseException e) {
    out.println("do date format error action.<br>");
              catch (SQLException s)
                   out.println("<BODY bgColor=blanchedalmond text=#FF0000 topMargin=50>");
                        out.println("<P align=center><FONT face=Helvetica><FONT color=fuchsia ></FONT></P>");
    out.println("<P align=center>");
                   out.println("Duplicate Entry.Try another Security Code No.<br>");
              catch(ParseException e) {
              out.println("do date format error action.<br>");
         catch (ClassNotFoundException err)
              out.println("Class loading error");
    %>
    </body>
    </html>

    you should try posting it in the jsp forum.what error/exceptions are you getting if any?

  • Help insert problems

    I am very new to web development and I’m sure
    it’s a simple problem. I keep receiving an error “
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in
    INSERT INTO statement.
    And I can’t figure it out. My database table is
    “CSH” and my fields include “Date, Type, Title,
    URL, Description” any help would be greatly appreciated

    As was said in the two previous replies ...... YOU WILL HAVE
    PROBLEMS WITH RESERVED WORDS.
    Try enclosing your column named DATE in brackets [DATE] or
    easier yet, rename the column. Also, using single quotes (') is
    correct, NOT double quotes ("). Plus, like I said, if your DATE
    column is a date/time column, you will probably need to convert
    your FORM.date variable to a datetime object.
    Phil

  • CS3 flash insertion problems

    I just upgraded to CS3. When I insert my swf file dreamweaver
    is only placing this in the code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
    width="670" height="308" title="bob">
    <param name="movie" value="/homeMovie4.swf" />
    <param name="quality" value="high" />
    <embed src="/homeMovie4.swf" quality="high" pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="670"
    height="308"></embed>
    </object>
    </body>
    </html>
    That's it! Thus when I upload to the server I don't get to
    see a flash movie. It worked fine in version 8 but 8 inserted
    additional code. PLEASE HELP....is there some option I don't have
    turned on?????
    Thanks
    Andy
    Text

    Are you sure you just aren't looking at all the code? When I
    follow your
    steps, I get this -
    <script type="text/javascript">
    AC_FL_RunContent(
    'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','132','height','82','src','Flash/rollingsquare','quality','high','pluginspage','http:/ /www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','Fl ash/rollingsquare'
    ); //end AC code
    </script><noscript><object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
    width="132" height="82">
    <param name="movie" value="Flash/rollingsquare.swf" />
    <param name="quality" value="high" />
    <embed src="Flash/rollingsquare.swf" quality="high"
    pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="132"
    height="82"></embed>
    </object></noscript>
    Note that *your* code IS there, but it's properly placed
    within <noscript>
    tags. Are you certain you do not have that?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "wwwlord" <[email protected]> wrote in
    message
    news:[email protected]...
    > Open DWCS3
    > My site is defined
    > File - New - blank page HTML
    > File save as whatever.htm
    > Click in the design window....cursor is in top left
    corner of the view
    > Insert - Media - Flash (first selection in the list)
    > Browse in my site to the swf file
    > The accessibility pop up shows up title in this case was
    bob
    > Flash object appears in the design view and code is
    written as it appears
    > in
    > my first post.
    >
    > I have 4 installs in my office none of which as this
    problem.
    > I have a client that installed DWCS3 earlier this week
    and is having the
    > identical problem.
    >
    > I have reinstalled and I have also tried to insert the
    media using the
    > Common
    > toolbar....same problem.
    >
    > Ideas????? I kinda need to be able to insert flash. I
    have not found any
    > forums or KB's that address this specific problem of not
    writing all the
    > code
    > needed.
    >
    > Any help is appreciated.
    >
    >

  • User defined field insertion problem in Stock Taking Report (PLD)

    We are creating one PLD for one of our customer for Stock Taking Report by modifying the existing sytem report. We will insert two user defined fields (Rack & Bin) from OITW table and link these with the warehouse code field which is at report header as there are different warehouse for the item and material is kept in different rank and bin in different warehouse. But after inserting these fields we found that repetative area becomes blank in the report.
    So please let us know how to overcome this problem.
    Thanks & with regards.
    Aloke
    Edited by: ALOKE BANDYOPADHYAY on Sep 4, 2010 4:42 PM

    Hi Aloke,
    This PLD is one of the hard coded PLD. You are not able to add UDF freely. I believe you may only add UDF from OITM table. Try you own report instead.
    Thanks,
    Gordon

  • Insert problem

    hi guys,
            i want to insert the data into sap r/3 table..via jco using bapi
             here is the program...., but data is not found in the sap table...
             any wrong in my program ?...
             they given some data to insert into sap table
             import parameters,table rows.... i shown in the below program.(exact information i set )
           IFunctionTemplate ftemplate = repository.getFunctionTemplate("ZHR_INFOTYPE_OPERATION");
               if(ftemplate != null) {
            // Create a function from the template
           JCO.Function function = ftemplate.getFunction();
           JCO.ParameterList paralist=function.getImportParameterList();
                             paralist.setValue("11","PERNR");
                             paralist.setValue("INS","ACTIO");
                             paralist.setValue("A","TCLAS");
                             paralist.setValue("20071213","BEGDA");
                             paralist.setValue("20071213","ENDDA");
                             paralist.setValue("1","OBJPS");
                             paralist.setValue("LTA","SUBTY");
                             client.execute(function);  //executing the function.
                       JCO.Table sales_orders = function.getTableParameterList().getTable("PROPOSED_VALUES");
                             sales_orders.appendRows(3);
                              System.out.println("after function"+sales_orders.getNumRows());
                             for(int i=0;i<sales_orders.getNumRows();i++)
                                     sales_orders.setValue("0582","INFTY");
                                     sales_orders.setValue("P0582-AMTEX","FNAME");
                                  sales_orders.setValue("200.00","FVAL");
                                  sales_orders.nextRow();
                                  sales_orders.setValue("0582","INFTY");
                                  sales_orders.setValue("P0582-JBGDT","FNAME");
                                  sales_orders.setValue("20071213","FVAL");
                                  sales_orders.nextRow();
                                  sales_orders.setValue("0582","INFTY");
                                  sales_orders.setValue("P0582-JENDT","FNAME");
                                  sales_orders.setValue("20071213","FVAL");
                        JCO.Table sales_orders1 = function.getTableParameterList().getTable("MODIFIED_KEYS");
                                 sales_orders1.setRow(1);
                                 sales_orders1.appendRow();
                               sales_orders1.setValue("11","PERNR");
                               sales_orders1.setValue("0582","INFTY");
                               sales_orders1.setValue("LTA","SUBTY");
                               sales_orders1.setValue("1","OBJPS");
                               sales_orders1.setValue("20071213","BEGDA");
                               sales_orders1.setValue("20071213","ENDDA");
                 System.out.println("modified"+sales_orders1.getNumRows());
                 System.out.println("modified"+sales_orders.getNumRows());
        OUTPUT: in my console it showing it appended...
                      but that record is not present in the sap r/3 table
                      when abapers are checking that record...

    hi,
    this is a custom functiion module  which is  a rfc
    here record is not inserting in the sap r/3 table
    what is the problem?
    i got the ouput like this......
    MODIFIED_KEYS
    PROPOSED_VALUES
    IMPORT         ACTIO
    IMPORT         BEGDA
    IMPORT         DIALOG_MODE
    IMPORT         ENDDA
    IMPORT         LUW_MODE
    IMPORT         MASSN
    IMPORT         NO_ENQUEUE
    IMPORT         NO_EXISTENCE_CHECK
    IMPORT         OBJPS
    IMPORT         PERNR
    IMPORT         PERSG
    IMPORT         PERSK
    IMPORT         PLANS
    IMPORT         SEQNR
    IMPORT         SPRPS
    IMPORT         SUBTY
    IMPORT         TCLAS
    IMPORT         WERKS
    EXPORT          HR_RETURN
    EXPORT          RETURN
    EXPORT          RETURN1
    NO OF ROWS ARE:---3
    THE COLUMNS IN THE TABLE ARE:--4
    INFTY:     0582
    FNAME:     P0582-AMTEX
    FVAL:     200.00
    SEQNR:     00
    INFTY:     0582
    FNAME:     P0582-JBGDT
    FVAL:     20061215
    SEQNR:     00
    INFTY:     0582
    FNAME:     P0582-JENDT
    FVAL:     20061215
    SEQNR:     00
    PERNR:     00000011
    INFTY:     0582
    SUBTY:     LTA
    OBJPS:     1
    SPRPS:     
    ENDDA:     2006-12-15
    BEGDA:     2006-12-15
    SEQNR:     000

  • Insert problem using a SELECT from table with a index by function TRUNC

    I came across this problem when trying to insert from a select statement, the select returns the correct results however when trying to insert the results into a table, the results differ. I have found a work around by forcing an order by on the select, but surely this is an Oracle bug as how can the select statements value differ from the insert?
    Platform: Windows Server 2008 R2
    Oracle 11.2.3 Enterprise edition
    (I have not tried to replicate this on other versions)
    Here are the scripts to create the two tables and source data:
    CREATE TABLE source_data
      ID                 NUMBER(2),
      COUNT_DATE       DATE
    CREATE INDEX IN_SOURCE_DATA ON SOURCE_DATA (TRUNC(count_date, 'MM'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120101', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120102', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120103', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120201', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120202', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120203', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120301', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120302', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120303', 'YYYYMMDD'));
    CREATE TABLE result_data
      ID                 NUMBER(2),
      COUNT_DATE       DATE
    );Now run the select statement:
    SELECT id, TRUNC(count_date, 'MM')
    FROM source_data
    GROUP BY id, TRUNC(count_date, 'MM')You should get the following:
    1     2012/02/01
    1     2012/03/01
    1     2012/01/01Now insert into the results table:
    INSERT INTO result_data
    SELECT id, TRUNC(count_date, 'MM')
    FROM source_data
    GROUP BY id, TRUNC(count_date, 'MM');Select from that table and you get:
    1     2012/03/01
    1     2012/03/01
    1     2012/03/01The most recent month is repeated for each row.
    Truncate your table and insert with the following statement and the results should now be correct:
    INSERT INTO result_data
    SELECT id, TRUNC(count_date, 'MM')
    FROM source_data
    GROUP BY id, TRUNC(count_date, 'MM')
    ORDER BY 1, 2;If anyone has encountered this behavior before could you please let me know, I can't see that I am making a mistake as the selects results are correct they should not differ from what is being inserted.
    Edited by: user11285442 on May 13, 2013 5:16 AM
    Edited by: user11285442 on May 13, 2013 6:15 AM

    Hi,
    welcome to the forum. I cannot reproduce the same behavior.
    Could you please post the SQLPlus output while executing all commands, like it has been done by S10390?
    Also post the output of the following command:
    SELECT * FROM v$version;When you put some code or output please enclose it between two lines starting with {noformat}{noformat}
    i.e.:
    {noformat}{noformat}
    SELECT ...
    {noformat}{noformat}
    Formatted code is easier to read.
    Regards.
    Al                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Report designer - inserting problem

    hi,
    we want to use report designer for formatting reports. When we insert
    query to report then following error occurs: internal error
    ID: E-CREATEFROMQUERY and message: reference to object is not set to
    instance of the object. When I go through this errors and execute
    this report to web I get this error: Web Item Report error: Tag "band"
    with name "footer1": Tag "keyfigure": Nested tag "y" must not
    be empty. Have you any solution for this problem?
    Thanx

    Hi,
    I mean frontend SP 12 (is already released). You can stay on your SPS in ABAP, Java. Frontend is compatible with older backend.
    Regards, Karol

  • An insert problem

    hi
    i am inserting in a table values like-----
    insert into tab1(col1) values(seq.nextval);
    my col1 of tab1 is of varchar2(20) datatype and seq is a sequence.
    now an error is coming
    PL/SQL: ORA-00984: column not allowed here
    why??

    does not look like any error here...
    14:14:07 SQL> CREATE TABLE tab1 (col1 VARCHAR2(20));
    Table created.
    Elapsed: 00:00:00.00
    14:14:20 SQL> CREATE SEQUENCE seq START WITH 1 INCREMENT BY 1;
    Sequence created.
    Elapsed: 00:00:00.00
    14:14:46 SQL> INSERT INTO tab1(col1) VALUES(seq.NEXTVAL);
    1 row created.
    Elapsed: 00:00:00.00
    14:15:06 SQL> SELECT * FROM tab1;
    COL1
    1
    Elapsed: 00:00:00.00
    14:15:13 SQL> INSERT INTO tab1(col1) VALUES(seq.NEXTVAL);
    1 row created.
    Elapsed: 00:00:00.00
    14:15:22 SQL> SELECT * FROM tab1;
    COL1
    1
    2
    Elapsed: 00:00:00.00can you give more details about your problem, desc of your table, name of the sequence etc...

  • Database insertion problem

    Hello,
    I was wondering how to solve a problem at inserting new rows in a mysql database. I have a table named employees and one named addresses. In order to link an address to an employee I use an address_id at the employee table. Though, the addresses table is also used by so many other tables. The problem is that every time I insert an employee to the database (and therefore an address) I need to know the address_id so that I can insert it into the proper column in the employee row. The address_id is autonumerical. One solution I thought was to query the addresses table before the insertion to get the next address_id. Then use that number in the employees table. Though, I imagine that when the web applications is used by a large number of people at the same time, there are going to be some concurrency problems.
    What can be a better solution?
    Is there a better data model I could use for this matter?
    I hope I made myself clear in my writing,
    Thank you,
    Alfredo Fern�ndez A.

    Typically you do the followng.
    1. Start a transaction.
    2. Insert address - which also returns the id of the insertion.
    3. Insert the employee.
    4. Commit the transaction.
    Step 2 depends on what specific database you are using.
    It can also depends on the business rules for an address.

Maybe you are looking for