My Oracle Support Banner

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.