I am getting syntex error 'Missing operator' in this query
SELECT DISTINCT
dbo.ttdilc101201.t_clot AS Lot, dbo.ttdilc101201.t_cwar AS Warehouse, dbo.ttdilc101201.t_cprj AS project, dbo.ttdilc101201.t_date AS ItemDate,
dbo.ttdilc101201.t_item AS Item, dbo.ttiitm001201.t_dsca AS ItemDscp, dbo.ttipcs021201.t_dsca AS CustDsca,
dbo.ttdilc101201.t_strs AS Inv_on_hand_stora, dbo.ttdilc101201.t_stkb AS Inv_on_hold, dbo.ttdilc101201.t_loca AS location,
dbo.ttipcs021201.t_item
FROM dbo.ttdilc101201 LEFT outer JOIN
dbo.ttipcs021201 ON (dbo.ttdilc101201.t_item = dbo.ttipcs021201.t_item) LEFT outer JOIN
(dbo.ttiitm001201 ON dbo.ttdilc101201.t_item = dbo.ttiitm001201.t_item)
WHERE (dbo.ttdilc101201.t_strs > 0) AND (dbo.ttdilc101201.t_loca = 'BULK STO')
Thanks
SELECT DISTINCT
dbo.ttdilc101201.t_clot AS Lot, dbo.ttdilc101201.t_cwar AS Warehouse, dbo.ttdilc101201.t_cprj AS project, dbo.ttdilc101201.t_date AS ItemDate,
dbo.ttdilc101201.t_item AS Item, dbo.ttiitm001201.t_dsca AS ItemDscp, dbo.ttipcs021201.t_dsca AS CustDsca,
dbo.ttdilc101201.t_strs AS Inv_on_hand_stora, dbo.ttdilc101201.t_stkb AS Inv_on_hold, dbo.ttdilc101201.t_loca AS location,
dbo.ttipcs021201.t_item
FROM dbo.ttdilc101201 LEFT outer JOIN
dbo.ttipcs021201 ON (dbo.ttdilc101201.t_item = dbo.ttipcs021201.t_item) LEFT outer JOIN
(dbo.ttiitm001201 ON dbo.ttdilc101201.t_item = dbo.ttiitm001201.t_item)
WHERE (dbo.ttdilc101201.t_strs > 0) AND (dbo.ttdilc101201.t_loca = 'BULK STO')
Thanks