REPLACE in SELECT statement invalid?

Avatar
  • updated
  • Under review

I am using a REPLACE statement within the SELECT statement but FlySpeed SQL Query says this is an invalid statement. Why is that? How can I work around it? My statement looks like this:

 

SELECT

  REPLACE (decimalwithcomma,',','.')