ADMIN_StripSqlComments

 Show all Hide all

Deprecated.

Strips comment from T-Sql code.

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

Type: Scalar function
Area of use: General use

Return value: varchar(8000)

The comment free version of the code.

Parameters:

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