Tutorial Gateway

  • C
  • C#
  • Java
  • Python
  • SQL
  • MySQL
  • Js
  • BI Tools
    • Informatica
    • Talend
    • Tableau
    • Power BI
    • SSIS
    • SSRS
    • SSAS
    • MDX
    • R Tutorial
    • Alteryx
    • QlikView
  • More
    • C Programs
    • C++ Programs
    • Python Programs
    • Java Programs
    • SQL FAQ’s

Character Map Transformation in SSIS

by suresh

Character Map Transformation in SSIS is useful to transform input characters. If we want to change our string columns to Upper Case, Lower case, Simplified Chinese, Katakana, Hiragana, and Traditional Chinese, then SSIS character map transformation do the trick for you. It gives you the option to select whether you want to override the existing column with output result, or you want to add it as a new column.

Character Map Transformation in SSIS supports 10 types of operations. The operations and the description is displayed below.

Character Map Transformation in SSIS 0
  1. Lowercase: Converts the string column characters to lowercase. For instance, TutorialGateway column converted into tutorialgateway
  2. Uppercase: Converts the string column characters to uppercase. For example, TutorialGateway column turns into TUTORIALGATEWAY
  3. Bye Reversal: This SSIS Character Map Transformation reverses the bytes order of the Unicode
  4. Hiragana: Converts Katakana characters to Hiragana characters.
  5. Katakana: Converts Hiragana characters to Katakana characters.
  6. Half Width: Converts Full-width characters to Half-width characters. For instance, hello converted to hello.
  7. Full Width: This SSIS Character Map Transformation converts Half-width characters to Full-width characters. For instance, hello is converted to hello
  8. Linguistic casing: In general database uses its system language to store the data into columns. For example, my system stores date in English US format because it is my system’s local language. To use other regional languages, then we can use this Linguistic casing option
  9. Simplified Chinese: This SSIS Character Map Transformation Converts traditional Chinese characters to simplified Chinese characters. For instance, how are you in Simplified Chinese is 你好吗
  10. Traditional Chinese: Converts simplified Chinese characters to Traditional Chinese characters.

Character Map Transformation in SSIS allows us to select more than one option for a single column. However, there are some restrictions during selection. For instance, if we choose the lowercase operation, then there is no point in selecting the uppercase also. The below table shows the SSIS actions we should not select on a single column.

Selected OperationOperations Should Not Select
LowercaseUppercase, Hiragana, Katakana, Half Width and Full Width
UppercaseLowercase, Hiragana, Katakana, Half Width and Full Width
HiraganaKatakana, Lowercase, Uppercase
KatakanaHiragana, Lowercase, Uppercase
Half WidthFull Width, Lowercase, Uppercase
Full WidthHalf Width, Lowercase, Uppercase
Simplified ChineseTraditional Chinese
Traditional ChineseSimplified Chinese

Character Map Transformation in SSIS Example

STEP 1: Drag and drop the data flow task from the toolbox to control flow and change the name as Character Map Transformation in SSIS.

Character Map Transformation in SSIS 1

Double click on it will open the data flow tab.

STEP 2: Drag and drop OLE DB Source, CHARACTER MAP Transformation, and ADO.NET Destination into the data flow region

Character Map Transformation in SSIS 2

STEP 3: Double click on OLE DB source in the data flow region will open the connection manager settings and provides space to write our SQL statement.

For the time being, we had selected [First Name], [Last Name], and [Email ID] from DimEmployees table present in the [Adventure Works DW 2014] database.

Character Map Transformation in SSIS 3

SQL Command we used in the above screenshot is:

USE AdventureWorksDW2014
GO

SELECT FirstName
      ,LastName
      ,EmailAddress
FROM  DimEmployee

STEP 4: Click on the columns tab to verify the columns. In this tab, we can uncheck the unwanted columns also.

Character Map Transformation in SSIS 4

STEP 5: Click ok and connect the output arrow of OLE DB Source to Character Map Transformation.

Double click on the SSIS Character Map Transformation to configure it

  • Input Column: Whatever we selected in the Available Input Columns option automatically reflect in this option. We can also directly select the input column here itself.
  • Destination: We have an option to select, Whether we want to replace the original column. Or we want to add this as a new column. In this example, we are using the New column option.
  • Operation: We already discussed above
  • Output Alias: Specify the new column name. It acts the same as ALIAS column in SQL
Character Map Transformation in SSIS 5

For the time being, we are using only Upper and Lower. However, you can try all the available options in SSIS character map transformation. Click ok.

Character Map Transformation in SSIS 6

STEP 6: Now, we have to provide the Server, database, and table details of the destination. So double-click on the ADO.NET Destination and provide the required information

Character Map Transformation in SSIS 7

Here we are selecting the Character Map Transformation in SSIS table from SSIS Tutorials Database

STEP 7: Click on the Mappings tab to check whether the source columns accurately mapped to the destination columns.

Character Map Transformation in SSIS 8

NOTE: If your input column names and destination column names are the same, the intelligence automatically maps. If there are any changes in the column names (any alias or calculated columns), we have to map them manually.

By clicking ok, we finished our SSIS Character Map Transformation package. Let us run the package

Character Map Transformation in SSIS 9

Let us open the SQL Query window to Preview the data

Character Map Transformation in SSIS 10

