I have a sample text that contains '-' or ' '. So I want a sql replace statement that replaces both '-' and ' ' with ''.
My query is:
SELECT REPLACE('SQL-Tu torial','-',' ','');
Desired outcome:
SQLTutorial
Error: I get error for Replace function arguments.
The replace function requires 3 argument(s).
Any help?
