Focal Point
[CASE-OPENED] (FOC1400) SQLCODE

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/8697043776

July 20, 2015, 10:54 AM
Virul Patel
[CASE-OPENED] (FOC1400) SQLCODE
Join with two tables

getting below error

(FOC1400) SQLCODE IS -1 (HEX: FFFFFFFF) XOPEN: 22018
: Microsoft OLE DB Provider for SQL Server: [22018] Invalid character value for cast specification.
(FOC1406) SQL OPEN CURSOR ERROR. : FILTEREDCONTACT

Any idea ?

Thanks

This message has been edited. Last edited by: <Kathryn Henning>,


Virul Patel
Product :
iWay Data Migrator (8.1)
WebFocus 8.1
SQL SERVER 2012
July 20, 2015, 11:52 AM
Clif
The FOC1400 just means that an error was received from the RDBMS. It's the "Invalid character value for cast specification" that is the real error. While that too can have a variety of causes one of the most common is a mismatch of the data types in a join or as described in the synonym and what's actually in the underlying RDBMS table. Have you been editing the synonym?

You may want to try recreating or updating the synonyms from the database. If you do that and are still having difficulties I would suggest opening a hottrack case and uploading the synonyms, data flow and this case also the DDL used to create the MS SQL Server tables.


N/A
July 20, 2015, 12:04 PM
Virul Patel
Clif,

Thanks for reply.

We will refresh Synonyms and will see, but it seems that it was working nice with our older version, when we upgraded DM, we started to get this error. We still did not decommission old server, we checked with old DMC, it is still working.

* We tried to refresh synonyms, it is not working
* we checked join and both columns data type- are exact same
* we tried to create transformation and try to use it in join - No luck

We will create fasttract ticket.

Thanks


Virul Patel
Product :
iWay Data Migrator (8.1)
WebFocus 8.1
SQL SERVER 2012