MSCEWI3079
INSTR function converted to REGEXP_INSTR
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
Severity
Low
Description
When the Oracle source code uses the INSTR function with its fourth parameter, occurrence, it will be converted to the Snowflake function REGEXP_INSTR. Keep in mind that REGEXP_INSTR works with regular expressions so the substring to look for will be actually a regular so expression so it may be possible that some adjustments must be done to make it work properly.
Example Code
Input Code
Output Code
Modified output Code
Recommendations
Escape all regular expression-related characters with a double backslash.
If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated