Activar o desactivar todos los triggers de la base de datos

1
2
EXEC sp_msforeachtable "ALTER TABLE ? DISABLE TRIGGER ALL"
EXEC sp_msforeachtable "ALTER TABLE ? ENABLE TRIGGER ALL"
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.