HajdukSplit
Programmer
I have 2 tables, TABLE_A and TABLE_B.
TABLE_A has a field B_ID which contains the ID of corresponding record in the TABLE_B. In the TABLE_B some of the referenced records were deleted.
What I need to do is to run through TABLE_A and select all B_ID for which there is no corresponding record in the TABLE_B.
I've tried this using the NO_DATA_FOUND exception, but this only gives me the first B_ID for which there is no corresponding record in the TABLE_B.
I'm sure this is rather basic, but since I'm a total newbie on this topic I'm asking for your help.
TABLE_A has a field B_ID which contains the ID of corresponding record in the TABLE_B. In the TABLE_B some of the referenced records were deleted.
What I need to do is to run through TABLE_A and select all B_ID for which there is no corresponding record in the TABLE_B.
I've tried this using the NO_DATA_FOUND exception, but this only gives me the first B_ID for which there is no corresponding record in the TABLE_B.
I'm sure this is rather basic, but since I'm a total newbie on this topic I'm asking for your help.