Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Move table to different Destination Expand / Collapse
Author
Message
Posted Saturday, December 21, 2013 12:05 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, November 11, 2014 7:48 AM
Points: 16, Visits: 64
Hi

I have x(Source) table in one server and Y(Destination) table in different server and i have a(destination),b(destination),c(destination) tables in different servers.


but x,a,b,c,y are of same structure...

1. Based on city COLUMN i have to move x data to a,b,c and y destination table at a time with out using multiple OLEDB destination transformation.

That is dynamically passing data to different destination with out oledb destination



Can you please help me on this i am new to ssis ...


Post #1525243
Posted Saturday, December 21, 2013 12:55 AM
SSChasing Mays

SSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing Mays

Group: General Forum Members
Last Login: Tuesday, November 18, 2014 11:25 AM
Points: 637, Visits: 2,143
Is there a reason you can't use multiple OLE db destinations? That would likely be the best way ... get the data from your source, do a conditional split on city and map each condition to a seperate ole eb destination with a connection to the appropriate server.

If you really don't want that, you could probably put your data flow in a for loop container, and put an expression in your ole db destination that changes the connection used (or connection string if you only want to define one connection too) based on your iteration of the loop.

Upside is it would be easy to add more city/server destinations in the future. Downside is you query the source multiple times instead of getting all the data and splitting it.

Post #1525245
Posted Saturday, December 21, 2013 10:48 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, November 11, 2014 7:48 AM
Points: 16, Visits: 64
Thank you
I understand but can you please share me with example its my request...
Post #1525316
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse