MSSQL error : SELECT th.idTheme, REPLACE(th.labelFR,'&','&') AS themeFR, REPLACE(th.labelNL,'&','&') AS themeNL, REPLACE(th.labelEN,'&','&') AS themeEN, REPLACE(th.labelDE,'&','&') AS themeDE, ('attractions/search/?newSearch=1&th=' + CONVERT(nvarchar(5),idTheme) + '&fromFlash=1') AS themeURLFR, ('attractions/search/?newSearch=1&th=' + CONVERT(nvarchar(5),idTheme) + '&fromFlash=1') AS themeURLNL, ('attractions/search/?newSearch=1&th=' + CONVERT(nvarchar(5),idTheme) + '&fromFlash=1') AS themeURLEN, ('attractions/search/?newSearch=1&th=' + CONVERT(nvarchar(5),idTheme )+ '&fromFlash=1') AS themeURLDE, po.idPole, po.labelFR AS poleFR, po.labelNL AS poleNL, po.labelEN AS poleEN, po.labelDE AS poleDE, po.labelURLFR AS pole_tag, ('attractions/search/?newSearch=1&po=' + CONVERT(nvarchar(5),idPole) + '&fromFlash=1') AS poleURLFR, ('attractions/search/?newSearch=1&po=' + CONVERT(nvarchar(5),idPole) + '&fromFlash=1') AS poleURLNL, ('attractions/search/?newSearch=1&po=' + CONVERT(nvarchar(5),idPole) + '&fromFlash=1') AS poleURLEN, ('attractions/search/?newSearch=1&po=' + CONVERT(nvarchar(5),idPole) + '&fromFlash=1') AS poleURLDE, CASE WHEN po.labelURLFR = 'culture' THEN '0xec8b00' WHEN po.labelURLFR = 'nature' THEN '0x84ad10' WHEN po.labelURLFR = 'recreatif' THEN '0x58b5d2' END AS couleur FROM Theme AS th INNER JOIN Pole_Theme ON pth_fk_theme = th.idTheme INNER JOIN Pole AS po ON pth_fk_pole = po.idPole ORDER BY po.labelFR ASC, th.labelFR ASC