Skip to contents

Replaces any occurrences of the source with target in string.

Usage

replace(string = VARCHAR, source = VARCHAR, target = VARCHAR)

Arguments

string

VARCHAR

source

VARCHAR

target

VARCHAR

Value

VARCHAR

SQL examples

replace('hello', 'l', '-')