Error Handling
For an example of error handling to an exceptions table, see Configuring the Oracle GoldenGate Parameter Files for Error Handling.
Table 10-7 UPDATEROWEXISTS with USEDELTA and USEMAX
Image | SQL | Comments |
---|---|---|
Before image in trail |
name='Mary' phone='1234567890' address='Oracle Pkwy' salary=100 balance=100 comment=NULL last_mod_time='9/1/10 3:00' |
|
After image in trail |
phone='222222' address='Holly' salary=200 comment='new' last_mod_time='9/1/10 5:00' |
|
Target database image |
name='Mary' phone='1234567890' address='Oracle Pkwy' salary=600 balance=600 comment='com' last_mod_time='9/1/10 4:00' |
|
Initial |
SQL bind variables: 1)'222222' 2)'Holly' 3)200 4)'new' 5)'9/1/10 5:00' 6)'Mary' 7)'1234567890' 8)'Oracle Pkwy' 9)100 10)'9/1/10 3:00' |
This SQL returns a no-data-found error because the values for the |
|
SQL bind variables: 1)200 2)100 3)'Mary' |
Per 600 + (200 - 100) = 700 |
|
SQL bind variables: 1)'222222' 2)'Holly' 3)'new' 4)'9/1/10 5:00' 5)'Mary' 6)'9/1/10 5:00' |
Per Note that the |