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

Setting default value for a char(1) for bit data column does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.0.2.0
    • 10.0.2.1
    • SQL
    • None

    Description

      create table t2 (i1 char(1) for bit data default x'02');

      throws the following error:
      ERROR 42894: DEFAULT value or IDENTITY attribute value is not valid for column 'I1'.

      Attachments

        Activity

          People

            bandaram Satheesh E. Bandaram
            skambha Sunitha Kambhampati
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: