Show allHide all

Deprecated. Don't use for new development and try to migrate existing uses.

Type: Scalar function

Strips comment from T-Sql code.

Handles both single line (--) and multi-line (/*) comments.

Return value: varchar(8000)

The comment free version of the code.


@Sql mandatory varchar(8000)
The sql code to strip comments from.