rspec/rules/S4413/rule.adoc

16 lines
343 B
Plaintext
Raw Permalink Normal View History

== Why is this an issue?
2020-06-30 12:49:37 +02:00
Although, it is syntactically possible (by using delimiters) to use SQL reserved keywords as identifiers and object names, it is best to not use them to avoid any confusion.
=== Noncompliant code example
2020-06-30 12:49:37 +02:00
2022-02-04 17:28:24 +01:00
[source,text]
2020-06-30 12:49:37 +02:00
----
CREATE TABLE "SELECT" ( "FROM" INT ); -- Noncompliant
SELECT "FROM" FROM "SELECT";
----