SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 ado.net destination failure
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tpavan7329
Starting Member

USA
18 Posts

Posted - 06/14/2012 :  05:04:11  Show Profile  Reply with Quote
I have 2 sources mysql and MS SQL and i join them by mergejoin and then i have to import into mysql table. I have all the steps successful except the insert step into mysql. I get below error.


ERROR:
-----------
[ADO NET Destination [1086]] Error: An exception has occurred during data insertion, the message returned from the provider is: Unknown column 'p1' in 'field list'
-------------------------------

I do not even have this column in the table and i tried all kind of stuff like adding few columns, swapping, recreating table but no luck. Can someone help me with this?

Thanks,
Pavan

nigelrivett
Flowing Fount of Yak Knowledge

United Kingdom
3328 Posts

Posted - 06/14/2012 :  05:30:44  Show Profile  Visit nigelrivett's Homepage  Reply with Quote
Sounds like the driver doesn't support mysql properly.
Try checking the external columns in the mapping - otherwise can you select a different connection type?

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

yosiasz
Flowing Fount of Yak Knowledge

USA
1608 Posts

Posted - 06/14/2012 :  12:24:58  Show Profile  Click to see yosiasz's MSN Messenger address  Reply with Quote
what are the columns in the mergejoin and the columns the destination table. please post schema?

<><><><><><><><><><><><><><><><><>
If you don't have the passion to help people, you have no passion
Go to Top of Page

tpavan7329
Starting Member

USA
18 Posts

Posted - 06/15/2012 :  01:57:15  Show Profile  Reply with Quote
Thanks for the reply

I refered to this link http://www.bisql.net/2011/03/pgsql_ssis_mysql/ and followed the approach worked for me

T Pavan Kumar
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000