SQL Clone
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
SSC-Enthusiastic
SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)

Group: General Forum Members
Points: 183 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
SSCarpal Tunnel
SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)SSCarpal Tunnel (4.8K reputation)

Group: General Forum Members
Points: 4827 Visits: 3227
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
SSCoach
SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)

Group: General Forum Members
Points: 19268 Visits: 20462
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
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1181 Visits: 1028
100% Possible.
but should have the adequate permissions.
Koen Verbeeck
Koen Verbeeck
One Orange Chip
One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)

Group: General Forum Members
Points: 28161 Visits: 13268
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?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
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