Link to home
Start Free TrialLog in
Avatar of sakar rao
sakar rao

asked on

ssis data copying

HI,
I have one requirement like , I have to copy the data from source server tables to destination server tables which are having same columns for all the tables. Server A is having X,Y,Z tables and Server B is Having same X,Y,Z tables… the data is not direct copy means to retrieve the A table’s data we have to do the some join operations with other tables like B,C..etc and the same for B,C tables data also. So i wrote one Stored procedure to pull the details from these tables (A,B,C) so the sp outcome is having 3 result sets i.e A,B,C. So to do this I took Script Component and calling this stored procedure and also i created output columns for all these tables and in the script i wrote the code to bind the sp data to these output buffers. So finally my script component is returning A,B,C tables result sets , now how do i bind these result sets to destination server A,B,C respective tables. Please help mee sirrrrrrrrrrrrrrrrrrrr
ASKER CERTIFIED SOLUTION
Avatar of Jim Horn
Jim Horn
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sakar rao
sakar rao

ASKER

hiii ,sorry for the confusion that I made u with my language.i will explain my requirement in detail.

I have source server A which is having 3 tables named x,y,z which are having different column names,my destination server B is also having same structured tables x,y,z as same as sever A.
I have one stored procedure which takes the table name as input (let's assume I passed tablename:x) and this will have some logic and returns the table (table:x data)resultset(the result set will have all the table:x columns) now I want to copy the stored procedure result data to my destination servers table(copy the data to Server :B --->x table), I have to do the same for all the remaining tables y,z...etc. so please suggest me how to solve this sirrrrrr pleaseeeee

0