Subject | Re: [firebird-support] Correct syntax to set field position |
---|---|
Author | Ann W. Harrison |
Post date | 2005-04-19T18:37:36Z |
Salvatore Besso wrote:
position. Firebird could (but doesn't sort fields by type to improve
compression and reduce pad bytes. However, if you set the position
attribute, your fields will appear in the expected order when you say
"select * from..."
Regards,
Ann
>As Martijn said, you can't set the physical position, only the logical
> what is the correct SQL syntax to set the physical position of a field into
> a table?
position. Firebird could (but doesn't sort fields by type to improve
compression and reduce pad bytes. However, if you set the position
attribute, your fields will appear in the expected order when you say
"select * from..."
>Why don't you just change the size of the field directly?
> I have to change the size of a field so I'm doing:
>
> 1. Creation of a TEMP field
> 2. Copy values of field to change into TEMP
> 3. Drop field to change
> 4. Creation of the field with new size
> 5. Copy of values from TEMP into new field
> 6. Drop field TEMP
Regards,
Ann