SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Other SQL Server 2012 Topics
 SSIS Clean and Filter data!
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

xhostx
Constraint Violating Yak Guru

USA
277 Posts

Posted - 09/28/2012 :  10:04:39  Show Profile  Reply with Quote
hi all,

I'm working on an SSIS package. Simply reading from an Excel --> Transform datatype --> Store it In OLDDB (SQLSERVER Table).
Now, I have some nulls, and special cases which I want to filter.
I'm thinking to use a "Conditional Split" any good suggestions please will be appreciated.
This is 2012 SQL Server.
Thanks.

--------------------------
Joins are what RDBMS's do for a living

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 09/28/2012 :  10:51:56  Show Profile  Reply with Quote
yep...you can use conditional split and use a condition like

LEN(column) >0

or

ISNULL(Column) == (DT_BOOL)0

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

xhostx
Constraint Violating Yak Guru

USA
277 Posts

Posted - 09/28/2012 :  13:16:17  Show Profile  Reply with Quote
Thanks you Visakh! :)

--------------------------
Joins are what RDBMS's do for a living
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 09/28/2012 :  13:43:34  Show Profile  Reply with Quote
welcome

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000