Codepage error in WHERE statement

Hi,
My program on Win2003 server with oracle client works fine, but on another machine with instant client does not.
The next statement gets back data on 1st server, but nothing on the 2nd machine:
SELECT myField FROM myTable WHERE someField = 'TÁSZ'.
The problem is with the letter 'Á'.
The database is the same! Only the client changing.
Please advice something!
Regards,
Zoltán

I don't think this is the right forum. What are you using for data access? Oracle Data Provider for .NET? or something else?
Also, look into NLS_LANG settings. You might need to set those with instant client.

Similar Messages

  • Error in if statement

    i am writing a stored procedure in which i have made use of if statement my requirement is that in the if statement if a
    certain record exists then go inside the if condition otherwise else condition i am getting error
    my SQL Statement is this
    create or replace
    PROCEDURE usp_addAppointment_Mst
    parameter list
    AS
    pAppdetailsid number(10,0);
    v_Appcode varchar(10);
    begin
         if exists(Select * from dr_slots Where SlotId = pSlotId and MaximumPatient = AllocatedPatient )then
    Select v_AppDetailsId from dual;
         return ; -- this is my return statement
    else
    Select NVL(max(AppId),0) + 1 into v_Appid From Appointment_Mst;
    v_Appcode := 'APP' || cast(*v_Appid* as varchar(5)); -error in this line
    /*some code*/
         Select AppDetailsId from Appointment_Dtls where AppDetailsId=pAppdetailsid;
    end if;
    end;
    what i am doing is that if statement mentioned above becomes TRUE then execute select statement and return
    from there otherwise it goes inside else statement and perform some operation which is there inside the transaction
    and then select some value which actually the last statement in else block this is my actual requirement
    while executing i am getting this error
    Error(71,58): PLS-00103: Encountered the symbol "(" when expecting one of the following:     . ) @ %
    Edited by: user21354 on Feb 21, 2011 1:05 AM
    Edited by: user21354 on Feb 21, 2011 1:08 AM

    What is this line doing in there?
    variable declaration That's not valid PL/SQL code.
    Please also consider posting your code using {noformat}{noformat} tags as desribed in the SQL and PL/SQL FAQ: SQL and PL/SQL FAQ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • [Microsoft][ODBC Microsoft Access Driver] Syntax error in UPDATE statement.

    Hi,
    I am getting following error message ,
    [Microsoft][ODBC Microsoft Access Driver] Syntax error in UPDATE statement.
    When run this code.
    <%@ page import= "java.sql.*"%>
    <%
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:bspipdb");
    Statement st = con.createStatement();
    st.executeUpdate("update tscipshift set 11-Aug-08='M' where TechN='Elamparuthi'");
    %>
    tscipshift=table ,column=11-Aug-08 are all exist.
    I dont know why I am getting error mesage.
    Any idea why?

    Shahbaz2008 wrote:
    you haven't set your user name and password hereI don't believe that's necessary with Access. Then again, it's not an enterprise database.
    Connection con = DriverManager.getConnection("jdbc:odbc:bspipdb");
    change it to this
    Connection con = DriverManager.getConnection("jdbc:odbc:bspipdb","+username+","+password+");
    here pass your username and password...
    In Oracle default user name and password is
    username = scott
    password = tigerSo who uses that? Only an eejit would leave that account open.
    So the statement would be
    Connection con = DriverManager.getConnection("jdbc:odbc:bspipdb","scott","tiger");
    or In Mirosoft Access there is no user name and password so the statement will be Like I said - unnecessary, and not the reason the OP is having problems.
    Connection con = DriverManager.getConnection("jdbc:odbc:bspipdb","","");>
    Besides this change your table name 11-Aug-08 to anything that is not start with number or any special symbols.
    for example aug112008 is good or aug is too good.No, it's still not good if you understand ANYTHING about relational databases and normalization.
    I think it would work.I think you're just as stup!d as the OP.
    %

  • Using alias in where statement

    simple sql:
    SELECT EMPLOYEE_ID,
    FIRST_NAME,
    LAST_NAME,
    EMAIL,
    PHONE_NUMBER,
    HIRE_DATE,
    JOB_ID,
    SALARY,
    COMMISSION_PCT,
    MANAGER_ID,
    DEPARTMENT_ID
    FROM EMPLOYEES
    WHERE EMPLOYEE_ID > 1000;
    is it somehow possible to use alias in where statement like
    SELECT EMPLOYEE_ID "ID",
    FIRST_NAME,
    LAST_NAME,
    EMAIL,
    PHONE_NUMBER,
    HIRE_DATE,
    JOB_ID,
    SALARY,
    COMMISSION_PCT,
    MANAGER_ID,
    DEPARTMENT_ID
    FROM EMPLOYEES
    WHERE "ID" > 1000;

    Hi,
    is it somehow possible to use alias in where statement likeWhy do you need it?
    To answer your question "Not directly"
    SQL> select empno eno, sal
      2  from emp
      3  where eno = 7900;
    where eno = 7900
    ERROR at line 3:
    ORA-00904: "ENO": invalid identifierColumn Alias are names given to give meaningful names to columns or the arithmetic operations' column.
    Twinkle

  • Error in this  statement

    This statement return an SQLException which says:
    Syntax error in INSERT INTO statement
    String mySql_1 = " INSERT INTO MEAL(MEAL_AMT_LOADED)"
    "WHERE MEAL.STU_NUM = '" jtfStNo.getText().trim()
    "'VALUES('"+jtfAmLd.getText().trim()+"')";
    I want the following query statement to allow me to insert a meal amount of a particular student through jtfAmLd into the MEAL table whereby a student must be identified by a student number also to be provided in jtfStNo.
    I'll be glad if you can help me with this statement
    Cool.

    I want to know how am i going to update the second table MEAL which
    contains a foreign key STU_NUM which referenced STUDENT the table which contains STU_NUM as a primary key using the criteria of a STU_NUM.
    Duffymo and DrClap i have tried UPDATE as follows:
    String query = "UPDATE STUDENT,MEAL"+
    "SET MEAL.MEAL_AMT_LOADED = '" + jtfAmLd.getText().trim() +"',"+
    "MEAL.MEAL_REL_MADE = '"+jtfRM.getText().trim()+ "' "+
    "WHERE STUDENT.STU_NUM = MEAL.STU_NUM"+
    "AND STUDENT.STU_NUM = '" + jtfStNo.getText().trim() + "'";
    But it returns an error which says:
    Failed to insertjava.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in UPDATE statement.

  • Left outer join 3 tables with where-statement

    Hi folks,
    I hope you can understand (and maybe solve) my problem.
    Generally I try to left outer join three tables. The third table is used for a WHERE-statement.
    The three table structures are the following:
    table 1 (user)   
    user1 | key
    table 2 (detail)  
    key | ID
    table 3 (header)
    ID | user2                 
    ...and I want to achieve the following structure (as example filled with data):
    user | key | ID
    |-----|----
    xy    | a    | 001
    xy    | b    | #
    z     | b     | #
    The clue ist the usage of the third table. I need the table to set user1 and user2 equal (WHERE) but there are two problems:
    1) Obviously I can't left outer join two tables with each other. In this case I already used the 'key' of table 1 to join it with the 'key' of table 2. So I can't left outer join the 'ID' of table 2 with the 'ID' of table 3. Error message that I can only left outer join a table once. Any proposals?
    2) I have to include a WHERE to equal user1 with user2. But I am not allowed to use the user2 from table 3 because of the left outer join.
    I tried this coding:
    SELECT auser1 akey b~id INTO TABLE itab FROM ( table1 AS a
      LEFT OUTER JOIN table2 AS b ON akey = bkey )
      LEFT OUTER JOIN table3 AS c ON bID = cID )
      WHERE auser1 = cuser2.
    I would really appreciate your help.
    Regards
    MrclSpdl

    IF you want to join a DB table with an internal table, you need to use the 'FOR ALL ENTRIES' statement.
    select dbfields
    into table itab2
    from dbtab
    for all entries in itab
    where dbfield1 = itab-field1.
    This will get you a second internal table with all the corresponding data for the first selection.  You can then join them with a loop through the first table and a read table on the second table (for 1 - 1 relation) or a nested loop statement on both tables (for 1 - N relation).  Make itab a hashed table when using read table with key, use a sorted table if you need to loop without key access.
    Regards,
    Freek

  • N unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    some one can help me please
    i have no idea what i must to do.
    an unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    The Exception Handler gave all the info that you need. No need to print the whole stack trace.
    The exception handler says
    Exception Details: java.lang.IllegalArgumentException
    TABLE1.NAME
    Look in the session bean (assuming that is where your underlying rowset is). Look in the _init() method for statements similar to the following:
    personRowSet.setCommand("SELECT * FROM TRAVEL.PERSON");
    personRowSet.setTableName("PERSON");
    What do you have?

  • JDBC: Syntax error in UPDATE statement???

    Hi,
    I have been trying to solve this seemingly simple problem for the past 4 hours, and I had no success. I am working on a jdbc:odbc connection which utilizes MS Access. I have been constantly getting "Syntax error in UPDATE statement", and this is the statement
    (name of the table is CDs, columns are number, artist, album, label and date - all strings):
    query = "UPDATE CDs SET artist = '" + fields.artist.getText() +"', album = '" +
    fields.album.getText() + "', label = '" +
    fields.label.getText() + "', date = '" +
    fields.date.getText() + "' WHERE number = '" + fields.number.getText() + "'";
    Can anybody recognize an error? Thank you,
    mirkokrug

    A couple of possibilities.
    If the column NUMBER is numeric then it wouldn't need quotes around the data value. Also if the column DATE is a date or date/time type then the format from the textbox may not be correct.
    Col

  • Error executing SQL statement

    Hi,
    Can anyone see why I am getting this error message for my SQL query?
    WITH SKU_DATA AS (
    SELECT /*+ MATERIALIZE */ DISTINCT FROM_LOC_ID,
               SKU_ID,
               DESCRIPTION,
               UPDATE_QTY,
            ORDER_ID,
            CONSIGNMENT,
               WEIGHT,
            PALLET_ID,
            CASE 
        WHEN Upd_Qty_Ratio < 1
        THEN TO_CHAR(UPDATE_QTY) || 'U'
        WHEN TRUNC(Upd_Qty_Ratio) = Upd_Qty_Ratio
        THEN TO_CHAR(Upd_Qty_Ratio) || 'C'
        ELSE TO_CHAR(TRUNC(UPDATE_QTY)) || 'C' || ' ' || TO_CHAR(ROUND(MOD(Upd_Qty_Ratio, 1) *  USER_DEF_NUM_3, 6)) || 'U'
        END CU_Sum
        FROM (
      SELECT DISTINCT
             FROM_LOC_ID,
          S.SKU_ID,
             S.DESCRIPTION,
             ITL.UPDATE_QTY,
             S.USER_DEF_NUM_3,
          OH.ORDER_ID,
          ITL.CONSIGNMENT,
          ITL.PALLET_ID,
             NVL(ITL.UPDATE_QTY,0)*NVL(S.EACH_WEIGHT,0) Weight,
             ITL.UPDATE_QTY/(CASE S.USER_DEF_NUM_3 WHEN 0 THEN 1 ELSE S.USER_DEF_NUM_3 END) Upd_Qty_Ratio
        FROM INVENTORY_TRANSACTION ITL, SKU S, LOCATION L, ORDER_HEADER OH
        WHERE ITL.SKU_ID = S.SKU_ID
        AND ITL.CODE = 'Pick'
        AND ITL.CONSIGNMENT = $P{Consignment}
        AND OH.ORDER_DATE = TO_CHAR($P{Date}, 'DD-Mon-YYYY')
        AND OH.ORDER_ID = ITL.REFERENCE_ID
        AND ITL.TO_LOC_ID = 'CONTAINER'))
    SELECT DISTINCT ORDER_ID, CONSIGNMENT, WEIGHT, PALLET_ID, CU_Sum,
    (SELECT NVL(TO_CHAR(SUM(CASE WHEN NULLIF(SUBSTR(Cu_Sum, -1), 'U') IS NULL THEN NULL ELSE REPLACE(Cu_Sum,'C',NULL) END)),'0') ||'C' || ' ' || NVL(TO_CHAR(SUM(CASE WHEN NULLIF(SUBSTR(Cu_Sum, -1), 'C') IS NULL THEN NULL ELSE REPLACE(Cu_Sum,'U',NULL) END)),'0') ||'U' FROM SKU_DATA) AS Total_Cu_Sum
    FROM SKU_DATAThanks in advance.
    SM.

    Hi Sean,
    It is saying error executing SQL statement, but with no "ORA error" so maybe its a Jasper Reports error i'm not too sure.
    And this is a different version of the one we done together, that one is running fine just having problems putting the jasper file on to the server. I'm just using the main bits from the original SQL.
    SM

  • Error Occured - Three state workflow

    http://www.eggheadcafe.com/software/aspnet/33106814/error-occured--three-state-workflow.aspx
    I faced this issue and was able to resolve it. I am hoping this will
    be helpful to someone who might get into trouble using the default
    three state workflow.
    I created a list and tried to use the default Three state workflow.
    The workflow was enabled to start as soon as a new list item was
    created. It started and the status was "Error Occurred". Being a Java
    guy I didn't know where to look for this error. I checked the Event
    Viewer but not much help. Is there a log file for Project Server
    application?
    Here is the reason why this happened. I had to go through most of my
    fields in the custom list to understand what was causing this problem.
    I had a field called Owner and I had enabled this option "Allow
    multiple selections: ". This caused something to break in the
    workflow. I am assuming it cannot handle a Person/Group field that
    allows multiple selections even though none of the list items actually
    had multiple persons selected.
    Hopefully this will help someone in the future if they enable any
    Person/Group field to have multiple selections.
    Kamlesh.

    http://www.eggheadcafe.com/software/aspnet/33106814/error-occured--three-state-workflow.aspx
    I faced this issue and was able to resolve it. I am hoping this will
    be helpful to someone who might get into trouble using the default
    three state workflow.
    I created a list and tried to use the default Three state workflow.
    The workflow was enabled to start as soon as a new list item was
    created. It started and the status was "Error Occurred". Being a Java
    guy I didn't know where to look for this error. I checked the Event
    Viewer but not much help. Is there a log file for Project Server
    application?
    Here is the reason why this happened. I had to go through most of my
    fields in the custom list to understand what was causing this problem.
    I had a field called Owner and I had enabled this option "Allow
    multiple selections: ". This caused something to break in the
    workflow. I am assuming it cannot handle a Person/Group field that
    allows multiple selections even though none of the list items actually
    had multiple persons selected.
    Hopefully this will help someone in the future if they enable any
    Person/Group field to have multiple selections.
    Kamlesh.

  • Beginner: Getting syntax error on WHERE clause in SELECT

    I'm very new to php and mySQL.  Am using DW master/detail to generate to basic code I need.  One thing I need to do is modify a select statement in the master to include a WHERE clause to limit the selection to a particular value in one field.
    I'm getting a syntax error with the WHERE clause I'm adding to the map select statement.
    This is the portion of the error message showing the error location:
    'WHERE Group='Community' LIMIT 0, 10'
    The php that generated the select is:
    $query_maps = "SELECT * FROM tblmaps ORDER BY tblmaps.DispSeq";
    $query_limit_maps = sprintf("%s WHERE Group='%s' LIMIT %d, %d", $query_maps, $selectGroup, $startRow_maps, $maxRows_maps);
    This approach to creating the select statement is from the code generated for the master page.  It adds the LIMIT clause.  All I did was add the "WHERE Group='%s' and the $selectGroup variable which comes from earlier code.  You can see that the $selectGroup variable is equal to the "Community: group.
    I've scanned the web to see what syntax error I might be making but haven't found anything that explains it.
    The full resolved select statement is:
    SELECT * FROM tblmaps ORDER BY tblmaps.DispSeq WHERE Group='Community' LIMIT 0,10
    What am I not seeing?
    Tom

    Thanks.  Make sense but changing that didn't help.
    Here's the error message I'm getting:
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Group='Community' ORDER BY tblmaps.DispSeq LIMIT 0, 10' at line 1
    The full select (from a debugging ECHO I inserted) is:
    SELECT * FROM tblmaps WHERE Group='Community' ORDER BY tblmaps.DispSeq LIMIT 0, 10
    Note that when I take the WHERE clause out, there is no syntax error.

  • ORA-17085 bug jdbc update on where statement

    hi,
    i'm going crazy. i have this bug since 2009 and i don't know how to do.
    i'm sure it's a bug from jdbc oracle (because it's working with mysql)
    i guess it's not possible to do update on a row where this row is in the where query.
    1) Resultset with a where condition
    2) resultset.next
    3)resultset update (the where field)
    4) resultset next
    5) resultst previous
    6) resultset update (the where field)
    ---> ORA-17085
    let's do this table:
    the table:
    CREATE TABLE test (
    c1 NUMBER(10,0) NOT NULL,
    c2 VARCHAR2(5) NULL,
    c3 NUMBER,
    c4 VARCHAR(5)
    ALTER TABLE test
    ADD CONSTRAINT test_pk PRIMARY KEY (
    c1
    the code with the bug:
    here's the code to do this bug
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class MyMain
    Connection con;
    ResultSet res;
    Statement stat;
    public MyMain()
    System.out.println("Loading JDBC driver.");
    String url = "jdbc:oracle:thin:DEMO/[email protected]:1521:ORCL";
    String sPilote = "oracle.jdbc.driver.OracleDriver";
    //String url = "jdbc:mysql://localhost/test?user=demo&password=demo";
    //String sPilote = "com.mysql.jdbc.Driver";
    try
    Class.forName(sPilote);
    con = DriverManager.getConnection(url);
    stat = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
    stat.execute("DELETE FROM test");
    stat.execute("INSERT INTO test(C1,C2,C3,C4) values (1,'C1',11,'C41')");
    stat.execute("INSERT INTO test(C1,C2,C3,C4) values (2,'C1',12,'C42')");
    stat.execute("INSERT INTO test(C1,C2,C3,C4) values (3,'C3',13,'C43')");
    stat.execute("INSERT INTO test(C1,C2,C3,C4) values (4,'C1',14,'C44')");
    stat.execute("INSERT INTO test(C1,C2,C3,C4) values (5,'C5',15,'C45')");
    stat.execute("INSERT INTO test(C1,C2,C3,C4) values (6,'C1',16,'C46')");
    // con.commit();
    // ERROR HERE
    //res = stat.executeQuery("SELECT c1,c2,c3,c4 FROM test ORDER BY c1"); // WHERE c2='C1'
    res = stat.executeQuery("SELECT c1,c2,c3,c4 FROM test WHERE c2='C1' ORDER BY c1");
    while (res.next())
    System.out.println("BEGIN: " + res.getInt("c1") + " " + res.getString("c2") + " " + res.getInt("c3") + " " + res.getString("c4"));
    res.first();
    res.next();
    System.out.println("-> UPDATE c2=c5");
    res.updateString(2, "C5");
    res.updateRow();
    // con.commit();
    System.out.println(res.getInt("c1") + " " + res.getString("c2") + " " + res.getInt("c3") + " " + res.getString("c4"));
    res.next();
    // con.commit();
    res.previous();
    System.out.println("-> UPDATE c2=c10");
    res.updateString(2, "C10");
    res.updateRow();
    System.out.println(res.getInt("c1") + " " + res.getString("c2") + " " + res.getInt("c3") + " " + res.getString("c4"));
    res.beforeFirst();
    while (res.next())
    res.refreshRow();
    System.out.println("END: " + res.getInt("c1") + " " + res.getString("c2") + " " + res.getInt("c3") + " " + res.getString("c4"));
    System.out.println("Finish.");
    catch (ClassNotFoundException e)
    e.printStackTrace();
    catch (SQLException e)
    // TODO Auto-generated catch block
    System.out.println( e.getErrorCode());
    e.printStackTrace();
    finally
    if (con != null)
    try
    con.close();
    catch (SQLException e)
    // TODO Auto-generated catch block
    e.printStackTrace();
    public static void main(String argv[])
    new MyMain();
    output:
    Loading JDBC driver.
    BEGIN: 1 C1 11 C41
    BEGIN: 2 C1 12 C42
    BEGIN: 4 C1 14 C44
    BEGIN: 6 C1 16 C46
    -> UPDATE c2=c5
    2 C1 12 C42
    -> UPDATE c2=c10
    17085
    java.sql.SQLException:
    so what to do to ask oracle to correct this bug ?
    thanks and have a nice day

    thanks for answer and sorry for not using code tag
    i want to open support request but we don't have support for oracle :-(
    well i try with all jdbc driver since 2009 and oracle 10g,10xe,11xe
    java is 1.6 and 1.7
    i really think it's about oracle jdbc because it's working with mysql.
    if i do where 1=1 then it's working because the bug happen only if i update a field who is in the "where query"
    let's see this code who has the same bug (more easy):
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class Test2 {
         Connection con;
         ResultSet res;
         Statement stat;
         public Test2() {
              System.out.println("Loading JDBC driver.");
              String url = "jdbc:oracle:thin:demo/[email protected]:1521:XE";
              String sPilote = "oracle.jdbc.driver.OracleDriver";
              try {
                   Class.forName(sPilote);
                   con = DriverManager.getConnection(url);
                   stat = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
                             ResultSet.CONCUR_UPDATABLE);
                   stat.execute("DELETE FROM test");
                   stat.execute("INSERT INTO test(C1,C2,C3,C4) values (1,'C1',11,'C41')");
                   stat.execute("INSERT INTO test(C1,C2,C3,C4) values (2,'C1',12,'C42')");
                   stat.execute("INSERT INTO test(C1,C2,C3,C4) values (3,'C3',13,'C43')");
                   stat.execute("INSERT INTO test(C1,C2,C3,C4) values (4,'C1',14,'C44')");
                   stat.execute("INSERT INTO test(C1,C2,C3,C4) values (5,'C5',15,'C45')");
                   stat.execute("INSERT INTO test(C1,C2,C3,C4) values (6,'C1',16,'C46')");
                   res = stat
                             .executeQuery("SELECT c1,c2,c3,c4 FROM test WHERE c2='C1' ORDER BY c1");
                   res.first();
                   res.next();
                   System.out.println("-> UPDATE c2=c5");
                   res.updateString(2, "C5");
                   res.updateRow();
                   // con.commit();
                   res.refreshRow(); // don't change something
                   System.out.println(res.getInt("c1") + " " + res.getString("c2")
                             + " " + res.getInt("c3") + " " + res.getString("c4") +" should be: 2 C5 12 C42");
              } catch (ClassNotFoundException e) {
                   e.printStackTrace();
              } catch (SQLException e) {
                   System.out.println(e.getErrorCode());
                   e.printStackTrace();
              } finally {
                   if (con != null)
                        try {
                             con.close();
                        } catch (SQLException e) {
                             e.printStackTrace();
         public static void main(String argv[]) {
              new Test2();
    }output:
    Loading JDBC driver.
    -> UPDATE c2=c5
    2 C1 12 C42 should be: 2 C5 12 C42
    thanks a lot for your help

  • 'Missing select' error for update statement using WITH clause

    Hi,
    I am getting the below error for update statement using WITH clause
    SQL Error: ORA-00928: missing SELECT keyword
      UPDATE A
      set A.col1 = 'val1'
         where
      A.col2 IN (
      WITH D AS
      SELECT col2 FROM
      (SELECT col2, MIN(datecol) col3 FROM DS
      WHERE <conditions>
        GROUP BY PATIENT) D2
      WHERE
      <conditions on A.col4 and D2.col3>

    Hi,
    The format of a query using WITH is:
    WITH  d  AS
        SELECT  ...  -- sub_query
    SELECT  ...   -- main query
    You don't have a main query.  The keyword FROM has to come immediately after the right ')' that ends the last WITH clause sub-query.
    That explains the problem based on what you posted.  I can't tell if the real problem is in the conditions that you didn't post.
    I hope this answers your question.
    If not, post a complete test script that people can run to re-create the problem and test their ideas.  Include a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    In the case of a DML operation (such as UPDATE) the sample data should show what the tables are like before the DML, and the results will be the contents of the changed table(s) after the DML.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • Unicode error free MODIFY statement

    HI All,
    I have midify statement in a loop like this.
    loop at itab into wa_itab.
    modify itab from wa_itab index tabx.
    endloop.
      I am working in ECC 6.0. It is showing unicode error at modify statement. Please suggest me the correct statemnt.ANy extension for modify statemnt..?
    Thanks,
    kishore

      LOOP AT IT_VBRK.
    <b>    CTAB = SY-TABIX.</b>
        LOOP AT IT_T001 WHERE BUKRS = IT_VBRK-BUKRS.
          IF SY-SUBRC  = 0.
            IT_VBRK-BUTXT = IT_T001-BUTXT.
    <b>        MODIFY IT_VBRK INDEX CTAB.</b>
            CLEAR CTAB.
          ENDIF.
        ENDLOOP.
      ENDLOOP.
    The problem may be with SY-TABIX, check the above code

  • DATAMOVER: Error: Syntax error in where clause for PSOPRDEFN

    SET LOG C:\PSUSER_HRM.log;
    SET input F:\psoprdefn.dat;
    IMPORT psoprdefn where OPRId = 'PS';
    when i execute this command after importing .dat file from my database i get error:
    Error: Syntax error in where clause for PSOPRDEFN
    any suggestions pls help....
    Thanks
    aravind
    Edited by: 967641 on Nov 20, 2012 11:39 AM
    Edited by: 967641 on Nov 20, 2012 11:40 AM

    That is correct.
    Datamover tries to insert data in PSOPRDEFN and rows exist with these keys.
    To avoid this you can add the following statement in your script:
    SET UPDATE_DUPS;
    This will update the values other than the keys if a row already exists in the database with the keys in the dat file.
    I can advice you to buy the new book of Jim Marion, PeopleSoft PeopleTools Data Management and Upgrade Handbook
    http://www.amazon.com/PeopleSoft-PeopleTools-Management-Upgrade-Handbook/dp/0071787925/ref=sr_1_1?ie=UTF8&qid=1353575734&sr=8-1&keywords=jim+j+marion
    It has an entire chapter on how to use datamover.
    Hakan

Maybe you are looking for

  • Macbook Pro 8,2 - No Microphone

    I've recently needed to install Skype on my computer for work. Unfortunately, while the webcam seems to work fine, there is no audio being recorded. I tried recording via arecord, and the sound file produced contains no sound. My alsamixer gives me t

  • Location to download IPS software upgrade Version 7.1(5)E4

    Hi, In last month I found latest released IPS software version 7.1(5)E4 for IPS appliance 4260 on cisco site. However it is no more available over there now can I have exact download location of the software upgrade as I want to upgrade my device wit

  • Double click on Datagrid cell

    Hi, I'm developing an application where I'm using a datagrid that shows some information from an xml. Every cell in the grid is of the form <itemRenderer> <compoment> <Vbox> <HBox> <Text/> //some text goes within this block <Text/> //some text goes w

  • Embedding a web page in a slide

    Hi, Maybe I am completely wrong, but I think it is possible to embed, to display a web page in a slide. For instance, suppose I want to display a graph of Apple's stock in my presentation, the info would be always updated since I would display a web

  • Screen change for payment

    we want to hide cash discount column in standard  "post incoming payment" screen, is it possible by changing screen variant or user exit? I tried, but haven't got it, it seems only document number, Sales order number column can be hide