Convert Blank Space to Null in SSIS

  • In this article, we convert blank space into the NULL value in SSIS and the results shown in the SQL Server Table.
  • Firstly create a text file as a source file which is a comma-separated file. In the text file, some records have blank.
  • In the SQL Server, create a new table for the destination.
NOTEPAD FILE
DATA FLOW TASK
FLAT FILE SOURCE
CONNECTION MANAGER
GENERAL TAB
COLUMNS TAB
ADVANCED TAB
PREVIEW TAB
RETAIN NULL VALUES
ADO NET DESTINATION
CONNECTION MANAGER
CONNECTION OF SQL SERVER
MAPPING TAB
EXECUTE THE PROJECT
RESULT

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store