Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Need help for a small ETL practice problem


Need help for a small ETL practice problem

Author
Message
etl.laptop
etl.laptop
Valued Member
Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)

Group: General Forum Members
Points: 63 Visits: 116
I made a practice problem for myself - Using SSIS, make a package to load data from text files located on a Server P, load these files into a table in Server Q. Can I also run this package from a third Server R ? Or should the package be run from Server Q itself because that is where the destination tables are.

Main task - It is easy to load it from my local machine. But, how do I load text files from a different server, i.e not on my system which has the SSIS ?
happycat59
happycat59
Hall of Fame
Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)

Group: General Forum Members
Points: 3562 Visits: 3097
The server name in the connection manager you use for servers P and Q determines where you get or send data to. SSIS doesn't really care. It simply connects to the server/database defined in your connection and then does what you ask it to do.



Phil Parkin
Phil Parkin
SSCrazy Eights
SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)

Group: General Forum Members
Points: 8310 Visits: 19457
etl.laptop (9/26/2013)
I made a practice problem for myself - Using SSIS, make a package to load data from text files located on a Server P, load these files into a table in Server Q. Can I also run this package from a third Server R ? Or should the package be run from Server Q itself because that is where the destination tables are.

Main task - It is easy to load it from my local machine. But, how do I load text files from a different server, i.e not on my system which has the SSIS ?


As long as the connections are defined using 'full' naming conventions (UNC paths for files and not localhost etc for the SQL Server instances), you shouldn't have any problems. Except for when the job is scheduled to run under SQL Agent - then you will have permissions problems on the file access because of the context in which SQL Agent runs (I'd say that this is FAQ #1 for SSIS forums).


Help us to help you. For better, quicker and more-focused answers to your questions, consider following the advice in this link.

If the answer to your question can be found with a brief Google search, please perform the search yourself, rather than expecting one of the SSC members to do it for you.

Please surround any code or links you post with the appropriate IFCode formatting tags. It helps readability a lot.
Mr. Kapsicum
Mr. Kapsicum
Right there with Babe
Right there with Babe (741 reputation)Right there with Babe (741 reputation)Right there with Babe (741 reputation)Right there with Babe (741 reputation)Right there with Babe (741 reputation)Right there with Babe (741 reputation)Right there with Babe (741 reputation)Right there with Babe (741 reputation)

Group: General Forum Members
Points: 741 Visits: 968
100% Possible.
but should have the adequate permissions.
Koen Verbeeck
Koen Verbeeck
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16441 Visits: 13202
etl.laptop (9/26/2013)
I made a practice problem for myself - Using SSIS, make a package to load data from text files located on a Server P, load these files into a table in Server Q. Can I also run this package from a third Server R ? Or should the package be run from Server Q itself because that is where the destination tables are.

Main task - It is easy to load it from my local machine. But, how do I load text files from a different server, i.e not on my system which has the SSIS ?


The only restriction you could have is when you use the SQL Server Destination. This component can only be used when the SSIS package is run on the destination server. All the more reason to avoid it.



How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
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