Find and Replace in Snowflake Datawarehouse
REPLACE - Removes all occurrences of a specified string, and optionally replaces them with another string.
Syntax:
REPLACE( <subject> , <pattern> [ , <replacement> ] )
Example:
select replace('abcd', 'bc', '') from dual;
Result: ab
nVector
posted on 25 Mar 19Enjoy great content like this and a lot more !
Signup for a free account to write a post / comment / upvote posts. Its simple and takes less than 5 seconds
Post Comment