Ramco Ramco

Ramco Ramco

  • 419
  • 3.4k
  • 528.1k

Incorrect syntax near |

Aug 14 2023 4:03 PM

Hi

SELECT CASE 
  WHEN GroupID = 2 THEN
    '<span style="color:red;font-weight:bold">' || GroupId || '</span>'
  END AS Grp
FROM Group

Thanks


Answers (13)