Blog Hero Image

Was ist fast so schön wie leuchtende Kinderaugen?

This article dates back to 2008. Some of the tech in it is history by now; the article stays online as part of my archive.

AI training  ·  Current trainings

Was ist fast so schön wie leuchtende Kinderaugen?

Genau: leuchtende Kundenaugen :-)

Diese durfte ich kürzlich wieder sehen. Einer meiner Kunden behalf sich nämlich Jahre lang mit “schmutzigen” Workarrounds um das Feuern von Update-Triggern bei Massenupdates zu vermeiden.

Glücklicherweise ist es jedoch unter dem SQL Server möglich, Trigger bedarfsweise zu deaktiveren / aktivieren.

Für alle, die mit dem selben Problem kämpfen hier zur Referenz:

    -- Trigger für Tabelle deaktiveren
    ALTER TABLE [MeineTabelle] DISABLE TRIGGER ALL
    -- Massenupdate durchführen, z. B.
    -- update MeineTabelle set Preis = Preis * 1.5
    -- Trigger wieder aktivieren
    ALTER TABLE [MeineTabelle] ENABLE TRIGGER ALL

Inconsistent results with AI tools in your team?

I show developer teams how to turn Copilot, Claude, and Codex licenses into a reproducible development process. In one to two days, remote or in person in Bad Breisig, Germany.

To the AI training

I test the AI tools in real projects. You read what matters in five minutes.

What's changed in Claude Code, Copilot, and the other AI tools, and what it means for .NET teams. Plus news on .NET MAUI and the next book edition. No fixed schedule: I write when there's something worth your time. Unsubscribe anytime.

We send via Brevo. By subscribing you agree to your data being processed by Brevo.