Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change DB Structure with FOREIGN KEY constraint
Message
De
07/07/2010 10:21:19
 
 
À
06/07/2010 17:50:18
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Scripting
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01471590
Message ID:
01471681
Vues:
27
Thanks, but if I have data, doesn't this (when un-checked) dump the data when the table is re-created?

>Greg,
>
>You may just need to go to Tools | options | expand "Designers" and click on "Table and Database Designers" and then on the right un-check "Prevent Saving changes that require table re-creation"
>Tim
>
>>I have been learning SQL 2008. After creating a few related tables, I added a few additional column to one of the tables. When I attempt to save the table structure I get an error telling me that the table can not be dropped and re-created.
>>
>>1. Why when added a new column does SQL need to drop the original and re-create it?
>>
>>2. If the constraint are the problem, why doesn't SQL drop the constraints and recreate them?
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform