?
Solved

Inserting data from 2000 to 2005

Posted on 2008-02-12
1
Medium Priority
?
222 Views
Last Modified: 2012-05-05
Hi,

I have created a OLE DB source from a linked 2000 server, I have created a OLE DB destination from a local server, I have used the code attached in the data flow destination  to copy the data from the link server to the local server, but I get the error "no disconnected recordset is available for the specified SQL statement"

Is this the best way to do a simple copy from one table to another, or is there a better way.

Thanks
INSERT INTO wbTelVoiceOut(CALLDATE,CALLTIME,DURATION,DIALLEDNUMBER,LOCATION,CHARGE,INVNUMBER,DESTTYPE,TELDEVID,DAYOFWEEK,COSTID,EMPID)
SELECT  CALLDATE,CALLTIME,DURATION,DIALLEDNUMBER,LOCATION,CHARGE,INVNUMBER,DESTTYPE,TELDEVID,DAYOFWEEK,COSTID,EMPID
FROM [GBLON3\STARBASE].[WEBBILL].[dbo].[wbTelVoiceOut_data_sort]

Open in new window

0
Comment
Question by:trojan_uk
1 Comment
 
LVL 8

Accepted Solution

by:
digital_thoughts earned 1000 total points
ID: 20875149
Have you tried using a SSIS package on the 2005 server and create an import using the import/export wizard, which you can then schedule the package to run as needed.
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Suggested Courses

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question