G
Guest
Hi all
I have a temp table that contains EmployeeID #s. I want to use that to
delete a bunch of records from another table. The following is the SQL code
generated by my query. It keeps giving me an error asking to specify the
table I want to delete from:
DELETE EmployeeVacations.VID, EmployeeVacations.EmployeeID,
EmployeeVacations.VacType, EmployeeVacations.DaysRequested,
EmployeeVacations.From, EmployeeVacations.To, EmployeeVacations.To2,
EmployeeVacations.DayRequested, EmployeeVacations.DayApproved
FROM EmployeeVacations INNER JOIN [Temporary] ON
EmployeeVacations.EmployeeID = Temporary.EmployeeID;
I'd appreciate any help
Thanks
I have a temp table that contains EmployeeID #s. I want to use that to
delete a bunch of records from another table. The following is the SQL code
generated by my query. It keeps giving me an error asking to specify the
table I want to delete from:
DELETE EmployeeVacations.VID, EmployeeVacations.EmployeeID,
EmployeeVacations.VacType, EmployeeVacations.DaysRequested,
EmployeeVacations.From, EmployeeVacations.To, EmployeeVacations.To2,
EmployeeVacations.DayRequested, EmployeeVacations.DayApproved
FROM EmployeeVacations INNER JOIN [Temporary] ON
EmployeeVacations.EmployeeID = Temporary.EmployeeID;
I'd appreciate any help
Thanks