CMS Site Manager > Development > System tables > Stored procedures:
Edit stored procedures
Edit stored procedures
Here you can edit the selected stored procedure. When you have finished the editing, click Save to save the changes or click Rollback to discard the changes and go back to the former definition.