Quantcast
Viewing all articles
Browse latest Browse all 445

JDBC - Converting from DB2 to Teradata

I'm just converting some Java JDBC code to use Teradata from DB2 - thought I would share a couple of things I found and ask for any other advice.
1) Remove "WITH UR" from your statements: DB2 supports uncommitted read in the syntax "WITH UR" at the end of a SQL statement, I guess Teradata does not recognize that syntax.
2) Upgrade to the latest drivers: prior to upgrading, I was having problems populating date fields using parameters in the SQL - after upgrading driver, these date problems disappeared. 
Do you have any other advice as I proceed with my project?
Luke

Forums: 

Viewing all articles
Browse latest Browse all 445

Trending Articles