Reputation: 1055
I have this table in my SQL Server:
ID inn_name
--------------------------------------
1 VITAMIN C(ASCORBIC ACID) + ZINC
2 Phosphore
3 AMOX + ACID + VITAMIN D
4 Sirop
In SSIS, I want to use conditional split to redirect all the names without 'VITAMIN' (ID 2 and ID 4)
So I'm trying to use this function to redirect the name without 'Vitamin' in conditional split.
FINDSTRING (inn_name, "VITAMIN", 1) != 1
I tried many things but its still not redirect them. How could I fix this? Does this redirect only if the full row contains VITAMIN?
Upvotes: 0
Views: 1454
Reputation: 5594
i think you want to check if it is >0.
FINDSTRING (inn_name, "VITAMIN", 1) > 0
Upvotes: 1