ORA 01704:...too long; Only inserting 800 chars

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

  1. #1

    Default ORA 01704:...too long; Only inserting 800 chars

    Hi,

    I am trying to insert text into a VARCHAR2 (4000) database field in Oracle
    8.1.7. We are using CF Server Version 5. The text that is being entered
    contains bullets/ bolded items/ and other formats. I keep getting the
    ORA-01704: string literal too long Error. I have read all the postings about
    this and they all mention 2000 characters versus 4000 characters. But the text
    being entered is only 850 characters, so it does not fall in this.

    Help is much appreciated.
    Thanks

    Savo Guest

  2. Similar Questions and Discussions

    1. Inserting long strings into CLOB column
      I have a chunk of text data that exceeds 4k bytes. I've created a table that has a column defined to be a CLOB. I'm using Oracle 8i and trying to...
    2. String Literal Too Long - (less than 4000 chars)
      We have a form field where users enter in a status (free text, any characters, etc). Not in every case, but a good portion of the time, when a user...
    3. Always making Ints 2 chars long
      Hello all, I'm trying to create a menu bar option of posts in the past 5 months. I do this by getting the month from date('m'), and then...
    4. Inserting a binary file into a Long Raw column
      Hi Is there anybody who can give me some sample code for inserting a large binary file into a LONG RAW column? I have managed to do it if the...
    5. inserting into a long data type
      > I don't have the access or authority to change the data type from long Unlikely. Try using SQL*Loader for this. Too bad you can't change the...
  3. #2

    Default Re: DB Errore: ORA 01704:...string literal too long

    Are you using bind variables (<cfqueryparam>)? This might solve your problem.

    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