Code Analysis

ST004

SQL-92 style cursor declaration is used

Use extended syntax instead.

You use the DECLARE CURSOR command to define the attributes of a T-SQL cursor. DECLARE CURSOR can accept the SQL-92 standard syntax and the SQL Server Extended syntax. Only the extended syntax supports the many T-SQL extensions to cursors.

Available in

SQL Code Guard



Didn't find what you were looking for?