ORDER.Order_Id as 'id',
IF(ORDER.Released = 1) PRINT 'Released'
ELSE PRINT 'Not Released'
CASE ORDER.Released THEN 'Released' ELSE 'Not Released' END
O.Order_ID AS 'id',
CASE WHEN O.Released = 1 THEN 'Released' ELSE 'Not Released' END AS ReleaseStatus
FROM Order AS O
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)