Subject | Re: Firebird SQL Support Adding columns |
---|---|
Author | Adam |
Post date | 2006-06-28T00:56:02Z |
--- In firebird-support@yahoogroups.com, "lec_sas" <lec_sas@...> wrote:
Just be careful about adding a new column with a NOT NULL clause. If
you do this, you must be very sure to 'fill' the field in pre-existing
records, or your database backups will fail to restore without some
annoying work.
You must also be the sole transaction who is using that table to do it.
Adam
>google 'ALTER TABLE' for syntax.
> Does the Firebird SQL support adding new columns to a table after
> there is already data in the table?
>
> Thanks
>
> Darin Amos
>
Just be careful about adding a new column with a NOT NULL clause. If
you do this, you must be very sure to 'fill' the field in pre-existing
records, or your database backups will fail to restore without some
annoying work.
You must also be the sole transaction who is using that table to do it.
Adam