25 March 2019 · npac ·       Add to Favorites   Report

Find and Replace in Snowflake Datawarehouse

REPLACE - Removes all occurrences of a specified string, and optionally replaces them with another string.


REPLACE( <subject> , <pattern> [ , <replacement> ] )


select replace('abcd', 'bc', '') from dual;

Result: ab


posted on 25 March 2019

Read great educational content like this and a lot more !

Members get free exclusive access to content, new courses, and discounts. Signup for a free account to write a post / comment / upvote posts. Creating an account takes less than 5 seconds and you can start earning badges & points too