Before Value Returns NULL Value When Update (Doc ID 1589991.1)

Last updated on JANUARY 25, 2017

Applies to:

Oracle GoldenGate - Version 11.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Goal is to get the Before value when an Update is executed.

TEST1= before.mycol

TES2=@CASE (@GETENV ("GGHEADER","OPTYPE"),
  "INSERT", " ",
  "DELETE", " ",
  "UPDATE", before.mycol)

In my example, TEST1 gets the correct value for "before.mycol", INSERT and DELETE gives blank value and UPDATE gives NULL value.

UPDATE should give the same value returned in TEST1.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms