March 30, 2007 at 9:43 am
Apparently SSIS does not support insert/update directly into a non oledb, excel, flat file destination source... I would appreciate suggestions on how i could accomplish this without using sql 2005 linked servers.
Here's my setup...
Source - SQL 2005
Destination - Pervasive 8
Scenario:
I need to insert or update records From SQL Table A to Pervasive Table A based on whether SQL Table A record exists in Pervasive Table A
April 2, 2007 at 10:19 am
I've imported data from Pervasive to SQL, and can think of the following solution, although I havent tried it...
Like I said I havent tested it, but it should work in theory.
April 2, 2007 at 11:39 am
Believe it or not, i did exactly what you suggested prior to posting here. The problem I'm having is the final step. INSERT/Update pervasive via SSIS. The datareader w/ odbc destination is an in memory dataset. You can not INSERT/Update an ODBC DataReader destination using it.
April 5, 2007 at 7:40 am
I've not tried this so I don't know if it works... and you may have gone down this road already.
Instead of the ODBC connection, set up an ADO.NET for ODBC connection manager.
Write the results of your dataflow into a recordset.
In your control flow configure a foreach ADO enumerator mapping the columns from your recordset to the appropriate variables. Inside the loop create an execute SQL task and in your update/insert statement for your pervasive table use your newly populated variables to provide you with the input parameters.
It sounds like it might work, but as I say, I've never tried it!!! Also it would probably be very inefficient!
Kindest Regards,
Frank Bazan
April 5, 2007 at 9:38 am
I found the following post in the MSDN forums - unless the scope of SSIS has been updated and the above doesn't work, looks like you'll be doing it long hand..
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=106559&SiteID=1
April 5, 2007 at 1:59 pm
Jason, thanks for the link. I actually similar discussions about using "Script Components" as a destination source. It actually worked well. I even went as far as creating script component transformations and a custom destination source for Pervasive. Again, thanks for the suggestions. I know I can always count on the folks at SQLServerCentral.
June 9, 2009 at 2:21 pm
Hi John,
Can you post a copy of the script that you had developed to insert records into Pervasive within SSIS?
Thanks,
Ramesh
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply