sequence

CURRENT-VALUE|NEXT-VALUE [sequencename] statement used

Rule "sequence" gives this warning when it finds a CURRENT-VALUE or NEXT-VALUE statement. This is to test for Oracle compatibility:

  1. With Oracle you can't use "current-val" until you have run "next-value" at least once.
  2. The following is invalid via Oracle: "current-value(seq) = 1."

Sequence name [sequencename] has an invalid ending (_SEQ).

In Oracle, the name of a sequence can not end with "_seq"