SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


DataTransfer


DataTransfer

Author
Message
Deepthy
Deepthy
SSC-Enthusiastic
SSC-Enthusiastic (191 reputation)SSC-Enthusiastic (191 reputation)SSC-Enthusiastic (191 reputation)SSC-Enthusiastic (191 reputation)SSC-Enthusiastic (191 reputation)SSC-Enthusiastic (191 reputation)SSC-Enthusiastic (191 reputation)SSC-Enthusiastic (191 reputation)

Group: General Forum Members
Points: 191 Visits: 346
Hi All,

I have 13 databases say portfolio databases named (a, b, c, d,....m)
I need to transfer few tables(17 tables) from each portfolio in to one single db say 'Test' .
Currently I took 13 portfolio names in to a cursor and passing them to 17 insert statements.

Is there any better way of doing this using ssis?

I also want to log the errors relevant to the inserts if any.

Any help is really appreciated.

Thanks
SQL_NuB
SQL_NuB
Old Hand
Old Hand (304 reputation)Old Hand (304 reputation)Old Hand (304 reputation)Old Hand (304 reputation)Old Hand (304 reputation)Old Hand (304 reputation)Old Hand (304 reputation)Old Hand (304 reputation)

Group: General Forum Members
Points: 304 Visits: 364
you can use SSIS to migrate your data from 1 db to another. You can create a DB with that tables you need, then create an SSIS package and point to the databases and tables you need and map those to your new database.

I have several SSIS packages that do something similiar. Go from oracle, access, etc. and I import the data into 1 SQL database
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search