Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing column size of several tables
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2014
Application:
Web
Divers
Thread ID:
01604976
Message ID:
01605053
Vues:
64
If you are concern, generate script from SSMS and analyze it. Quite often SSMS will do modifications through creating a temp table instead of using ALTER TABLE. Could be a problem for big tables.

>
>I need to change (increase) the size of the column in the parent table as well as a couple of child tables. E.g. part_no currently is char(20) which I need to make char(25). When I make this change to the parent table column in SSMS, I get the message prompting/asking that all child table columns will be modified too. When I say Yes, they are modified. And this is what I want.
>
>But before I start making this change to the customer(s) database I have a question. Should I use a different method of increasing the size of this column? That is, is there a catch or a downside of changing the column from SSMS?
>
>TIA.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform