SlideShare a Scribd company logo
1 of 31
A PRESENTATION ON TABLE
LOADER TRANSFORMATION

Prepared By
Kauhsal Solanki
WHAT IS TABLE LOADER TRANSFORMATION ???


The Table Loader transformation generates code that reads a
single source table (or view) and updates, replaces, or appends
it to a permanent target table.



One can have table loader in their job with the below step
mention.
Transformation

Access

Table Loader
WHAT ARE THE LOAD STYLES OF TABLE LOADER???


There are three types of load styles in table loader
which are mention below.

Replace

Append To Existing

Update/Insert
LOAD STYLE-REPLACE



It is a default load style in Table Loader Transformation.
There are basically three techniques are available with
Replace List.

• All Rows Using Delete
• Entire Table
• Simulating Truncate
HERE WHAT IT’S BASICALLY LOOKS LIKE
LOAD STYLE-REPLACE WITH REPLACE OPTION
ENTIRE TABLE


When we are using Replace as load style, Entire Table is
a default Replace option.



It uses PROC DATASETS to delete all the target tables.



Here first all the rows are deleted and than data from
source data set is transferred to target data set.
LOAD STYLE-REPLACE WITH REPLACE OPTION
ENTIRE TABLE(CONTINUE)


Source Data Set(Customer)
ID

SURNAME

SALARY

1

Amar

Gohel

10000

2

Milan

Rana

20000

3


NAME

Marcel

Poul

30000

Target Data Set(CustomerInfo)
ID

NAME

SURNAME

GENDER

1

Amar

Gohel

M

2

Barbara

Willis

F

4

Vinay

Shah

M
LOAD STYLE-REPLACE WITH REPLACE OPTION
ENTIRE TABLE(CONTINUE)


After applying Table Loader Transformation with
Replace load style and entire table option as replace,
target dataset(CustomerInfo) is as below
ID

NAME

SURNAME

1

Amar

Gohel

2

Milan

Rana

3

Marcel

Poul

GENDER
LOAD STYLE-REPLACE WITH REPLACE OPTION ALL
ROWS USING DELETE


It uses pass-through sql with DELETE * to remove all rows
and then data from source dataset is transferred to target data
set.



It will give the same output as Entire Table Option as Replace
but it is using a different technique to delete the existing
source rows.
LOAD STYLE-REPLACE WITH REPLACE OPTION ALL
ROWS USING DELETE(CONTINUE)


Source Data Set(Customer)



Target Data Set(CustomerInfo)
LOAD STYLE-REPLACE WITH REPLACE OPTION ALL
ROWS USING DELETE(CONTINUE)


After applying Table Loader Transformation with
Replace load style and All Rows Using Delete option as
replace, target dataset(CustomerInfo) is as below
LOAD STYLE-REPLACE WITH REPLACE OPTION
SIMULATING TRUNCATE


It Uses a DATA step with SET and STOP statement to remove
all rows.



It will give the same output as Entire Table Option as Replace
and All Rows Using Delete but it is using a different
technique to delete the existing source rows.
LOAD STYLE-REPLACE WITH REPLACE OPTION
SIMULATING TRUNCATE(CONTINUE)


Source Data Set(Customer)



Target Data Set(CustomerInfo)
LOAD STYLE-REPLACE WITH REPLACE OPTION
SIMULATING TRUNCATE(CONTINUE)


After applying Table Loader Transformation with Replace
load style and Simulating Truncate option as replace, target
dataset(CustomerInfo) is as below.
FUNCTIONS OF DIFFERENT REPLACE OPTION
Replace

Description

All rows using delete

Uses pass-through sql with
DELETE * to remove all rows.

Entire Table

Replaces the entire table using
PROC DATASETS.

Simulating Truncate

Uses a DATA step with SET and
STOP statement to remove all rows.
LOAD STYLE-APPEND TO EXISTING


Here rows are added to the existing target table using PROC
APPEND or PROC SQL.



It has no techniques available for it.



So basically it is used when one has to only append the source
data to the destination dataset.
LOAD STYLE-APPEND TO EXISTING(CONTINUE)


Source Data Set(Customer)



