Change column type

  • I want to extend the length of a primary key column. There are about 20 tables with foreign keys that reference this column.

    Whats the best way to do this?

    I would need to change all the foreign key columns too to the same size right?

  • Disable the constraints;

    Change their data types;

    Enable the constraints.

  • Thanks.

Viewing 3 posts - 1 through 2 (of 2 total)

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