SlideShare a Scribd company logo
How to handle a data separation
My Company X was splitting into 2 companies; Company X1 & Company X2. I was assigned the task of
migration of records from the original company into the newly established companies. Since the ERP
involved was PeopleSoft, data had to split in to two companies. I would like to share the unconventional
approach used in the data separation. The process is split to three parts
a) Back up
b) Delete and
C) Restore.
The separation of JOB DATA is based on the separation date where as non JOB DATA components are
based on another set of separation date. Since a full database backup will not serve the purpose of
restoring the selected employees at a later point of time in the case of an accidental deletion. I was forced
to create tables at run time and back up the tables selectively based on the criteria. The restoration logic
was based on the insert into statements. The entire process is divided to four different categories such as
a) Employee Full Deletion
b) Record Full Deletion
c) Employee Partial Deletion and
d) Record Partial deletion.
The Employee Full Deletion is based on the PeopleSoft delivered Employee deletion process where a sql
is used to identify the list of records having EMPLID as key. Record Full Deletion is based on the criteria
where EMPLID and EMPL_RCD are key. Employee Partial Deletion is based on components where
EMPLID and EFFDT are present where as Record Partial Deletion is based on components where
EMPLID, EMPL_RCD and EFFDT are present. The Employee Full Deletion and Record Full Deletion are
based on Delete statements where as all the partial deletions relied on Component Interface.

More Related Content

Viewers also liked

BCZ - Bambu Carbono Zero
BCZ - Bambu Carbono ZeroBCZ - Bambu Carbono Zero
BCZ - Bambu Carbono Zero
Bambu Carbono Zero
 
Learning Anywhere: Mobile, Social and Virtual
Learning Anywhere: Mobile, Social and VirtualLearning Anywhere: Mobile, Social and Virtual
Learning Anywhere: Mobile, Social and Virtual
Cynthia Clay
 
Oracle Inline Memory
Oracle Inline MemoryOracle Inline Memory
Oracle Inline Memory
Remil Mohanan
 
DEFENCE STRATEGY-READY FOR PRINT
DEFENCE STRATEGY-READY FOR PRINTDEFENCE STRATEGY-READY FOR PRINT
DEFENCE STRATEGY-READY FOR PRINT
MARIUS EUGEN OPRAN
 
Mecanismos de evasión de las defensas del organismo
Mecanismos de evasión de las defensas del organismoMecanismos de evasión de las defensas del organismo
Mecanismos de evasión de las defensas del organismo
John Molina
 
Raport Praktyki w zarządzaniu talentami w Polsce
Raport Praktyki w zarządzaniu talentami w PolsceRaport Praktyki w zarządzaniu talentami w Polsce
Raport Praktyki w zarządzaniu talentami w Polsce
House of Skills
 
áReas de brodmann
áReas de brodmannáReas de brodmann
áReas de brodmann
erickgt400
 
Biology agenda and targets 2015 sem. 1 revised.3
  Biology agenda and targets 2015 sem. 1 revised.3  Biology agenda and targets 2015 sem. 1 revised.3
Biology agenda and targets 2015 sem. 1 revised.3
Lorraine Stratton
 
Sem.2 4th quarter biology agenda and targets 2016.v2.posting
   Sem.2 4th quarter biology agenda and targets 2016.v2.posting   Sem.2 4th quarter biology agenda and targets 2016.v2.posting
Sem.2 4th quarter biology agenda and targets 2016.v2.posting
Lorraine Stratton
 
A dictionary of basic japanese grammar
A dictionary of basic japanese grammarA dictionary of basic japanese grammar
A dictionary of basic japanese grammar
thomaskerins3
 
An Illustrated DNA Tale pp
An Illustrated DNA Tale ppAn Illustrated DNA Tale pp
An Illustrated DNA Tale pp
Lorraine Stratton
 
Present Simple and Present Progressive o Continuo - Haloween
Present Simple and Present Progressive o Continuo - HaloweenPresent Simple and Present Progressive o Continuo - Haloween
Present Simple and Present Progressive o Continuo - Haloween
Patricia Vanessa Gutierrez Najar
 

Viewers also liked (12)

BCZ - Bambu Carbono Zero
BCZ - Bambu Carbono ZeroBCZ - Bambu Carbono Zero
BCZ - Bambu Carbono Zero
 
Learning Anywhere: Mobile, Social and Virtual
Learning Anywhere: Mobile, Social and VirtualLearning Anywhere: Mobile, Social and Virtual
Learning Anywhere: Mobile, Social and Virtual
 
Oracle Inline Memory
Oracle Inline MemoryOracle Inline Memory
Oracle Inline Memory
 
DEFENCE STRATEGY-READY FOR PRINT
DEFENCE STRATEGY-READY FOR PRINTDEFENCE STRATEGY-READY FOR PRINT
DEFENCE STRATEGY-READY FOR PRINT
 
Mecanismos de evasión de las defensas del organismo
Mecanismos de evasión de las defensas del organismoMecanismos de evasión de las defensas del organismo
Mecanismos de evasión de las defensas del organismo
 
Raport Praktyki w zarządzaniu talentami w Polsce
Raport Praktyki w zarządzaniu talentami w PolsceRaport Praktyki w zarządzaniu talentami w Polsce
Raport Praktyki w zarządzaniu talentami w Polsce
 
áReas de brodmann
áReas de brodmannáReas de brodmann
áReas de brodmann
 
Biology agenda and targets 2015 sem. 1 revised.3
  Biology agenda and targets 2015 sem. 1 revised.3  Biology agenda and targets 2015 sem. 1 revised.3
Biology agenda and targets 2015 sem. 1 revised.3
 
Sem.2 4th quarter biology agenda and targets 2016.v2.posting
   Sem.2 4th quarter biology agenda and targets 2016.v2.posting   Sem.2 4th quarter biology agenda and targets 2016.v2.posting
Sem.2 4th quarter biology agenda and targets 2016.v2.posting
 
A dictionary of basic japanese grammar
A dictionary of basic japanese grammarA dictionary of basic japanese grammar
A dictionary of basic japanese grammar
 
An Illustrated DNA Tale pp
An Illustrated DNA Tale ppAn Illustrated DNA Tale pp
An Illustrated DNA Tale pp
 
Present Simple and Present Progressive o Continuo - Haloween
Present Simple and Present Progressive o Continuo - HaloweenPresent Simple and Present Progressive o Continuo - Haloween
Present Simple and Present Progressive o Continuo - Haloween
 

Similar to Data Separation

IBM Utilities
IBM UtilitiesIBM Utilities
IBM Utilities
Anil Bharti
 
Database management system by Neeraj Bhandari ( Surkhet.Nepal )
Database management system by Neeraj Bhandari ( Surkhet.Nepal )Database management system by Neeraj Bhandari ( Surkhet.Nepal )
Database management system by Neeraj Bhandari ( Surkhet.Nepal )
Neeraj Bhandari
 
The best ETL questions in a nut shell
The best ETL questions in a nut shellThe best ETL questions in a nut shell
The best ETL questions in a nut shell
Srinimf-Slides
 
industrial manpower resource manager
industrial manpower resource managerindustrial manpower resource manager
industrial manpower resource manager
Freelancer
 
database backup and recovery
database backup and recoverydatabase backup and recovery
database backup and recovery
sdrhr
 
An Overview on Data Quality Issues at Data Staging ETL
An Overview on Data Quality Issues at Data Staging ETLAn Overview on Data Quality Issues at Data Staging ETL
An Overview on Data Quality Issues at Data Staging ETL
idescitation
 
Markinng schme ICT questions.pdf
Markinng schme ICT questions.pdfMarkinng schme ICT questions.pdf
Markinng schme ICT questions.pdf
UWIZEYIMANAElise
 
Dbms qsntns
Dbms qsntnsDbms qsntns
Dbms qsntns
ViMal RaJa
 
Temp Proc - Operations Reporting
Temp Proc - Operations ReportingTemp Proc - Operations Reporting
Temp Proc - Operations Reporting
Paul Rouse
 
Bank Question Solution-ADBA Previous Year Question for AP, ANE, AME, ADA, AE
Bank Question Solution-ADBA Previous Year Question for AP, ANE, AME, ADA, AEBank Question Solution-ADBA Previous Year Question for AP, ANE, AME, ADA, AE
Bank Question Solution-ADBA Previous Year Question for AP, ANE, AME, ADA, AE
Engr. Md. Jamal Uddin Rayhan
 
Ms sql server architecture
Ms sql server architectureMs sql server architecture
Ms sql server architecture
Ajeet Singh
 
ETL Process & Data Warehouse Fundamentals
ETL Process & Data Warehouse FundamentalsETL Process & Data Warehouse Fundamentals
ETL Process & Data Warehouse Fundamentals
SOMASUNDARAM T
 
Data warehouse physical design
Data warehouse physical designData warehouse physical design
Data warehouse physical design
Er. Nawaraj Bhandari
 
1z0 034 exam-upgrade oracle9i10g oca to oracle database 11g ocp
1z0 034 exam-upgrade oracle9i10g oca to oracle database 11g ocp1z0 034 exam-upgrade oracle9i10g oca to oracle database 11g ocp
1z0 034 exam-upgrade oracle9i10g oca to oracle database 11g ocp
Isabella789
 
Acc 340
Acc 340Acc 340
Acc 340
simplehelp
 
Acc 340
Acc 340Acc 340
Acc 340
simplehelp
 
22827361 ab initio-fa-qs
22827361 ab initio-fa-qs22827361 ab initio-fa-qs
22827361 ab initio-fa-qs
Capgemini
 
Process management seminar
Process management seminarProcess management seminar
Process management seminar
apurva_naik
 
Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! Edhole
Edhole.com
 
Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! Edhole
Edhole.com
 

Similar to Data Separation (20)

IBM Utilities
IBM UtilitiesIBM Utilities
IBM Utilities
 
Database management system by Neeraj Bhandari ( Surkhet.Nepal )
Database management system by Neeraj Bhandari ( Surkhet.Nepal )Database management system by Neeraj Bhandari ( Surkhet.Nepal )
Database management system by Neeraj Bhandari ( Surkhet.Nepal )
 
The best ETL questions in a nut shell
The best ETL questions in a nut shellThe best ETL questions in a nut shell
The best ETL questions in a nut shell
 
industrial manpower resource manager
industrial manpower resource managerindustrial manpower resource manager
industrial manpower resource manager
 
database backup and recovery
database backup and recoverydatabase backup and recovery
database backup and recovery
 
An Overview on Data Quality Issues at Data Staging ETL
An Overview on Data Quality Issues at Data Staging ETLAn Overview on Data Quality Issues at Data Staging ETL
An Overview on Data Quality Issues at Data Staging ETL
 
Markinng schme ICT questions.pdf
Markinng schme ICT questions.pdfMarkinng schme ICT questions.pdf
Markinng schme ICT questions.pdf
 
Dbms qsntns
Dbms qsntnsDbms qsntns
Dbms qsntns
 
Temp Proc - Operations Reporting
Temp Proc - Operations ReportingTemp Proc - Operations Reporting
Temp Proc - Operations Reporting
 
Bank Question Solution-ADBA Previous Year Question for AP, ANE, AME, ADA, AE
Bank Question Solution-ADBA Previous Year Question for AP, ANE, AME, ADA, AEBank Question Solution-ADBA Previous Year Question for AP, ANE, AME, ADA, AE
Bank Question Solution-ADBA Previous Year Question for AP, ANE, AME, ADA, AE
 
Ms sql server architecture
Ms sql server architectureMs sql server architecture
Ms sql server architecture
 
ETL Process & Data Warehouse Fundamentals
ETL Process & Data Warehouse FundamentalsETL Process & Data Warehouse Fundamentals
ETL Process & Data Warehouse Fundamentals
 
Data warehouse physical design
Data warehouse physical designData warehouse physical design
Data warehouse physical design
 
1z0 034 exam-upgrade oracle9i10g oca to oracle database 11g ocp
1z0 034 exam-upgrade oracle9i10g oca to oracle database 11g ocp1z0 034 exam-upgrade oracle9i10g oca to oracle database 11g ocp
1z0 034 exam-upgrade oracle9i10g oca to oracle database 11g ocp
 
Acc 340
Acc 340Acc 340
Acc 340
 
Acc 340
Acc 340Acc 340
Acc 340
 
22827361 ab initio-fa-qs
22827361 ab initio-fa-qs22827361 ab initio-fa-qs
22827361 ab initio-fa-qs
 
Process management seminar
Process management seminarProcess management seminar
Process management seminar
 
Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! Edhole
 
Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! Edhole
 

Data Separation

  • 1. How to handle a data separation My Company X was splitting into 2 companies; Company X1 & Company X2. I was assigned the task of migration of records from the original company into the newly established companies. Since the ERP involved was PeopleSoft, data had to split in to two companies. I would like to share the unconventional approach used in the data separation. The process is split to three parts a) Back up b) Delete and C) Restore. The separation of JOB DATA is based on the separation date where as non JOB DATA components are based on another set of separation date. Since a full database backup will not serve the purpose of restoring the selected employees at a later point of time in the case of an accidental deletion. I was forced to create tables at run time and back up the tables selectively based on the criteria. The restoration logic was based on the insert into statements. The entire process is divided to four different categories such as a) Employee Full Deletion b) Record Full Deletion c) Employee Partial Deletion and d) Record Partial deletion. The Employee Full Deletion is based on the PeopleSoft delivered Employee deletion process where a sql is used to identify the list of records having EMPLID as key. Record Full Deletion is based on the criteria where EMPLID and EMPL_RCD are key. Employee Partial Deletion is based on components where EMPLID and EFFDT are present where as Record Partial Deletion is based on components where EMPLID, EMPL_RCD and EFFDT are present. The Employee Full Deletion and Record Full Deletion are based on Delete statements where as all the partial deletions relied on Component Interface.