Skip to content

Commit

Permalink
clarifiy message text for DAP206
Browse files Browse the repository at this point in the history
  • Loading branch information
mgravell committed Dec 18, 2023
1 parent 20659c1 commit 9300270
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public static readonly DiagnosticDescriptor
GlobalIdentity = SqlError("DAP203", "Do not use @@identity", "@@identity should not be used; prefer SCOPE_IDENTITY() or OUTPUT INSERTED.yourid"),
SelectScopeIdentity = SqlInfo("DAP204", "Prefer OUTPUT over SELECT", "Consider using OUTPUT INSERTED.yourid in the INSERT instead of SELECT SCOPE_IDENTITY()"),
NullLiteralComparison = SqlWarning("DAP205", "Null comparison", "Literal null used in comparison; 'is null' or 'is not null' should be preferred"),
ParseError = SqlError("DAP206", "SQL parse error", "Error {0}: {1}"),
ParseError = SqlError("DAP206", "SQL parse error", "SQL parse error {0}: '{1}'"),
ScalarVariableUsedAsTable = SqlError("DAP207", "Scalar used like table", "Scalar variable {0} is used like a table"),
TableVariableUsedAsScalar = SqlError("DAP208", "Table used like scalar", "Table-variable {0} is used like a scalar"),
TableVariableAccessedBeforePopulate = SqlError("DAP209", "Table used before populate", "Table-variable {0} is accessed before it populated"),
Expand Down

0 comments on commit 9300270

Please sign in to comment.