|RE: [firebird-support] request for DML SQL feature
|Svein Erling Tysvær
>Hi everybody, I'm not sure this is a right site to ask for request for DML SQL, but I can stand any critics for this possible wrong post.You don’t have to count field position, just issue
>I want to request a feature for firebird DML ie:
> ALTER TABLE <table> .. ALTER FIELD POSITION [BEFORE|AFTER] <field>..
>I'm sure this would be a big help in adding new fields to table w/ many many fields coz need not to count the sequence of new field position.
where rdb$relation_name = :TableName
and rdb$field_name = :FieldName
to find where the field currently is placed. Of course, you would have to know whether or not the field you wanted to move should be moved forward or backward and adjust by 1 if necessary, but that is just a minor adjustment.