Viewing 3 posts - 46 through 48 (of 48 total)
Here's what I did
Month1:
Insert into Bulkcopy(CompanyName ,CompanyNumber ,
AddressLine,PostTown,Country,PostCode,CompanyStatus)
('A Company','006','2 Main st','White Plains','NY','USA',null,'1')
Staging Month1:
Select CompanyName +','+CompanyNumber +','+
AddressLine+','+PostTown+','+Country+','+PostCode+','+CompanyStatus+','+CheckSumval
from Staging;
will yield
A Company,006,2 Main st,White Plains,NY,USA,null,1,123456
Master Month1:
--delta
insert into Master(CompanyName ,CompanyNumber ,
AddressLine,PostTown,Country,PostCode,CompanyStatus,CheckSumval,lastupdated)
select top 10 stg.CompanyName,...
March 26, 2014 at 4:53 am
Oops! sorry, I did make the changes to table name & alias
March 25, 2014 at 2:32 pm
Viewing 3 posts - 46 through 48 (of 48 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy