Skip to main content
simply more productive
The Data Specialist

✅ Perfect for data integration-import/export
✅ No programming required thanks to visual modeling
✅ No registration required

Flowheater Chart

filtering rows with respect to its column code

More
- #2298 by Saliba
if the rows in a text file are not identical data depending on a column called code.

for example if code=0003 for a single row then this row must inserted in a table of MS sql database.
but if code=0005 then this row must be written to other table in the MS sql database.


can this be done or not?
Last edit: by Saliba. Reason: text

Please Log in or Create an account to join the conversation.

More
#2299 by FlowHeater-Team
Replied by FlowHeater-Team on topic filtering rows with respect to its column code
Hi Saliba,

It’s possible but you need in this case for each code one separate FlowHeater definition (.fhd) file.

To filter rows you need the Filter Heater and the If-Then-Else Heater for the condition. In the Condition you have to define != (not equal) 0003, this means all rows they doesn’t match this code are filtered out. In the second FlowHeater Definition you have to define != 0005 and so on for further codes.





I’ve made a brief example how it’s works. Please have a look to the attachment.

NOTE: In the example I’ve used two times the TextFile Adapter on the READ and the WRITE side. For your purpose you have to switch the Adapter on the WRITE to the SQL Server Adapter and use the table you need.


This attachment is hidden for guests.
Please log in or register to see it.

Best wishes
Robert Stark

Please Log in or Create an account to join the conversation.

Time to create page: 0.074 seconds
FlowHeater Logo
FlowHeater - The Data Specialist
Efficient data integration and transformation with FlowHeater – the perfect solution for a seamless transfer of your data.
Legal information
Support & Contact
Contact

Phone:
0951 / 9933 9792

eMail:
info@flowheater.net


Copyright © 2009-2026 by FlowHeater GmbH. All rights reserved.