Ramco Ramco

Ramco Ramco

  • 423
  • 3.4k
  • 518k

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)