Recently at my day-job were were instructed that any comments regarding our stored procedures MUST NOT exist inside the stored procedure and rather Extended Properties must be used.
In the past we used something like this.
/*
* NOTE: Auto-Generated Procedure DO NOT MODIFY
*/
CREATE PROCEDURE dbo.MyProc
AS
SELECT *
FROM MyTable
GO
This way anytime anyone opened the procedure in SSMS they would see the note, other comments also existed in procedures to document our process. Now I was not aware of any performance/memory issues with this. However we have individuals that insist it does.
I have not been able to find any documentation to prove or deny the existance of performance and/or memory issues with this type of comments.
So my question is, does anyone know of any documentation that can either prove or deny this?