Target Data Set(CustomerInfo)
LOAD STYLE-APPEND TO EXISTING(CONTINUE)


After applying Table Loader Transformation with Replace
load style and Simulating Truncate option as replace, target
dataset(CustomerInfo) is as below.
ID

NAME

SURNAME

GENDER

1

Amar

Gohel

M

2

Barbara

Willis

F

4

Vinay

Shah

M

1

Amar

Gohel

2

Milan

Rana

3

Marcel

Poul
LOAD STYLE-UPDATE/INSERT


It is different from other two, because it provides number of
different options.



Here it is require to specify a key column, in column(s) to
match portion.



It is necessary for Both dataset, source and destination to have
the key column



An important option which comes with Update/Insert is
Matching Rows.
LOAD STYLE-UPDATE/INSERT(CONTINUE…)


Matching Row contains basically three options within it,
which are mention below.

Skip Matching Rows

Modify By Columns

SQL Set
LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS
HAVING SQL SET OPTION


Uses PROC SQL with a SET clause to perform the updates to
the target table.



In our example in columns match section we are defining ID
as matching column.



Let’s have an example for this option.
LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS
HAVING SQL SET OPTION(CONTINUE)


Source Data Set(Customer)



Target Data Set(CustomerInfo)
LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS
HAVING SQL SET OPTION(CONTINUE)


After applying Table Loader Transformation with
Update/Insert load style and SQL Set option within Matching
Rows section, target dataset(CustomerInfo) is as below.
ID

NAME

SURNAME

GENDER

1

Amar

Gohel

M

2

Barbara

Willis

F

4

Vinay

Shah

M

3

Marcel

Poul
LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS
HAVING MODIFY BY COLUMNS OPTION


It uses a DATA STEP with a MODIFY and a statement to
perform the update and insert to the target table.



In our example in columns match section we are defining ID
as matching column.



Let’s have an example for this option.
LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS
HAVING MODIFY BY COLUMNS OPTION(CONTINUE)


Source Data Set(Customer)



Target Data Set(CustomerInfo)
LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS
HAVING MODIFY BY COLUMNS OPTION(CONTINUE)


After applying Table Loader Transformation with
Update/Insert load style and Modify By Columns option
within Matching Rows section, target dataset(CustomerInfo)
is as below.
LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS
HAVING SKIP MATCHING ROWS OPTION


Ignores input rows that match rows in the target table only
inserts are performed.



In our example in columns match section we are defining ID
as matching column.



Let’s have an example for this option.
LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS
HAVING SKIP MATCHING ROWS OPTION(CONTINUE)


Source Data Set(Customer)



Target Data Set(CustomerInfo)
LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS
HAVING SKIP MATCHING ROWS OPTION(CONTINUE)


After applying Table Loader Transformation with
Update/Insert load style and Skip Matching Rows option
within Matching Rows section, target dataset(CustomerInfo)
is as below.
ID

NAME

SURNAME

GENDER

1

Amar

Gohel

M

2

Barbara

Willis

F

4

Vinay

Shah

M

3

Marcel

Poul
LOAD STYLE-UPDATE/INSERT


Matching Rows Option Function.
Matching Rows Option

Description

Skip Matching Rows

Ignores input rows that match rows
in the target table only inserts are
performed.

Modify By Columns

It uses a DATA STEP with a
MODIFY and a statement to
perform the update and insert to
the target table.

SQL Set

Uses PROC SQL with a SET
clause to perform the updates to
the target table.
THANK YOU

More Related Content

What's hot

Base SAS Statistics Procedures
Base SAS Statistics ProceduresBase SAS Statistics Procedures
Base SAS Statistics Proceduresguest2160992
 
Basics Of SAS Programming Language
Basics Of SAS Programming LanguageBasics Of SAS Programming Language
Basics Of SAS Programming Languageguest2160992
 
SAP BW - Info objects ppt
SAP BW - Info objects pptSAP BW - Info objects ppt
SAP BW - Info objects pptYasmin Ashraf
 
Abap data dictionary
Abap data dictionaryAbap data dictionary
Abap data dictionarySmartGokul4
 
1000 solved questions
1000 solved questions1000 solved questions
1000 solved questionsKranthi Kumar
 
