Listing 2: Code That Invokes and Calls getMaxResourceConsumeSessions in a Script -- BEGIN COMMENT -- Code to invoke the procedure -- END COMMENT use master go -- BEGIN COMMENT -- Code to call the procedure -- END COMMENT exec getMaxResourceConsumeSessions 'c:\temp\maxResourceSessions.htm'