I have the following select query but its returning everything and not filtering on the where clause:
declare @Article char(30);
set @Article := 'CLOTHING/FUR';
SELECT
'OFFENSE' AS TblSource,
P_date as entered_date
, CONVERT(CN, CHAR(10)) AS REFNUM
, '' AS...