Embedded Scripting in Stored Procedures. - Barton, William (SQL Server Magazine, 2004)