Line item dimension and high cardinality dimension
Line item dimension and high cardinality dimensionLine item dimension and high cardinality dimension
Line item dimension and high cardinality dimensionPraveen Kumar
 
SAP MDG PRESENTATION
SAP MDG PRESENTATIONSAP MDG PRESENTATION
SAP MDG PRESENTATIONEraedgeElearn
 
SAP BW - Data store objects
SAP BW - Data store objectsSAP BW - Data store objects
SAP BW - Data store objectsYasmin Ashraf
 
Hyperion Implementation Questionaries
Hyperion Implementation QuestionariesHyperion Implementation Questionaries
Hyperion Implementation QuestionariesAmit Sharma
 
HANA WITH ABAP OVERVIEW
HANA WITH ABAP OVERVIEWHANA WITH ABAP OVERVIEW
HANA WITH ABAP OVERVIEWdheerajad
 
Key Considerations for a Successful Hyperion Planning Implementation
Key Considerations for a Successful Hyperion Planning ImplementationKey Considerations for a Successful Hyperion Planning Implementation
Key Considerations for a Successful Hyperion Planning ImplementationAlithya
 

What's hot (20)

Arrays in SAS
Arrays in SASArrays in SAS
Arrays in SAS
 
Base SAS Statistics Procedures
Base SAS Statistics ProceduresBase SAS Statistics Procedures
Base SAS Statistics Procedures
 
Basics of SAS
Basics of SASBasics of SAS
Basics of SAS
 
Modeling
ModelingModeling
Modeling
 
Basics Of SAS Programming Language
Basics Of SAS Programming LanguageBasics Of SAS Programming Language
Basics Of SAS Programming Language
 
SAP BW - Info objects ppt
SAP BW - Info objects pptSAP BW - Info objects ppt
SAP BW - Info objects ppt
 
CSPro Training Slides
CSPro Training SlidesCSPro Training Slides
CSPro Training Slides
 
SAS - overview of SAS
SAS - overview of SASSAS - overview of SAS
SAS - overview of SAS
 
SAS Visual Analytics
SAS Visual AnalyticsSAS Visual Analytics
SAS Visual Analytics
 
Abap data dictionary
Abap data dictionaryAbap data dictionary
Abap data dictionary
 
1000 solved questions
1000 solved questions1000 solved questions
1000 solved questions
 
Serial Control Item in Oracle EBS
Serial Control Item in Oracle EBSSerial Control Item in Oracle EBS
Serial Control Item in Oracle EBS
 
Line item dimension and high cardinality dimension
Line item dimension and high cardinality dimensionLine item dimension and high cardinality dimension
Line item dimension and high cardinality dimension
 
SAP MDG PRESENTATION
SAP MDG PRESENTATIONSAP MDG PRESENTATION
SAP MDG PRESENTATION
 
SAP BW - Data store objects
SAP BW - Data store objectsSAP BW - Data store objects
SAP BW - Data store objects
 
Hyperion Implementation Questionaries
Hyperion Implementation QuestionariesHyperion Implementation Questionaries
Hyperion Implementation Questionaries
 
HANA WITH ABAP OVERVIEW
HANA WITH ABAP OVERVIEWHANA WITH ABAP OVERVIEW
HANA WITH ABAP OVERVIEW
 
SAS Macro
SAS MacroSAS Macro
SAS Macro
 
Key Considerations for a Successful Hyperion Planning Implementation
Key Considerations for a Successful Hyperion Planning ImplementationKey Considerations for a Successful Hyperion Planning Implementation
Key Considerations for a Successful Hyperion Planning Implementation
 
Dbms
DbmsDbms
Dbms
 

Viewers also liked

Viewers also liked (6)

Sas demo
Sas demoSas demo
Sas demo
 
SAS Proc SQL
SAS Proc SQLSAS Proc SQL
SAS Proc SQL
 
Understanding SAS Data Step Processing
Understanding SAS Data Step ProcessingUnderstanding SAS Data Step Processing
Understanding SAS Data Step Processing
 
Base SAS Exam Questions
Base SAS Exam QuestionsBase SAS Exam Questions
Base SAS Exam Questions
 
