I have the following script :
SELECT Invoiced,DeliveryNoteNo,DocumentNo,ORIGTYPE,OrderNo,Shipdate,CustNo,CUSTNAME,ItemNo,ITEMDESC
FROM dbo.RPTDeliveryNotes
I get the output on the Invoiced fields as 2 and 3. How do I convert the 2 for Invoiced and the 3 for Not Invoiced?