![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm designing a DTS package right now to pulls partial data from several tables in a database on a server which I have limited access to (read only, for the most part) to a server and database I'm the owner of. I am able to create Data Pump Tasks to import table by table to each corresponding table on my server. It would be more efficient for me, and I assume for the DTS process, if I could just write T-SQL statements to select the data I need into the tables I want instead of creating a new pump for several tables. Is it possible to do this without running sp_addlinkedserver on the database which I don't have write access to? I'm accessing the data using Windows Authentication and cannot seem to link to the server from the one I have ownership rights on. Thanks for any input. Sorry if my question is very facile, please point me to the right BOL section or KB article, if so. |
#3
| |||
| |||
|
|
You could try using OPENDATASOURCE() I am not sure that this is any more efficient that the Transaform Data Pump tasks though. What is essential is when moving data only move the data you need and this usually menas specifying a SQL Statement instead of just the table object. Allan Mitchell www.SQLDTS.com www.SQLIS.com www.Konesans.com I'm designing a DTS package right now to pulls partial data from several tables in a database on a server which I have limited access to (read only, for the most part) to a server and database I'm the owner of. I am able to create Data Pump Tasks to import table by table to each corresponding table on my server. It would be more efficient for me, and I assume for the DTS process, if I could just write T-SQL statements to select the data I need into the tables I want instead of creating a new pump for several tables. Is it possible to do this without running sp_addlinkedserver on the database which I don't have write access to? I'm accessing the data using Windows Authentication and cannot seem to link to the server from the one I have ownership rights on. Thanks for any input. Sorry if my question is very facile, please point me to the right BOL section or KB article, if so. |
![]() |
| Thread Tools | |
| Display Modes | |
| |