Modify column causes "tables will be saved" warning

  • Hi

    Microsoft GUI is following best practice.

    If you do it with alter table a new field is added to the table (old col invisible and not used but still takes up space). With other words you will get something like this

    field 1 , field 2

    int,char

    active,active

    after change

    field 1,field 2, field 1

    int,char,int

    inactive,active,active

    It will only change to normal after a reindex. Have a look at http://qa.sqlservercentral.com/articles/Design+and+Theory/67553/

    very good post.

    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Do not reinvent the wheel.
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Viewing post 16 (of 15 total)

You must be logged in to reply to this topic. Login to reply