You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

I have successfully used jdbc in the past to insert data into Sybase IQ. Now I'm running into a problem that has had me stuck for days. Every attempt I have made gets error
ASA Error -131: Syntax error near '(' on line 1
I get this with different tables and have never been able to insert anything into this database using Talend. I have no idea where this left paren is coming from. It's not in the data I'm sending; I have verified this by putting a delimited file between the tMap and the tJdbcOutput that is attempting to insert the data.
Any ideas how I can debug this? How can I intercept the statement that is being sent to the database and causes this error?
I am using TOS 3.1.3r26090.
Offline

I may have resolved this problem by switching from jdbc to odbc to connect to Sybase IQ for the insert operation. Still, this is a bit disconcerting. The jdbc used to work, at least in other ETL projects.
I saw an old post saying that odbc was the preferred method for connecting to Sybase IQ. Could someone please confirm this and perhaps expand on it? Why is ODBC preferred?
Offline

Paul Norris wrote:
Any ideas how I can debug this? How can I intercept the statement that is being sent to the database and causes this error?
You can see what Talend is sending to the DB by selecting the component and then clicking on the "Code Viewer" tab, then select ALL from the drop-down arrow on the top right of the tab.
In the main section of the code you will see the DB call
Offline
Pages: 1