Placed Under: SSIS

  • What is SSIS
  • Install SQL Server Data Tools
  • Learn SSIS in 28 Days
  • Create a SSIS Project
  • Create SSIS Package
  • SSIS Connection Manager
  • OLE DB Connection Manager
  • SSIS ADO Connection Manager
  • ADO.NET Connection Manager
  • SSIS Cache Connection Manager
  • SSIS Excel Connection Manager
  • SSIS File Connection Manager
  • SSIS FTP Connection Manager
  • SSIS SMO Connection Manager
  • Source Assistance in SSIS
  • Flat File Source in SSIS
  • OLE DB Source in SSIS
  • Excel Source in SSIS
  • ADO.NET Source in SSIS
  • SSIS FLAT FILE Destination
  • SSIS OLE DB Destination
  • SSIS ADO.NET Destination
  • SSIS Transformations
  • SSIS Audit Transformation
  • SSIS Aggregate Transformation
  • SSIS Aggregate Advanced Mode
  • SSIS Cache Transformation
  • SSIS Character Map
  • SSIS Conditional Split
  • SSIS Copy Column
  • SSIS Data Conversion
  • SSIS Derived Column
  • SSIS Export Column
  • SSIS Fuzzy Grouping
  • SSIS Fuzzy Lookup
  • SSIS Import Column
  • SSIS Lookup Introduction
  • Lookup – OLE DB Connection
  • SSIS Lookup in Full Cache Mode
  • SSIS Lookup – Case Sensitivity
  • SSIS Merge Transformation
  • SSIS Merge Join Transformation
  • SSIS Merge Join – Left Outer Join
  • SSIS Merge – Right Outer Join
  • SSIS Merge Join – Full Outer Join
  • SSIS Multicast Transformation
  • SSIS OLEDB Command
  • OLEDB Command – Delete Data
  • OLEDB Command-Update Data
  • SSIS Percentage Sampling
  • SSIS Pivot Transformation 2008
  • SSIS Pivot Transformation
  • SSIS Row Count Transformation
  • SSIS Row Sampling
  • Script Component as Source
  • Script Component as Destination
  • SSIS Script as Transformation
  • SSIS Sort Transformation
  • SSIS SCD Type 0
  • SSIS SCD Type 1
  • SSIS SCD Type 2
  • SSIS Term Lookup
  • SSIS Term Extraction Intro
  • Term Extraction – Extract Nouns
  • SSIS Extract Noun Phrases
  • Extract Nouns & Noun Phrases
  • Term Extraction – Exclusion Tab
  • SSIS Unpivot Transformation
  • SSIS Union All Transformation
  • SSIS For Loop Container
  • SSIS ForEach File Enumerator
  • SSIS ForEach SMO Enumerator
  • SSIS ForEach Variable
  • SSIS Foreach NodeList
  • Foreach ADO.NET Schema Rowset Enumerator
  • SSIS Bulk Insert Task
  • SSIS Data Profiling Task
  • Execute T-SQL Statement Task
  • SSIS Execute SQL Task Intro
  • SSIS Execute SQL Task Example
  • Execute SQL Task- Single Rowset
  • Execute SQL Task – Full Row Set
  • SSIS Execute Package Task
  • Execute Packages in SQL Server
  • Execute Packages in File System
  • SSIS Execute Package Project Reference
  • SSIS File System Task
  • SSIS File System Task- Copy Files
  • File System Task-Copy Directory
  • File System Task – Delete Files
  • File System Task – Delete Folder
  • File System Task -Move Directory
  • SSIS File System Task -Move File
  • File System – Move Multiple files
  • File System Task – Rename File
  • File System Task – Set Attributes
  • SSIS FTP TASK
  • SSIS Create Local Directory
  • SSIS Create Remote Directory
  • SSIS FTP Task Send Files
  • SSIS FTP – Send Multiple Files
  • SSIS FTP Task Delete Local Files
  • FTP TASK Delete Local Directory
  • FTP Task Delete Remote files
  • SSIS Delete Remote Directory
  • SSIS FTP Task Receive Files
  • SSIS FTP Receive Multiple Files
  • SSIS Script Task
  • Transfer SQL Server Objects Task
  • Transfer SQL Table Structures
  • Transfer SQL Tables with Data
  • Transfer SQL Stored Procedures
  • Transfer User Defined Functions
  • Transfer SQL Views in SSIS
  • SSIS Web Service Task
  • SSIS XML Task-Validate XML File
  • Transform XML File using XSLT
  • XML Task-XML files Differences
  • Create SSIS Catalog
  • Package Deployment using BIDS
  • Deploy Package Using SQL
  • Deploy using SQL Server Wizard
  • SSIS Breakpoints
  • SSIS Checkpoints
  • SSIS Error Handling
  • SSIS Event Handlers
  • SSIS Transactions
  • SSIS Logging
  • SSIS Parameters
  • SSIS Package Configuration
  • Configure using SQL Server
  • Config using Registry Entry
  • Conf with Environment Variable
  • SSIS XML Configuration File
  • XML Configuration File Part 2
  • SSIS Package Protection Level
  • SSIS Incremental Load
  • Incremental Load Example 2
  • SSIS Remove Double Quotes
  • C Tutorial
  • C# Tutorial
  • Java Tutorial
  • JavaScript Tutorial
  • Python Tutorial
  • MySQL Tutorial
  • SQL Server Tutorial
  • R Tutorial
  • Power BI Tutorial
  • Tableau Tutorial
  • SSIS Tutorial
  • SSRS Tutorial
  • Informatica Tutorial
  • Talend Tutorial
  • C Programs
  • C++ Programs
  • Java Programs
  • Python Programs
  • MDX Tutorial
  • SSAS Tutorial
  • QlikView Tutorial

Copyright © 2021 | Tutorial Gateway· All Rights Reserved by Suresh

Home | About Us | Contact Us | Privacy Policy