SWQL doesn't support the CAST and CONVERT functions (except for a special case - SWQL has a ToString(stuff) function that works like CONVERT(nvarchar, stuff)), but I think you can work around this by adding 0, like this: ORDER BY 0+CPS.Status desc
↧
SWQL doesn't support the CAST and CONVERT functions (except for a special case - SWQL has a ToString(stuff) function that works like CONVERT(nvarchar, stuff)), but I think you can work around this by adding 0, like this: ORDER BY 0+CPS.Status desc