SAS basics Step by step learning
SAS basics Step by step learningSAS basics Step by step learning
SAS basics Step by step learning
 
Introduction to ETL and Data Integration
Introduction to ETL and Data IntegrationIntroduction to ETL and Data Integration
Introduction to ETL and Data Integration
 

Similar to A presentation on table loader transformation

RDBMS Lab02 creating tables (UIU)
RDBMS Lab02 creating tables (UIU)RDBMS Lab02 creating tables (UIU)
RDBMS Lab02 creating tables (UIU)Muhammad T Q Nafis
 
Informatica Designer Module
Informatica Designer ModuleInformatica Designer Module
Informatica Designer Moduleganblues
 
Intro to tsql unit 9
Intro to tsql   unit 9Intro to tsql   unit 9
Intro to tsql unit 9Syed Asrarali
 
DBMS and SQL(structured query language) .pptx
DBMS and SQL(structured query language) .pptxDBMS and SQL(structured query language) .pptx
DBMS and SQL(structured query language) .pptxjainendraKUMAR55
 
6.1\9 SSIS 2008R2_Training - DataFlow Transformations
6.1\9 SSIS 2008R2_Training - DataFlow Transformations6.1\9 SSIS 2008R2_Training - DataFlow Transformations
6.1\9 SSIS 2008R2_Training - DataFlow TransformationsPramod Singla
 
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdfNitish Nagar
 
Sql Server 2008 New Programmability Features
Sql Server 2008 New Programmability FeaturesSql Server 2008 New Programmability Features
Sql Server 2008 New Programmability Featuressqlserver.co.il
 
Introduction to oracle functions
Introduction to oracle functionsIntroduction to oracle functions
Introduction to oracle functionsNitesh Singh
 
Introduction to MySQL - Part 2
Introduction to MySQL - Part 2Introduction to MySQL - Part 2
Introduction to MySQL - Part 2webhostingguy
 
SQL Tutorial for Beginners
SQL Tutorial for BeginnersSQL Tutorial for Beginners
SQL Tutorial for BeginnersAbdelhay Shafi
 
Database Architecture and Basic Concepts
Database Architecture and Basic ConceptsDatabase Architecture and Basic Concepts
Database Architecture and Basic ConceptsTony Wong
 

Similar to A presentation on table loader transformation (20)

RDBMS Lab02 creating tables (UIU)
RDBMS Lab02 creating tables (UIU)RDBMS Lab02 creating tables (UIU)
RDBMS Lab02 creating tables (UIU)
 
Informatica Designer Module
Informatica Designer ModuleInformatica Designer Module
Informatica Designer Module
 
Module03
Module03Module03
Module03
 
Intro to tsql unit 9
Intro to tsql   unit 9Intro to tsql   unit 9
Intro to tsql unit 9
 
Les03
Les03Les03
Les03
 
DBMS and SQL(structured query language) .pptx
DBMS and SQL(structured query language) .pptxDBMS and SQL(structured query language) .pptx
DBMS and SQL(structured query language) .pptx
 
6.1\9 SSIS 2008R2_Training - DataFlow Transformations
6.1\9 SSIS 2008R2_Training - DataFlow Transformations6.1\9 SSIS 2008R2_Training - DataFlow Transformations
6.1\9 SSIS 2008R2_Training - DataFlow Transformations
 
Sql DML
Sql DMLSql DML
Sql DML
 
Sql DML
Sql DMLSql DML
Sql DML
 
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
 
Sql Server 2008 New Programmability Features
Sql Server 2008 New Programmability FeaturesSql Server 2008 New Programmability Features
Sql Server 2008 New Programmability Features
 
Pandas csv
Pandas csvPandas csv
Pandas csv
 
Advanced Excel ppt
Advanced Excel pptAdvanced Excel ppt
Advanced Excel ppt
 
Introduction to oracle functions
Introduction to oracle functionsIntroduction to oracle functions
Introduction to oracle functions
 
Introduction to MySQL - Part 2
Introduction to MySQL - Part 2Introduction to MySQL - Part 2
Introduction to MySQL - Part 2
 
Introduction to Oracle Functions--(SQL)--Abhishek Sharma
Introduction to Oracle Functions--(SQL)--Abhishek SharmaIntroduction to Oracle Functions--(SQL)--Abhishek Sharma
Introduction to Oracle Functions--(SQL)--Abhishek Sharma
 
SQL Tutorial for Beginners
SQL Tutorial for BeginnersSQL Tutorial for Beginners
SQL Tutorial for Beginners
 
Database Architecture and Basic Concepts
Database Architecture and Basic ConceptsDatabase Architecture and Basic Concepts
Database Architecture and Basic Concepts
 
SQL.ppt
SQL.pptSQL.ppt
SQL.ppt
 
5. Group Functions
5. Group Functions5. Group Functions
5. Group Functions
 

Recently uploaded

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 

Recently uploaded (20)

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 

A presentation on table loader transformation

  • 1. A PRESENTATION ON TABLE LOADER TRANSFORMATION Prepared By Kauhsal Solanki
  • 2. WHAT IS TABLE LOADER TRANSFORMATION ???  The Table Loader transformation generates code that reads a single source table (or view) and updates, replaces, or appends it to a permanent target table.  One can have table loader in their job with the below step mention. Transformation Access Table Loader
  • 3. WHAT ARE THE LOAD STYLES OF TABLE LOADER???  There are three types of load styles in table loader which are mention below. Replace Append To Existing Update/Insert
  • 4. LOAD STYLE-REPLACE   It is a default load style in Table Loader Transformation. There are basically three techniques are available with Replace List. • All Rows Using Delete • Entire Table • Simulating Truncate
  • 5. HERE WHAT IT’S BASICALLY LOOKS LIKE
  • 6. LOAD STYLE-REPLACE WITH REPLACE OPTION ENTIRE TABLE  When we are using Replace as load style, Entire Table is a default Replace option.  It uses PROC DATASETS to delete all the target tables.  Here first all the rows are deleted and than data from source data set is transferred to target data set.
  • 7. LOAD STYLE-REPLACE WITH REPLACE OPTION ENTIRE TABLE(CONTINUE)  Source Data Set(Customer) ID SURNAME SALARY 1 Amar Gohel 10000 2 Milan Rana 20000 3  NAME Marcel Poul 30000 Target Data Set(CustomerInfo) ID NAME SURNAME GENDER 1 Amar Gohel M 2 Barbara Willis F 4 Vinay Shah M
  • 8. LOAD STYLE-REPLACE WITH REPLACE OPTION ENTIRE TABLE(CONTINUE)  After applying Table Loader Transformation with Replace load style and entire table option as replace, target dataset(CustomerInfo) is as below ID NAME SURNAME 1 Amar Gohel 2 Milan Rana 3 Marcel Poul GENDER
  • 9. LOAD STYLE-REPLACE WITH REPLACE OPTION ALL ROWS USING DELETE  It uses pass-through sql with DELETE * to remove all rows and then data from source dataset is transferred to target data set.  It will give the same output as Entire Table Option as Replace but it is using a different technique to delete the existing source rows.
  • 10. LOAD STYLE-REPLACE WITH REPLACE OPTION ALL ROWS USING DELETE(CONTINUE)  Source Data Set(Customer)  Target Data Set(CustomerInfo)
  • 11. LOAD STYLE-REPLACE WITH REPLACE OPTION ALL ROWS USING DELETE(CONTINUE)  After applying Table Loader Transformation with Replace load style and All Rows Using Delete option as replace, target dataset(CustomerInfo) is as below
  • 12. LOAD STYLE-REPLACE WITH REPLACE OPTION SIMULATING TRUNCATE  It Uses a DATA step with SET and STOP statement to remove all rows.  It will give the same output as Entire Table Option as Replace and All Rows Using Delete but it is using a different technique to delete the existing source rows.
  • 13. LOAD STYLE-REPLACE WITH REPLACE OPTION SIMULATING TRUNCATE(CONTINUE)  Source Data Set(Customer)  Target Data Set(CustomerInfo)
  • 14. LOAD STYLE-REPLACE WITH REPLACE OPTION SIMULATING TRUNCATE(CONTINUE)  After applying Table Loader Transformation with Replace load style and Simulating Truncate option as replace, target dataset(CustomerInfo) is as below.
  • 15. FUNCTIONS OF DIFFERENT REPLACE OPTION Replace Description All rows using delete Uses pass-through sql with DELETE * to remove all rows. Entire Table Replaces the entire table using PROC DATASETS. Simulating Truncate Uses a DATA step with SET and STOP statement to remove all rows.
  • 16. LOAD STYLE-APPEND TO EXISTING  Here rows are added to the existing target table using PROC APPEND or PROC SQL.  It has no techniques available for it.  So basically it is used when one has to only append the source data to the destination dataset.
  • 17. LOAD STYLE-APPEND TO EXISTING(CONTINUE)  Source Data Set(Customer)  Target Data Set(CustomerInfo)
  • 18. LOAD STYLE-APPEND TO EXISTING(CONTINUE)  After applying Table Loader Transformation with Replace load style and Simulating Truncate option as replace, target dataset(CustomerInfo) is as below. ID NAME SURNAME GENDER 1 Amar Gohel M 2 Barbara Willis F 4 Vinay Shah M 1 Amar Gohel 2 Milan Rana 3 Marcel Poul
  • 19. LOAD STYLE-UPDATE/INSERT  It is different from other two, because it provides number of different options.  Here it is require to specify a key column, in column(s) to match portion.  It is necessary for Both dataset, source and destination to have the key column  An important option which comes with Update/Insert is Matching Rows.
  • 20. LOAD STYLE-UPDATE/INSERT(CONTINUE…)  Matching Row contains basically three options within it, which are mention below. Skip Matching Rows Modify By Columns SQL Set
  • 21. LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS HAVING SQL SET OPTION  Uses PROC SQL with a SET clause to perform the updates to the target table.  In our example in columns match section we are defining ID as matching column.  Let’s have an example for this option.
  • 22. LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS HAVING SQL SET OPTION(CONTINUE)  Source Data Set(Customer)  Target Data Set(CustomerInfo)
  • 23. LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS HAVING SQL SET OPTION(CONTINUE)  After applying Table Loader Transformation with Update/Insert load style and SQL Set option within Matching Rows section, target dataset(CustomerInfo) is as below. ID NAME SURNAME GENDER 1 Amar Gohel M 2 Barbara Willis F 4 Vinay Shah M 3 Marcel Poul
  • 24. LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS HAVING MODIFY BY COLUMNS OPTION  It uses a DATA STEP with a MODIFY and a statement to perform the update and insert to the target table.  In our example in columns match section we are defining ID as matching column.  Let’s have an example for this option.
  • 25. LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS HAVING MODIFY BY COLUMNS OPTION(CONTINUE)  Source Data Set(Customer)  Target Data Set(CustomerInfo)
  • 26. LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS HAVING MODIFY BY COLUMNS OPTION(CONTINUE)  After applying Table Loader Transformation with Update/Insert load style and Modify By Columns option within Matching Rows section, target dataset(CustomerInfo) is as below.
  • 27. LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS HAVING SKIP MATCHING ROWS OPTION  Ignores input rows that match rows in the target table only inserts are performed.  In our example in columns match section we are defining ID as matching column.  Let’s have an example for this option.
  • 28. LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS HAVING SKIP MATCHING ROWS OPTION(CONTINUE)  Source Data Set(Customer)  Target Data Set(CustomerInfo)
  • 29. LOAD STYLE-UPDATE/INSERT WITH MATCHING ROWS HAVING SKIP MATCHING ROWS OPTION(CONTINUE)  After applying Table Loader Transformation with Update/Insert load style and Skip Matching Rows option within Matching Rows section, target dataset(CustomerInfo) is as below. ID NAME SURNAME GENDER 1 Amar Gohel M 2 Barbara Willis F 4 Vinay Shah M 3 Marcel Poul
  • 30. LOAD STYLE-UPDATE/INSERT  Matching Rows Option Function. Matching Rows Option Description Skip Matching Rows Ignores input rows that match rows in the target table only inserts are performed. Modify By Columns It uses a DATA STEP with a MODIFY and a statement to perform the update and insert to the target table. SQL Set Uses PROC SQL with a SET clause to perform the updates to the target table.