G
Guest
Hello all,
I have a database containing over 1.2 millions records in one table. I have
added two additional tables containing X codes in one and Y codes in the
other. I need to remove from the main table any records that do not have
the Y code listed in the Y table. I also need to remove any record from the
main table that has a match X code in the X table.
To top it off, the main database contains multiple records with the same ID
number. Such records are valid but for the purpose of my study I must only
work with record with the unique ID #.
I have not done any update or delete queries before. I created an
additional column in the main table formatted as yes/no with no as the
default. I tried an update qeurey and got a Not enough memory error.
So my question is---am I going in the right direction. Is there a better
way to do this?
Thanks
Michael
I have a database containing over 1.2 millions records in one table. I have
added two additional tables containing X codes in one and Y codes in the
other. I need to remove from the main table any records that do not have
the Y code listed in the Y table. I also need to remove any record from the
main table that has a match X code in the X table.
To top it off, the main database contains multiple records with the same ID
number. Such records are valid but for the purpose of my study I must only
work with record with the unique ID #.
I have not done any update or delete queries before. I created an
additional column in the main table formatted as yes/no with no as the
default. I tried an update qeurey and got a Not enough memory error.
So my question is---am I going in the right direction. Is there a better
way to do this?
Thanks
Michael