Dears,
SELECT replace('hello','e',NULL) -- returns NULL
SELECT replace('hello','5',NULL) -- returns also NULL (Here I'd expect it does nothing ; since there is no '5' in 'hello')
The documentation clearly states:
Returns NULL if any one of the arguments is NULL.
So the behavior is explained.
Is there a workaround, meaning if a pattern is found in a string ; like ‘e’ in hello ; a NULL value is emitted?
You may also like
-
Why Boca Raton’s Best Barbershop Services Will Transform Your Look
-
Contact Novita Lab Diamonds: Your Entryway to Moral Extravagance
-
Lab-Grown Diamonds vs. Mined Diamonds: A Far reaching Correlation
-
Novita Labor Diamanten: Our Story and the Eventual fate of Lab-Developed Jewels
-
A Secret Engagement Proposal: The Allure of Lab-Grown Diamonds