I have a situation where a number of foreign keys are referencing a column in Table "A". I would like to change the length of the column in table "A". What is the best way to accomplish this in SQL Server 2008 R2? I am really hoping I don't have to drop all 30 foreign key constraints and re-create them again...
Tell me more
×
Database Administrators Stack Exchange is a question and answer site for
database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.
migrated from stackoverflow.com Dec 28 '12 at 23:09
|
|||||||||||
|
|
You can change column length in TableA via GUI (Management Studio), and all the foreign keys will be changed automatically. |
|||
|
|

ilasticfield lengths? There's a max length anyway allowed for a field. At the point of designing, would have set tomax... – bonCodigo Dec 28 '12 at 19:59