Here is my scenario:
I have 2 current tables (We'll call them DimA and DimB):
DimA has 2 columns (Key, ZipCode)
DimB has 5 columns (FirstName, LastName, Address, ZipCode, Key)
I need to:
INSERT INTO DimB(Key) VALUES
(SELECT Column(Key) FROM DimA WHERE dimA.ZipCode = dimB.ZipCode)
What is the absolute best way to go about making this work?