Generic CDC Update and Delete Jobs
Posted: Wed Jun 20, 2012 8:01 am
Hello ,
I have a Job Performing CDC .The out of this job is 3 data sets as usual first one Insert , Second Update and the last one is delete.I want to do only 3 Generic jobs using Run Time Column Propagation to handle Insert , Update and Delete.I did the insert one and it finished successfully.Unfortunately for Update And Delete I couldn't Because I have to Specify the Key Column explicitly.I did all work around and all failed:
1- Make A generic KEY_COLUMN With Checking Key Check Box then use Modify Stage to Rename the attribute but also after renaming and using RCP Key info was dropped :
Modify Specification : BRANCHID:int32= KEY_COLUMN
2- I Used Environment Variable OSH_PRINT_SCHEMAS to Print Schema Definition for all sources and Destinations ,But unfortunately Schema Contains only Column Name , DataType , Length , Nullable. Key is not included at the schema definition.
3 - I found this thread at dsxchange define the Key Column using {Key} but it doesn't work.
Is there are any Ideas To Make Update and delete generic jobs ?
I have a Job Performing CDC .The out of this job is 3 data sets as usual first one Insert , Second Update and the last one is delete.I want to do only 3 Generic jobs using Run Time Column Propagation to handle Insert , Update and Delete.I did the insert one and it finished successfully.Unfortunately for Update And Delete I couldn't Because I have to Specify the Key Column explicitly.I did all work around and all failed:
1- Make A generic KEY_COLUMN With Checking Key Check Box then use Modify Stage to Rename the attribute but also after renaming and using RCP Key info was dropped :
Modify Specification : BRANCHID:int32= KEY_COLUMN
2- I Used Environment Variable OSH_PRINT_SCHEMAS to Print Schema Definition for all sources and Destinations ,But unfortunately Schema Contains only Column Name , DataType , Length , Nullable. Key is not included at the schema definition.
3 - I found this thread at dsxchange define the Key Column using {Key} but it doesn't work.
Is there are any Ideas To Make Update and delete generic jobs ?