S
sdg8481
Hi,
I know this has been covered many time buti just cant seem to get it working
for my query.
Basically i have a delete query that contains more than two table by an
INNER JOIN, hence one table just identifies those records to be deleted.
My SQL is as follows;
DELETE [T_Utilisation (Working)].[Unique ID2], [T_Utilisation
(Working)].WEEKDAY, [L - Weekday T].Include
FROM [T_Utilisation (Working)] INNER JOIN [L - Weekday T] ON [T_Utilisation
(Working)].WEEKDAY = [L - Weekday T].WEEKDAY
WHERE ((([L - Weekday T].Include)=0));
but when i try to run this i get an error stating "specify the table
containing the records you want to delete".
Basically, what i'm after is for where the 'Include' value in the 'L -
Weekday T' has a value of 0, for those records with a matching weekday in
the 'T_Utilisation (workings)' table to be deleted.
Hope this makes sense.
Thanks in advance
I know this has been covered many time buti just cant seem to get it working
for my query.
Basically i have a delete query that contains more than two table by an
INNER JOIN, hence one table just identifies those records to be deleted.
My SQL is as follows;
DELETE [T_Utilisation (Working)].[Unique ID2], [T_Utilisation
(Working)].WEEKDAY, [L - Weekday T].Include
FROM [T_Utilisation (Working)] INNER JOIN [L - Weekday T] ON [T_Utilisation
(Working)].WEEKDAY = [L - Weekday T].WEEKDAY
WHERE ((([L - Weekday T].Include)=0));
but when i try to run this i get an error stating "specify the table
containing the records you want to delete".
Basically, what i'm after is for where the 'Include' value in the 'L -
Weekday T' has a value of 0, for those records with a matching weekday in
the 'T_Utilisation (workings)' table to be deleted.
Hope this makes sense.
Thanks in advance