Quantcast
Viewing latest article 32
Browse Latest Browse All 3145

Loading Data from Staging Table to Parent and child tables

Hi,
I am trying to load data fro mSTaging table (No Primary Key as it's from the csv file) but in Child table and it's inserting all the Parent Kel column value, just picking up last value, see the code below:

DECLARE @DCID INT, -- Parent Key

Viewing latest article 32
Browse Latest Browse All 3145

Trending Articles