"quoted string not properly terminated" error in File to Oracle interface

We have an interface at our site that is a simple file to Oracle interface. We used the sqlldr LKM and the SQL Control Append IKM. The interface bombs out when one of the unmapped Oracle fields has this for a string literal in it: '--A'. It's a size 3 varchar field in Oracle. We can put in other literals fine in it, but using the '--A' one brings back this error in the Insert portion of the interface:
1756 : 42000 : java.sql.SQLException: ORA-01756: quoted string not properly terminated
java.sql.SQLException: ORA-01756: quoted string not properly terminated
I ran the sql query that ODI bombs out on and the record inserts fine inside sql developer.
Anybody else experience this and if so what was the solution to get past this?
We're using ODI 10.1.3.5.5.

Hi A,
I tried this but it didn't work. I am puzzled as to why OBIEE prints any special character after a % twice. For example %& becomes %&& or %' become %'' . I guess it is the Evaluate function that is fiddling with the % .
Thanks.
Edited by: 900740 on Feb 9, 2012 9:22 AM

Similar Messages

  • Urgent: help me on: ORA-01756: quoted string not properly terminated

    I got the following error message when I tried to insert a record into database.
    Please help me in this regard. I need to insert upto 2000 bytes.
    insert into activity_reason values(1733214, 3234, 23,'P54I8N',to_date('04/19/2006','MM/DD/YYYY'),NULL, NULL, NULL, 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd1600', NULL, NULL, NULL, NULL);
    ERROR:
    ORA-01756: quoted string not properly terminated
    table desc:
    SQL> desc activity_reason;
    Name Null? Type
    CASE_ACTIVITY_ID NOT NULL NUMBER(10)
    REASON_CDE NOT NULL NUMBER(5)
    QUESTION_ID NOT NULL NUMBER(10)
    OPER_ID NOT NULL CHAR(8)
    LAST_UPD_TMS DATE
    COMMENT_TXT_1 VARCHAR2(240)
    COMMENT_TXT_2 VARCHAR2(240)
    COMMENT_TXT_3 VARCHAR2(240)
    COMMENT_TXT_4 VARCHAR2(2000)
    LETTER_TXT_1 VARCHAR2(240)
    LETTER_TXT_2 VARCHAR2(2000)
    PATIENT_LETTER_TXT_1 VARCHAR2(240)
    PATIENT_LETTER_TXT_2 VARCHAR2(2000)

    Hi,
    It's work fine on my 9.2.0.4 database.
    SQL> create table activity_reason
      2  (CASE_ACTIVITY_ID  NUMBER(10) NOT NULL,
      3  REASON_CDE NUMBER(5) NOT NULL,
      4  QUESTION_ID NUMBER(10) NOT NULL,
      5  OPER_ID CHAR(8) NOT NULL,
      6  LAST_UPD_TMS DATE,
      7  COMMENT_TXT_1 VARCHAR2(240),
      8  COMMENT_TXT_2 VARCHAR2(240),
      9  COMMENT_TXT_3 VARCHAR2(240),
    10  COMMENT_TXT_4 VARCHAR2(2000),
    11  LETTER_TXT_1 VARCHAR2(240),
    12  LETTER_TXT_2 VARCHAR2(2000),
    13  PATIENT_LETTER_TXT_1 VARCHAR2(240),
    14  PATIENT_LETTER_TXT_2 VARCHAR2(2000));
    Table created.
    SQL>
    SQL> insert into activity_reason values(1733214, 3234, 23,'P54I8N',to_date('04/19/2006','MM/DD/YYYY'),NULL, NULL, NULL, 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd1600', NULL, NULL, NULL, NULL);
    1 row created.
    SQL> What is your db version ?
    Nicolas.

  • Quoted string not properly terminated

    I am trying to use the tune_mview package. I am setting up variables in sqlplus to use when calling the package. I am using the following to set the entire create Mview staement into a variable, but am getting a ORA-01756: quoted string not properly terminated. I can execute the select statement inside the create mview statement, and can execute the create mview statement, but when I try to set the entire statement into a variable I get the error. This is 10gR2.
    EXECUTE :create_mv_ddl := q'|CREATE MATERIALIZED VIEW WH.MV_SPS_CONTRIB_SPLITS ENABLE QUERY REWRITE AS
    select
    c.rep_nbr rep_number
    ,decode(p.override,null,c.rep_nbr,p.override) override
    ,c.rep_type
    ,decode(s.rep_number,null,1,decode(s.summed_perc,0,1/s.number_of_splits,p.payout_perc/s.summed_perc)) Comm_Contr
    ,p.payout_perc Split_Percentage
    ,s.summed_perc Sum_Of_All_Splits
    from
    wh.t_stg_sps_rep_control c
    ,(select *
    from wh.t_stg_sps_rep_payout p
    where
    p.payout_cat = 'PRC'
    and production_credit = 'Y') p
    select
    rep_nbr rep_number
    ,sum(payout_perc) summed_perc
    ,count(*) number_of_splits
    ,count(payout_perc) used_for_MV_rewrite
    from
    wh.t_stg_sps_rep_payout
    where
    production_credit = 'Y'
    and payout_cat = 'PRC'
    group by
    rep_nbr
    ) s
    where
    c.rep_nbr = p.rep_nbr (+)
    and p.rep_nbr = s.rep_number (+)
    order by
    c.rep_type
    ,p.rep_nbr |';

    Hi,
    If i spotted the error I would write...two ('|') in the beggining and end of the CREATE statement .
    EXECUTE :create_mv_ddl := q'||CREATE MATERIALIZED VIEW WH.MV_SPS_CONTRIB_SPLITS ENABLE QUERY REWRITE AS
    select
    c.rep_nbr rep_number
    ,decode(p.override,null,c.rep_nbr,p.override) override
    ,c.rep_type
    ,decode(s.rep_number,null,1,decode(s.summed_perc,0,1/s.number_of_splits,p.payout_perc/s.summed_perc)) Comm_Contr
    ,p.payout_perc Split_Percentage
    ,s.summed_perc Sum_Of_All_Splits
    from
    wh.t_stg_sps_rep_control c
    ,(select *
    from wh.t_stg_sps_rep_payout p
    where
    p.payout_cat = 'PRC'
    and production_credit = 'Y') p
    select
    rep_nbr rep_number
    ,sum(payout_perc) summed_perc
    ,count(*) number_of_splits
    ,count(payout_perc) used_for_MV_rewrite
    from
    wh.t_stg_sps_rep_payout
    where
    production_credit = 'Y'
    and payout_cat = 'PRC'
    group by
    rep_nbr
    ) s
    where
    c.rep_nbr = p.rep_nbr (+)
    and p.rep_nbr = s.rep_number (+)
    order by
    c.rep_type
    ,p.rep_nbr[b] ||';
    Regards,
    Simon

  • ORA-01756: quoted string not properly terminated (using (q) operator

    Hi
    I tried this example but giving the error
    select q'( it's done )' from dualbut the following is working
    select q'( it''s done )' from dualIf i need to use it''s done then what is the use of (q) operator
    Thanks..
    Edited by: josh1612 on May 10, 2010 11:09 PM

    What is your database version ? Q-quote operator introduced in Oracle 10g and see the example, you might be facing this error.
    This is in SQL *PLUS V 9.2.0.1.0
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> select q'( it's done )' from dual;
    ERROR:
    ORA-01756: quoted string not properly terminated
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue May 11 12:58:12 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    SQL> conn hr/hr
    Connected.
    SQL> select q'( it's done )' from dual;
    Q'(IT'SDONE
    it's doneEdited by: Saubhik on May 11, 2010 12:28 AM

  • Ora-01756: quoted string not properly terminated

    Hi all,
    I have just practise Oracle REF obj_type. My codes are follows:
    CREATE or REPLACE TYPE home_type AS OBJECT (
    street VARCHAR2(50), city VARCHAR2(20),
    state VARCHAR2(20), zipcode VARCHAR2(6),
    owner VARCHAR2(10)
    CREATE TABLE homes OF home_type;
    INSERT INTO homes VALUES ('300 Regina St', 'WATERLOO', 'ON', '010010', 'HFWANG');
    INSERT INTO homes VALUES ('301 Regina St', 'WATERLOO', 'ON', '010010', 'MMWANG');
    commit;
    CREATE TABLE person (
    id NUMBER(6) PRIMARY KEY,
    name VARCHAR2(10),
    addr REF home_type
    INSERT INTO person SELECT 10, 'HFWANG', ref(p)
    FROM homes p WHERE p.owner='HFWANG';
    ===========
    when I try to insert the last line into table person. the error occured.
    Can anyone help me with this? Thank you very much.

    Worked for me.
    SQL> CREATE or REPLACE TYPE home_type AS OBJECT (
      2  street VARCHAR2(50), city VARCHAR2(20),
      3  state VARCHAR2(20), zipcode VARCHAR2(6),
      4  owner VARCHAR2(10)
      5  );
      6  /
    Type created.
    SQL> CREATE TABLE homes OF home_type;
    Table created.
    SQL> INSERT INTO homes VALUES ('300 Regina St', 'WATERLOO', 'ON', '010010', 'HFWANG');
    1 row created.
    SQL> INSERT INTO homes VALUES ('301 Regina St', 'WATERLOO', 'ON', '010010', 'MMWANG');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> CREATE TABLE person (
      2  id NUMBER(6) PRIMARY KEY,
      3  name VARCHAR2(10),
      4  addr REF home_type
      5  );
    Table created.
    SQL> INSERT INTO person SELECT 10, 'HFWANG', ref(p)
      2  FROM homes p WHERE p.owner='HFWANG';
    1 row created.
    SQL> commit;
    Commit complete.

  • ORA-01756quoted string not properly terminated

    Hi
    I am using Oracle11g and also using Vijeo Citect (cicode).Here I am using Cicode as a front end.
    To push the values of tags I wrote this query but it gave following error.
    Here all attributes are string datatypes.
    INSERT INTO SCADA_MASTER(LOC_ID,LOC_NAME,DATETIME,LEVEL_TANK,CHL_TANK,TOTALISER_INFLOW,FLOW_DISTRIBUTION1) VALUES('"+sNo+"','"+sLoc+"','"+Date(2)+" "+TimeToStr(TimeCurrent(),0)+"','"+RealToStr(LVL_HANUMAYYANAGAR,4,2)+"','"+RealToStr(CHL_HANUMAYYANAGAR,4,2)+"','"+RealToStr(HANUMAYYANAGAR_TOTALISER_INFLOW,4,2)+"',
    '"+RealToStr(FLOW_DISTRIBUTION_HANUMAYYANAGAR,4,2)+"')
    here i am pushing the tag values of specific device
    but its showing
    ERROR : 1756[Microsoft][ODBC driver for oracle][Oracle]ORA-01756 quoted string not properly terminated

    913672 wrote:
    I am using Oracle11g and also using Vijeo Citect (cicode).Here I am using Cicode as a front end.
    To push the values of tags I wrote this query but it gave following error.Never mind the error. Wrong approach. It is the #1 cause for poor Oracle performance - and not only results in more CPU being burned needlessly, but also resulting in fragmenting the Shared Pool in Oracle that leads to memory allocation errors.
    If you want to use a "black box" database - then Oracle is not it. It is technically one of the fastest and most flexible data processing environments on this planet. It expects you to have the basic Oracle concepts and fundamentals under the belt, in order to be used correctly.
    And one of these basic and fundamental concepts is creating shareable SQL, using bind variables.
    Refer to the Oracle® Database Performance Tuning Guide.

  • TestStand 4.2 Error String not found in language resource files

    I've installed TestStand 4.2 on two Windows XP machines.  On one machine it worked fine first time. On the other machine I receive the following message in the login box, and also in the templates pane:  'String not found in language resource files." I have tried uninstalling and re-installing TestStand twice but still get this error.  This error prevents me being able to login as an administrator so I am unable to use TestStand 4.2. I understand that these language resource files are provided by the installer but for some reason it seems that the machine with the error cannot locate these.
    The only difference between the two XP machines that I can find is the location of user profiles.  I note that on Vista compatible TestStand versions that TestStand user settings are stored to C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 4.2\Components on XP machines.  On the XP machine with the error all user profiles are stored under C:\profiles, rather than C:\Documents and Settings.  This is the standard profile used by our company so I am unable to change this. The TestStand installer does recognise this and installs TestStand user settings to  C:\profliles\All Users\Documents\National Instruments\TestStand 4.2\.  Does anyone know whether the location of the user profiles is important, or whether there is another cause for this error?
    Regards,
    David
    Solved!
    Go to Solution.

    Hi Scott,
    I've held off on the changes suggested by John for now.  You are correct in that the knowledge base article referenced by John does not apply since the engine does initialise. 
    I've attached two screen shots.  The first one is the standard login box which displays the "String Not found in language resource files" message in place of the usual "administrator" user name.  If I overwrite the  "String Not found in language resource files" user name with "administrator" and click OK to log in then I get an "Invalid User Name" error dialogue box. Therefore I am unable to log into TestStand.
    The second screen shot shows the TestStand sequence editor with the String Not found in language resource files visible in the templates pane.
    Regards,
    David
    Attachments:
    TS Login Prompt.JPG ‏11 KB
    TS Seq Editor.JPG ‏75 KB

  • SQL Error 130, not found in ERROR.SQL file.

    Dear All,
    While connecting my application with Oracle Release 9.2.0.8.0 I am having the following error message would any one help in this regard please?
    SQL Error 130, not found in ERROR.SQL file
    Thanks
    GQ

    How is this connection being made?
    Is it Oracle Forms, SQL*Plus, Java, .NET, JDBC etc?
    The error message doesn't look like a standard ORA-XXXXX oracle error so I would suggest the message relates to the application trying to make the connection.

  • 'SQL command not properly ended' error

    Hi,
    I wrote a test application.
    I used an existing DB schema and the following:
    ============
    Windows XP
    KODO 3.0.2,
    Oracle 8i,
    Oracle JDBC driver - tried both 9.2.x and 9.0.1,
    JDK 1.4.2,
    KODO tools:
    schemagen.bat,
    reversemappingtool.bat,
    jdoc.bat
    custom.properties file where renamed all the ClassnameId filed to
    ClassnamePK.
    ============
    Tried to perform simple query without any parameters.
    Got the following error message:
    ================================
    kodo.util.DataStoreException: ORA-00933: SQL command not properly ended
    What have I missed here? I did not have this problem when I left only one
    table in the schema, having removed the others.
    Does anybody has any ideas regarding this issue? Do you want me to post
    any additional information?
    Thanks in advance,
    Anton

    Patrick Linskey wrote:
    Anton,
    Can you post the offensive SQL?
    -Patrick
    Anton Kommar wrote:
    Hi,
    I wrote a test application.
    I used an existing DB schema and the following:
    ============
    Windows XP
    KODO 3.0.2,
    Oracle 8i,
    Oracle JDBC driver - tried both 9.2.x and 9.0.1,
    JDK 1.4.2,
    KODO tools:
    schemagen.bat,
    reversemappingtool.bat,
    jdoc.bat
    custom.properties file where renamed all the ClassnameId filed to
    ClassnamePK.
    ============
    Tried to perform simple query without any parameters.
    Got the following error message:
    ================================
    kodo.util.DataStoreException: ORA-00933: SQL command not properly ended
    What have I missed here? I did not have this problem when I left only one
    table in the schema, having removed the others.
    Does anybody has any ideas regarding this issue? Do you want me to post
    any additional information?
    Thanks in advance,
    Anton
    Hello Patrick,
    Thank you for your reply.
    The problem I experienced magically dissappeared. I used actually
    different database servers and they probably differ in something. I am not
    able to repro it again.
    Please, forgive me for bothering you. I'll update this issue if I succeed
    to reproduce the problem again.
    Thank you,
    Anton

  • Procedure compilation failed with SQL command not properly ended error

    Hi All,
    Kindly help me to fix this.
    I am compiling a procedure and getting an error. Procedure and error details are as follows:
    Procedure:
    CREATE or REPLACE PROCEDURE jiostore_new.auditReportCount (u_name IN VARCHAR2,stdate IN DATE,eddate IN DATE)
    IS
    BEGIN
    DECLARE Total Number;
    BEGIN
    SELECT COUNT(am.id) into Total FROM auditMaster_ AS am  INNER JOIN jioworld.deviceos_ dvos ON dvos.id=am.deviceOs WHERE am.updatedBy=u_name or am.updatedBy=ALL AND DATE(am.updatedDate)>=stdate OR DATE(am.updatedDate)='0000-00-00' AND DATE(am.updatedDate)<=eddate or DATE(am.updatedDate)='0000-00-00';
    dbms_output.put_line('Total Count:' || Total);
    END;
    END;
    Error:
    Error(6,1): PL/SQL: SQL Statement ignored
    Error(6,50): PL/SQL: ORA-00933: SQL command not properly ended
    Regards,
    Vishal G

    2922723 wrote:
    Hi All,
    Kindly help me to fix this.
    I am compiling a procedure and getting an error. Procedure and error details are as follows:
    Procedure:
    CREATE or REPLACE PROCEDURE jiostore_new.auditReportCount (u_name IN VARCHAR2,stdate IN DATE,eddate IN DATE)
    IS
    BEGIN
    DECLARE Total Number;
    BEGIN
    SELECT COUNT(am.id) into Total FROM auditMaster_ AS am  INNER JOIN jioworld.deviceos_ dvos ON dvos.id=am.deviceOs WHERE am.updatedBy=u_name or am.updatedBy=ALL AND DATE(am.updatedDate)>=stdate OR DATE(am.updatedDate)='0000-00-00' AND DATE(am.updatedDate)<=eddate or DATE(am.updatedDate)='0000-00-00';
    dbms_output.put_line('Total Count:' || Total);
    END;
    END;
    Error:
    Error(6,1): PL/SQL: SQL Statement ignored
    Error(6,50): PL/SQL: ORA-00933: SQL command not properly ended
    Regards,
    Vishal G
    The first thing, is that for your own sanity you should learn to format your code for readability.  And for the sanity of those from whom you seek help, you should learn to preserve that formatting when you post to a forum:
    CREATE OR REPLACE PROCEDURE jiostore_new.auditReportCount(
        u_name IN VARCHAR2,
        stdate IN DATE,
        eddate IN DATE)
    IS
    BEGIN
      DECLARE
        Total NUMBER;
      BEGIN
        SELECT COUNT(am.id)
        INTO Total
        FROM auditMaster_ AS am
        INNER JOIN jioworld.deviceos_ dvos
        ON dvos.id              =am.deviceOs
        WHERE am.updatedBy      =u_name
        OR am.updatedBy          =ALL
        AND DATE(am.updatedDate)>=stdate
        OR  DATE(am.updatedDate) ='0000-00-00'
        AND DATE(am.updatedDate)<=eddate
        OR  DATE(am.updatedDate) ='0000-00-00';
        dbms_output.put_line('Total Count:' || Total);
      END;
    END;
    What is the data type of am.updateDate?  It appears to be a varchar being passed to a function named DATE to convert it to a DATEfor comparison to your input parameters,  But you also compare it to strings. 
    Where are the variables 'u_name' and 'ALL'?  (and what kind of a name is that for a variable -- 'ALL'?)

  • Default cell values for column not properly saved in uir file in labwindows 2009 (9.1.0 427)?

    I've run into a strange problem with the table control.  Basically, even though I set default cell values for a particular column as numeric, when I try to add items to the list it tries to add them as strings, and returns an error message that it is expecting *char instead of int.  Furthermore, when I open the uir file that contains the table in question in 2010, it appears as if the default cell values for that column are still set as strings, even though in 2009 when I open the uir file it shows as numbers.  I tried converting the uir to C code, and sure enough the C code indicated that the column still is a string type.
    I've gone ahead and made a small project to show the issue.  If you open this project in labwindows 2009 and click on the table in the table_bug.uir, and edit default cell values for column 1, you will see that the cell settings have type as numeric and data type as int.  When you run the project, however, it will fail with an error message saying that it is looking for a *char.  When this same project is loaded into labwindows 2010, clicking on the table in table_bug.uir and edit default cell values (column 1) shows the type as string.  When I change this to numeric (and change numeric attribute to int), this runs fine in 2010.  I tried simply changing the uir in 2010, and then using it in 2009, but 2009 complains that the uir is from a newer version (understandable).  If there is any workaround that would let me continue to use 2009 for the time that would be great.
    Any help would be greatly appreciated.
    thanks,
    Alex Corwin
    Solved!
    Go to Solution.
    Attachments:
    table_bug.zip ‏324 KB

    I opened the UIR in 2009 (but I have 2009 SP1) and it still showed that the default value for the first column was a string. I didn't have any problems changing it to a numeric int, and then building and running the project without error.
    Here are a few things you can try:
    1) Change the default value to a string. OK out of the dialog, re-enter the dialog, and change it back to Numeric int. Resave and see if the problem has gone away.
    2) You said you get a ".UIR is from a newer version" error when opening the 2010 UIR in 2009. Does the UIR still open if you click okay? Often times this will work just fine. Assuming you don't have any problems with this, make a minor change to the UIR in 2009, such as moving the table to the left, and then back to the right and then re-save. See if your program works now.
    Kevin B.
    National Instruments

  • ITunes was not properly installed error message

    Dear All,
    A friend of mine is getting the following error when opening iTunes.
    "Warning; iTunes was not properly installed if you wish to import or burn CDs. you need to reinstall iTunes"
    I have tried;
    1. Uninstalling & reinstalling iTunes + Quicktime
    2. Downloading and installing the GEAR drivers
    3. Following these posts;
    http://support.apple.com/kb/HT2615
    http://support.apple.com/kb/TS3299
    http://discussions.apple.com/message.jspa?messageID=8081513#8081513
    Here is the diagnostic information; please can someone point me in the right direction.
    Microsoft Windows Vista Home Premium Edition Service Pack 2 (Build 6002)
    Dell Inc. Inspiron 530s
    iTunes 10.0.1.22
    QuickTime 7.6.8
    FairPlay 1.9.16
    Apple Application Support 1.3.2
    iPod Updater Library 10.0d2
    CD Driver Not Available
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 3.2.0.47
    Apple Mobile Device Driver not found.
    Bonjour 2.0.3.0 (214.3)
    Gracenote SDK 1.7.1.420
    Gracenote MusicID 1.7.1.78
    Gracenote Submit 1.7.1.106
    iTunes Serial Number 96A00247D77D2D86
    Current user is not an administrator.
    The current local date and time is 2010-11-07 16:52:37.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Video Display Information
    Intel Corporation, Intel(R) G33/G31 Express Chipset Family
    ** External Plug-ins Information **
    No external plug-ins installed.
    Genius ID: 493b5db9d323eca0f4697f064a8bc3c3
    iPodService 10.0.1.22 is currently running.
    iTunesHelper 10.0.1.22 is currently running.
    Apple Mobile Device service 3.2.0.0 is currently running.
    ** CD/DVD Drive Tests **
    No drivers in LowerFilters.
    UpperFilters: GEARAspiWDM
    Failed while scanning for CD/DVD drives, error 2355.
    Virtual drives can sometimes interfere with reading and writing CDs in iTunes. If this is a virtual drive and you are having problems with other drives, try uninstalling the virtual CD application.
    E: Unsupported CD or DVD drive.
    Virtual drives can sometimes interfere with reading and writing CDs in iTunes. If this is a virtual drive and you are having problems with other drives, try uninstalling the virtual CD application.
    Thanks

    I don't think this one is a variation of the device filter troubles, Littlebirt.
    Checking something from the diagnostics:
    +Virtual drives can sometimes interfere with reading and writing CDs in iTunes. If this is a virtual drive and you are having problems with other drives, try uninstalling the virtual CD application.+
    Is there any virtual drive software (like, say, Daemon Tools or Alcohol 120%) installed on the PC?

  • Embedded double quotes in a quoted string not working.

    It seems that Numbers doesn't process embedded double quotes correctly in a quoted string. Is this an issue that Apple are aware about? Any fixes planned? Is this an issue that Apple are aware about? Any fixes planned?
    This is not an issue in Excel, but I'd prefer to use Numbers.

    To run Hiroto's script, copy and paste into AppleScript Editor.  Click the compile "hammer" to make sure the copy/paste went well.  Then (still in AppleScript Editor click the run button.  Then, back in Numbers, click once in a cell in an existing table, and paste.
    To run the service in the post immediately above Hiroto's, just click the link in my post and doubleclick the downloaded .workflow package. (You may have to go to System Preferences > Privacy & Security and click "Download Anyway").  It then appears automatically in your Numbers > Services menu.  Then to run the script just choose the item in the menu item CSV to Tabs on Clipboard.
    You can uninstall the Service at any time by holding down the option key while in Finder and from the menu Go > Library > Services.
    If you have a chance to try these, would be interested in hearing back whether they worked for you. They are working well on my setup here.
    SG

  • ORA-00933: SQL command not properly ended: error in TRIGGER

    Hi ,
    I tried the following example trigger but unable to trace the error..
    Could you please find it...
    CREATE OR REPLACE TRIGGER trig1
    AFTER INSERT OR UPDATE OR DELETE
    OF RLID,RL
    ON X_RLM_T
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    rlmId X_RLM_T.RLID%TYPE:=CASE WHEN INSERTING OR UPDATING THEN :NEW.RLID WHEN DELETING THEN :OLD.RLID ELSE NULL END;
    rlm RX_RLM_T.RL%TYPE:=CASE WHEN INSERTING OR UPDATING THEN :NEW.RL WHEN DELETING THEN :OLD.RL ELSE NULL END;
    var number:=0;
    var1 number:=0;
    BEGIN
    var:=1;
    var1:=1;
    INSERT ALL
    WHEN var=1 then
    INTO LM_D(CL_ID,D_RLM,RM_NM,RDK_ORG)
    VALUES(dclid,D_RLM,RM_NM,RDK_ORG)
    WHEN var1=1 then
    INTO LM_D(CL_ID,D_RLM,RM_NM,RDK_ORG)
    VALUES(pclid,D_RLM,RM_NM,RDK_ORG)
    SELECT X_RLM_DK_MAP_T.CL_ID AS dclid,
        PM_OR_T_VP.ORG_TECH_ID AS pclid,
        rlmId as D_RLM,
        rlm as RM_NM,
        RX_RLM_DK_MAP_T.ORG_TECH_ID as RDK_ORG
    FROM  RX_RLM_DK_MAP_T , PM_OR_T PMN_ORG_T_VP, PM_OR_T PMN_ORG_T_HP
           PM_RA_MST
    WHERE rlmId = RX_RLM_DK_MAP_T.RL_ID and
    RX_RLM_DK_MAP_T.ORG_TECH_ID=PM_OR_T_HP.ORG_TECH_ID and
    PM_OR_T_HP.ORG_ID=PM_RA_MST.HPMN_ID and     
    PM_RA_MST.VPMN_ID=PM_OR_T_VP.ORG_ID;
    end;error:
    11/2 PL/SQL: SQL Statement ignored
    24/8 PL/SQL: ORA-00933: SQL command not properly ended
    please help me in this...

    i GOT THE ERROR...

  • Nested query in FROM clause causes 'SQL Command not properly ended' error

    SELECT sj.job_id AS job_id, 'STATUS_AWAITING_PREPARATION' AS job_status, sjr.email_sys_attach_filename AS attach_filename, sje.emailaddr as emailaddr_lastsentto
                        FROM arsnd_jobs sj, (SELECT emailaddr from ARSND_JOB_EMAILS where job_id=sj.job_id AND ROW_NUM=1) as SJE, ARSND_JOB_QUEUE sjq,ARSND_JOB_RECIPIENTS sjr
                        WHERE sj.job_id=sjq.job_id and sj.job_id=sjr.job_id
                        AND sjq.PROCESSING_STATE=0
                        ORDER BY sj.created
    I don't see anything wrong with the above query, it fails with 'SQL Command not properly ended'.
    If I remove the usage of the nested query in the FROM clause, then it doesn't give that error. Please advice what I'm doing wrong.

    Pls try
    SELECT sj.job_id AS job_id, 'STATUS_AWAITING_PREPARATION' AS job_status, sjr.email_sys_attach_filename AS attach_filename, sje.emailaddr as emailaddr_lastsentto
    FROM arsnd_jobs sj, (SELECT emailaddr from ARSND_JOB_EMAILS where job_id=sj.job_id AND ROW_NUM=1) SJE, ARSND_JOB_QUEUE sjq,ARSND_JOB_RECIPIENTS sjr
    WHERE sj.job_id=sjq.job_id and sj.job_id=sjr.job_id
    AND sjq.PROCESSING_STATE=0
    ORDER BY sj.created
    I have removed the 'as' clause you used for alias of the subquery. It should work fine now.....

Maybe you are looking for

  • Premiere Elements 12.1 Constantly Connecting To The Internet When Running

    Hi there! I have an issue with Premiere Elements 12.1 constantly connecting to the Internet when running... it looks like it is either trying to connect to something or downloading something. Premiere runs OK, but it is very slow: this is due to it t

  • Mm pricing procedure

    Hi all, In my pricing schema i have defined 2 grosss price condition types pb00, pbxx. For cond type pb00, exclusion indicatior is checked and in cal schema i 've ensured that no requirement is checked against condition type pb00. In info record when

  • IPad freezes in the middle of a video playback

    This is a second time I post this problem. When I first got my iPad, it froze in the middle of a video play back consistently. I called tech support, all they can do was to ask me to reset the iPad. However, that did not fix the problem. I was sent t

  • Can I expand all patterns and effects in an illustrator file at once?

    It would seem the answer to this is no, but thought I'd throw it out there.  Any ideas? Thanks!

  • NewBe question - Effects not exporting to disk

    Hi, I've been experimenting with GB. I have a Video with with an audio track that is very low. I imported the video into GB selected instrument with the audio on it. then on the info window clicked on edit and added the AUGraphicEQ to work bring up t