adam.greer
Registered User.
- Local time
- Today, 12:30
- Joined
- Apr 27, 2006
- Messages
- 43
Hi Guys
I want to delete some fields in my table based on the fields in another table. The two fields have a relationship.
Here is the SQL
DELETE Playlists_OnAir.PlaylistAUID, PlaylistTimes_OnAir.BroadcastTime
FROM Playlists_OnAir INNER JOIN PlaylistTimes_OnAir ON Playlists_OnAir.PlaylistAUID = PlaylistTimes_OnAir.OriginalAUID
WHERE (((PlaylistTimes_OnAir.BroadcastTime)<Date()-"7"));
However this asks me to specify the table I want to delete from, and I can't seem to do that.
Any ideas?
Thanks
Adam
I want to delete some fields in my table based on the fields in another table. The two fields have a relationship.
Here is the SQL
DELETE Playlists_OnAir.PlaylistAUID, PlaylistTimes_OnAir.BroadcastTime
FROM Playlists_OnAir INNER JOIN PlaylistTimes_OnAir ON Playlists_OnAir.PlaylistAUID = PlaylistTimes_OnAir.OriginalAUID
WHERE (((PlaylistTimes_OnAir.BroadcastTime)<Date()-"7"));
However this asks me to specify the table I want to delete from, and I can't seem to do that.
Any ideas?
Thanks
Adam
Last edited: