Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2005 > SQL Server 2005
SQL Server 2005 General discussion of SQL Server *2005* version only.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 26th, 2007, 12:34 PM
Registered User
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to GujuNilesh
Default Transferring results from a query to another table

OK this is what I am trying to do.
I am running a query on another server
then I want to take the results from that query and have the results stored into another table on the local server.
And i want this to happen first day of each month around 3AM.

How is this possible. My main problem is just transferring the data.

Old March 2nd, 2007, 02:00 PM
Friend of Wrox
Join Date: Aug 2004
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts

try looking into remote procedure calls.

Call up a stored proc or do a select from server X but on server Y (requires that they have been linked) then output the stored procedure or select to the local server X.

select into test * from (Server Name).(Database Name).(Owner).(Table Name)

run this on the server you want to move the data to, not from.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit Query Results in Results Grid druid2112 SQL Server 2005 1 June 28th, 2007 08:49 AM
Split Query Results voskoue Access VBA 2 June 1st, 2007 10:08 AM
different results were given for the same query madhusrp SQL Server 2000 2 May 9th, 2006 01:54 AM
Temp Table Query not returning results to page rlull SQL Server 2000 1 November 15th, 2005 04:50 PM
Refresh Query Results Ben Access VBA 2 February 10th, 2004 10:58 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.