Subject | Re: [firebird-support] Firebird SQL Support Adding columns |
---|---|
Author | Agibov Dmitry |
Post date | 2006-06-27T14:08:57Z |
> Does the Firebird SQL support adding new columns to a table afterYes, you can use next syntax:
> there is already data in the table?
alter TableName add ColumnName ColumnType;
e.g.
alter Document add PayDate Date;
For some reason, you must do it in single mode, no other users must
be connected. I recommend you initialize your column in some default
value
update Document Set PayDate = '01.01.1900';
Agibov Dmitry