Hi,@newbie
From your description alone, it seems that the demand is not clear,If you are using SQL server, have you tried merge into, try to design code like:
INSERT tbl_A (col, col2)
SELECT col, col2
FROM tbl_B
WHERE NOT EXISTS (SELECT col FROM tbl_A A2 WHERE A2.col = tbl_B.col);
If it doesn't work, tag access for more precise help.
Bert Zhou