Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2445

Function VARCHAR truncates the results at 15 characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 10.1.2.1, 10.2.2.0
    • None
    • SQL
    • None
    • Windows XP.

    Description

      The VARCHAR function truncates its argument, or result, at 15 characters.

      For example, with the statement :
      UPDATE PERSON SET LAST_NAME = VARCHAR(PERSON.LAST_NAME);
      An original column value with '123456789-123456789-' is truncated and the result is '123456789-12345'.

      NB : Such a statement seems a bit stupid, but i've detected the problem using Top-Link that uses the VARCHAR function to translate the JPA CONCAT function. And as I can't change what Top Link does...

      Thanks for your help.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ephemeris Ephemeris Lappis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: