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

Need help for a small ETL practice problem Expand / Collapse
Author
Message
Posted Thursday, September 26, 2013 5:37 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Tuesday, October 15, 2013 4:32 PM
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 ?
Post #1499118
Posted Thursday, September 26, 2013 10:04 PM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: 2 days ago @ 9:55 PM
Points: 2,950, Visits: 2,552
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.


Post #1499162
Posted Thursday, September 26, 2013 10:07 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 7:35 AM
Points: 5,024, Visits: 11,754
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.

When you ask a question (and please do ask a question: "My T-SQL does not work" just doesn't cut it), please provide enough information for us to understand its context.
Post #1499163
Posted Thursday, September 26, 2013 10:11 PM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: 2 days ago @ 11:46 PM
Points: 463, Visits: 603
100% Possible.
but should have the adequate permissions.
Post #1499165
Posted Friday, September 27, 2013 12:11 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 7:45 AM
Points: 13,538, Visits: 10,412
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 LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1499195
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse