Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One to one relationship or adding more fields
Message
De
13/03/2016 21:22:39
 
 
À
13/03/2016 21:07:30
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2014
OS:
Windows 8.1
Network:
Windows 2008 Server
Divers
Thread ID:
01632983
Message ID:
01632993
Vues:
43
>Having just added a 6-char field to an ancient SQL Server table: IME it can be very quick to add a NULL field, but if there's a default value and the table is large, we (and more especially longstanding customers) have been caught out by the many hours needed to ALTER the large table, and the buckets of space needed for the database log or the alter will churn for hours before failing and rolling back. It was worse at a customer who needed to prove any changes in test, but their test system didn't have enough space for the log. Boy did we wish we'd added an extra table that would have been almost instant! Just something to think about.

So far it is instant. But, this requires extra approaches in the code to consider those relationships at various locations.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform