I'm trying to get rid of duplicate production records in a inventory history table. My problem is that there are inventory records with no date in the transdate field. I think that is why my delete statement won't work. Here is my code:
delete from Inhist where LocationID = 'CS01' and TransDate = '2007-10-16' and ProductID = 'CM11A' and BatchID < '11221' and ShipOrReceive = 'P';
I know this is correct data because I have pulled it up in Pervasive, however I cannot pull it up if I reference the transdate.
Thanks
Cathy