> > If this is standards-breaking as you say, I would withdraw
> > I checked the SQL standard and could not see how this would do so.
> > standard states SELECT * would return columns in order; it doesn't

Imho the create table order is implied. What other order would they mean
with "in order" ?
> > what that order should be, nor does CREATE TABLE enforce the
> > to be the same as it has specified, AFAICS. Please correct me and I 
> > will withdraw. Practical issues seem far stronger drivers than 
> > standards issues here, which is why the parameter would default=off.
> I did not follow the entire thread. I just wanted to point 
> out that IIRC MS SQL Server (and maybe also Sybase) do 
> automatically optimize the internal order of how columns are 
> stored to move fixed length (which also means non NULLable 
> for these two servers) columns to the left. 
> Maybe this will serve as a reference point (not necessarily 
> for standards compliance of course).

If you state that, it is imho also important to note that this is not
externally visible. select * is not altered.
I think we can have this based on Phil's patch. Simon would probably be
willing to extend it to choose the best physical order during create
table time. And the first step would be done.

The next step could then be to "fix" drop column and add "add column
eighter using a 3rd column or using the existing 2.


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to