Subject | Re: Primary Key NULL! |
---|---|
Author | philc_pcm |
Post date | 2004-04-16T13:28:15Z |
--- In firebird-support@yahoogroups.com, "Martijn Tonies"
<m.tonies@u...> wrote:
Alter sql. I used IB Expert, and noticed that IB Expert updates the
relation table directly (update RDB$RELATION_FIELDS). Maybe I should
send a message to them about this. Since this can cause some issues.
<m.tonies@u...> wrote:
> Hi,I went back and doubled check what I did. Your right, It wasn't an
>
> > I came across this "Special" case. It seems that Firebird enforces
> > not null in the primary key when you create the table. (Makes 100%
> > sense) But sadly, it doesn't enforce the user from altering the
> > field. I was able to do an ALTER Table and remove the not null from a
> > primary composite key.
>
> No, you weren't. At least not via a standard ALTER statement,
> 'cause the NULL/NOT NULL attribute cannot be changed this
> way.
Alter sql. I used IB Expert, and noticed that IB Expert updates the
relation table directly (update RDB$RELATION_FIELDS). Maybe I should
send a message to them about this. Since this can cause some issues.