Writing international characters to oracle in CF5

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Writing international characters to oracle in CF5

    When I try to write data to oracle with internaltional characters in it, it
    will give the following error: Oracle Error Code = 1756 ORA-01756: quoted
    string not properly terminated SQL = 'SELECT ProjectID, Project, Carline,
    LeaderID, MemberID, LeadCert, MemCert, CoachID, Location, PMasterID,
    RMasterID,PRTS, Approved1Date, CompleteDate, Approved2, Approved2Date,
    Approved3Date, Approved4Date, cc_date, SubmitProj, SubmitProjFirst,
    Approved3First, Metric, Savings, CurrentStatus, Projects.SubID,
    JDP_Sub.SubCategory, JDP_Cat.Category FROM Projects, JDP_Cat, JDP_Sub WHERE
    JDP_Cat.CatID = JDP_Sub.CatID AND JDP_Sub.SubID = Projects.SubID AND
    CurrentStatus <> 'CNA' AND openClose <> 'Close' AND
    Location=preservesinglequotes('GMB Gravata? ORDER by Project ASC' The last
    filed is not completed because of the special character the appears as a box. I
    have included the NLS_LANG attribute in the CF start up script to get the form
    to be able to display these characters, but now they cannot be written to
    oracle. This application was recently moved from windows CF5 to UNIX CF5. The
    app worked OK in Windows. Please help.

    djprice Guest

  2. Similar Questions and Discussions

    1. Garbeled international characters
      My application loads text from a mysql database using a loadVars object calling a php script. My problem is that the international characters are...
    2. International Characters
      Hello to the Community. I have developed a web site that is managed by a CF5 based messages + translation system. On the same server there are...
    3. WSE and international characters
      I'm using WSE 1.0 SP1 (Web Service Engancements) to send/reveive binary data as DIME-attachments. But after I attached WSE international characters...
    4. XMLHTTP international characters
      Hi Im trying to stream a webpage from a site with XMLHTTP but when I get the results with responseTXT all international chars are replaced with...
    5. CDO.Message - International characters
      Hello, Is there a way to change encoding of a message created with CDO.Message, or otherwise send international characters (unicode) in Textbody?...
  3. #2

    Default Re: Writing international characters to oracle in CF5

    Typically, that error occurs when you have a quote in the text you are trying
    to insert. You didn't include the SQL for the insert. Are you using bind
    variables? That usually takes care of that problem. If not, look up
    cfprocparam in the docs.

    JR


    jonwrob Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139