Ramco Ramco

Ramco Ramco

  • 436
  • 3.4k
  • 546.2k

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)