MSCEWI3018

Snowflake does not support occurrence parameter.

Severity

Medium

Description

The INSTR functions do not support the fourth parameter that is the one for the occurrence value specification. The Snowflake Position equivalent function does not support the occurrence parameter and then the value is removed and this message is being added.

Example Code

Input Code:

CREATE TABLE TABLE1
(
 COL1 NUMBER DEFAULT INSTRB('CORPORATE FLOOR','OR', 3),
 COL2 NUMBER DEFAULT INSTRC('CORPORATE FLOOR','OR'),
 COL3 NUMBER DEFAULT INSTR2('CORPORATE FLOOR','OR', 3, 2),
 COL4 NUMBER DEFAULT INSTR4('CORPORATE FLOOR','OR', 3, 2)
);

Output Code:

Recommendations

  • No additional user actions are required.

  • If you need more support, you can email us at [email protected]

Last updated