Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Expense Computed column or trigger
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01145568
Message ID:
01145666
Vues:
13
A conversation cam up on which is more expensive to the db a computed column or a trigger.

Example was simple Subtract col 4 from col 3. They were non nullable.

So is a trigger more expensive to run vs. a computed column?

My WAG was the CC.

Any takers with some proof? My googles came up with Oracle and DB2 references :(


Hi, Stephen,

I don't have any proof or websites. My guess is that the trigger is more expensive. I'd be rather surprised if it weren't. (If you don't get any proof here, you may want to post the question on the Microsoft public news group for SQL Server)

Kevin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform