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

Cannot set default value for BIGINT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.0.2.0
    • 10.0.2.0
    • SQL
    • None
    • WINXP+sp2 jdk1.4.2_03, jdk1.3, Filesystem is NTFS

    Description

      I create a table in ij, give a default value for BIGINT type will occur error.

      This is my SQL sentence :
      create table test (id BIGINT default 0);

      the result is
      "ERROR 42894: DEFAULT value or IDENTITY attribute value is not valid for column 'ID'."

      but the following sql works well.
      create table test (id int default 0);

      Attachments

        Activity

          People

            army A B
            yinwm Weiming YIN
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: