Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

writing table to remote
I have 3 servers: A,B and C.

On server A I will be executing a procedure that get data from
server B I will then write the result table to server C. All the servers
are linked and I have all security necessary. Can I do that and how?

Thanks for the help.
Tony

Report this thread to moderator Post Follow-up to this message
Old Post
tony-icwgroup
10-29-05 01:23 AM


RE: writing table to remote
yes

-I-
1. create stored procedure that return rows from server B
2. insert into #t exec sp  (create #t before insert)
3. insert into server C select * from #t

-II-  (without sp)
1. insert into server c select ... from server b

--
Aleksandar Grbic
MCDBA, Senior Database Administrator


"tony-icwgroup" wrote:

> I have 3 servers: A,B and C.
>
> On server A I will be executing a procedure that get data from
> server B I will then write the result table to server C. All the servers
> are linked and I have all security necessary. Can I do that and how?
>
> Thanks for the help.
> Tony

Report this thread to moderator Post Follow-up to this message
Old Post
Aleksandar Grbic
10-29-05 04:23 PM


Re: writing table to remote
Hi

Have you tried using linked servers (See the topic "Configuring Linked
Servers" in books online) and 4 part names (See "Using Identifiers as Object
Names" in Books online) or openquery possibly to call a remote stored
procedure.

John

"tony-icwgroup" < tonyicwgroup@discuss
ions.microsoft.com> wrote in message
news:571EA413-3FB8-40A2-97D8- 300D35E20892@microso
ft.com...
>I have 3 servers: A,B and C.
>
> On server A I will be executing a procedure that get data from
> server B I will then write the result table to server C. All the servers
> are linked and I have all security necessary. Can I do that and how?
>
> Thanks for the help.
> Tony



Report this thread to moderator Post Follow-up to this message
Old Post
John Bell
10-30-05 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 03:48 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006