describes how to create a MS-SQL stored procedure using the CREATE PROC statement and using dynamic query