Data truncation in SELECT

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

  1. #1

    Default Data truncation in SELECT

    Hi all. I'm executing a simple SELECT statement to return the value that's been
    stored as a LONGTEXT in a mySQL db. The code to insert the data works fine (its
    length in the database is ~355K as it should be), but when I retrieve it from
    the db it is shortened to its first ~45K bytes. Any thoughts? Many thanks.

    myersonconsulting Guest

  2. Similar Questions and Discussions

    1. XML select data by value
      I am looking to select XML in flash from an external XML file by a tag's value. var xnRoot:XMLNode = this.firstChild.firstChild.firstChild; How...
    2. Trouble with truncation error when loading data from a file
      The table has many columns, but it includes a column like: CREATE TABLE f ( ... `x` DECIMAL(10,2) DEFAULT NULL, ... ) ENGINE=InnoDB; I use...
    3. Data Truncation error
      Hello, I have CF MX 7, developer version Database is MySQL v. 4.1.12 Every 15 days I receive new ASCII files which contains data which have to...
    4. getting data from select name-option value
      I can?t seem to solve this problem. On my First page (index) I create a query that populates an option value (or list) box. When the user selects a...
    5. Data Base Select
      I have an ActiveX control and some data base results on the same web page. I want to respond to an event and change the results from the data base...
  3. #2

    Default Re: Data truncation in SELECT

    Cold Fusion Administrator Data Source page for your database, enable the
    'Enable retrieval of long text ' box if you truly want everything or bump up
    the 'Long Text Buffer Size' if you just want a higher Trunc value.

    JMGibson3 Guest

  4. #3

    Default Re: Data truncation in SELECT

    Originally posted by: JMGibson3 Cold Fusion Administrator Data Source page for
    your database, enable the 'Enable retrieval of long text ' box if you truly
    want everything or bump up the 'Long Text Buffer Size' if you just want a
    higher Trunc value. That is it. In my case, I had to contact support for my
    web host, but that did the trick. Thanks!

    myersonconsulting 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