Thanks for any help here. I have two tables, call them bigTab and smallTab. Both tables have a field called f1. I want to delete all records from smallTab where there is not a matching f1 in bigTab. I've tried various versions of the following delete query but all seem to take forever to complete:
Delete from smallT where f1 not in (select f1 from bigT).
Thanks.
Delete from smallT where f1 not in (select f1 from bigT).
Thanks.