Subject | Re: [firebird-support] Column positioning question |
---|---|
Author | Paul Vinkenoog |
Post date | 2004-03-23T14:43:59Z |
Hi Tony,
ADD MYNEWCOLUMN...) then set the new column to the desired position
like this:
ALTER TABLE MYTABLE ALTER MYNEWCOLUMN POSITION 3;
The position is 1-based.
Greetings,
Paul Vinkenoog
> Does anyone know if it is possible to drop a column, then add a newYes. First drop the column, then add the new one (ALTER TABLE MYTABLE
> one so it shows up in the same position as the old one?
ADD MYNEWCOLUMN...) then set the new column to the desired position
like this:
ALTER TABLE MYTABLE ALTER MYNEWCOLUMN POSITION 3;
The position is 1-based.
Greetings,
Paul Vinkenoog