G
Guest
Hi I'm trying to delete duplicates from a table I have combined from 2
others, but I get an error message "could not delete from specified tables"
can any one help? I 'm new at this and can't find the right answer
I'm using this code but I'm sure it's not right
DELETE *
FROM [SELECT First(plant.[Plant number]) AS [Plant number Field],
Count(plant.[Plant number]) AS NumberOfDups
FROM plant
GROUP BY plant.[Plant number]
HAVING (((Count(plant.[Plant number]))>1))]. AS [%$##@_Alias];
many thanks Dic
others, but I get an error message "could not delete from specified tables"
can any one help? I 'm new at this and can't find the right answer
I'm using this code but I'm sure it's not right
DELETE *
FROM [SELECT First(plant.[Plant number]) AS [Plant number Field],
Count(plant.[Plant number]) AS NumberOfDups
FROM plant
GROUP BY plant.[Plant number]
HAVING (((Count(plant.[Plant number]))>1))]. AS [%$##@_Alias];
many thanks Dic