Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSIS handling NULL and blank spaces

Tags:

ssis

hello i am new to SSIS and iam receiving text file created by SSIS iam using wizard to load it to oracle table but in the text file there is columns contain the String NULL and other contain blank string instead of zero length column is there an auto way to make these value to become actual null value in the table or do i have to create derived column for each one of theses cases

thank you,

like image 317
new Avatar asked Oct 31 '25 01:10

new


1 Answers

Within an SSIS project in the SQL Server Data Tools for Visual Studio 2015/SQL Server 2016, the way to address the handling of empty columns seems to be via a property of the Flat File Source component (not certain whether space-only columns qualify):

  1. Right-click the Flat File Source and choose Show Advanced Editor....
  2. Select the Component Properties tab.
  3. Set RetainNulls property to True (default is False).

RetainNulls Property

like image 55
coryseaman Avatar answered Nov 03 '25 15:11

coryseaman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!