Uploaded image for project: 'Torque'
  1. Torque
  2. TORQUE-155

Use "${size} CHAR" instad of "${size}" as SQL for column size in oracle

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3
    • 4.0-beta1
    • Generator
    • None

    Description

      In an UTF8 Database, the generated sql VARCHAR(${size}) denotes the maximum number of bytes possible for the column.
      However, typically one wants to define the maximum numbers of characters possible for that column.
      To achieve that, the generated sql must be VARCHAR(${size} CHAR)

      Attachments

        Activity

          People

            tfischer Thomas Fox
            tfischer Thomas Fox
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: