rspec/rules/S1940/tsql/rule.adoc

45 lines
518 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
include::../description.adoc[]
== Noncompliant Code Example
----
IF NOT (@a = 2) -- Noncompliant
BEGIN
...
END
IF NOT (@b < 10) -- Noncompliant
BEGIN
...
END
----
== Compliant Solution
----
IF @a <> 2
BEGIN
...
END
IF @b >= 10
BEGIN
...
END
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]