Comme je vous l'ai dit lors de mon précédent message, j'ai suivi une grande partie des sessions sur SQL Server lors des TechEd DEV 2006. L'une d'entre elle a particulièrement capté mon attention, car je rédigeai justement un article sur le sujet :
--------------------------------------------------------------------------------------------------------------
SQL401 SQL Server Error Handling: T-SQL, SQLCLR (Common Language Runtime) and Clients
Thu Nov 9 13:30 - 14:45
In SQL Server 2005, both T-SQL and SQLCLR procedures can use Try-Catch constructs to intercept and process exceptional conditions. This is a big change for both server and client/middle-tier processing, as client and middle-tier received and processed all errors directly from SQL Server. In addition, both T-SQL and SQLCLR error handling don't catch every type of error or allow the ability to directly re-throw all errors to reproduce SQL Server 2005 behaviour. This session looks at the mechanism in depth and attempts to provide a comprehensive and consistent error handling strategy that works for all procedural code and clients.
--------------------------------------------------------------------------------------------------------------
J'ai donc modifié la trame de cet article et intégré une partie des informations qu'il nous a diffusé.
Je vous invite à lire cet article si vous êtes ammené à développer en TSQL sur SQL Server 2000 ou SQL Server 2005 :
Dans le même temps n'hésitez pas à aller consulter le Blog de Bob Beauchemin qui regorge d'informations utiles.
Romelard Fabrice [MVP]
Commentaires
Enregistrer un commentaire