Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Export a table with more than 20 columns

Author  Topic 

ecila99
Starting Member

1 Post

Posted - 2008-08-20 : 16:52:33
I'm trying to create a DTS to export all tables in a database into csv files. For each table, I created two connections: a Microsoft OLE DB Provider for SQL Server and a text file (Destination). A transform data task is used for transferring the data from the first connection to the second one. This is a very basic things and all works fine except for 2 tables.

For these 2 tables, when I go into the transform data task, on the second tab (destination), if I click on the "define column->populate from source->execute", the list will still be empty. If I try to go back into the define column page, I will get an error message, "The instruction at '0x77c47e9f' referenced memory at '0x00000000'. The memory could not be 'read'." No matter I click ok or cancel on the error message, the enteprise manager will be closed down automatically.

Having surfed on this error message on google, I only found something related to winXP sp2, but nothing related to SQL server. But one thing I found out myself is: if I use a query to only select less than 20 columns in these 2 tables, I will not get the error message. I couldn't find any alternative solution to this. I think may be I could use activeX task to get around this but I couldn't find any sample on how to do it.

Has anyone experienced this before? How do you resolve it?

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-08-29 : 09:20:27
You export all tables to same text file?



E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page
   

- Advertisement -