Hi Andy
We only support transforms with Excel, so just about any formula you can use in Excel you can use in a script. There are a bunch of sites that can help you with Excel formulas.
For IF's, you would do something like: =if(A2="","I am blank","I am not blank")
Assuming you data is in column A, you data starts on row 2 (it will apply it for each row of data so you just need a start row number). If TRUE, then you'll get "I am blank". If FALSE, you'll get "I am not blank". Map the formula output to another column to create a new one, if that's what you're trying to do.
HTH
Sigrid
Best Regards,
Sigrid
------------------------------
Sigrid Kok
PSE | Winshuttle NA
------------------------------
Original Message:
Sent: 03-05-2020 07:25
From: Andy Reid
Subject: Transform Rules
Hi all,
I am new here so please be gentle!! :-)
I am trying to write some transform rules and wondered if there is a resource such as a dictionary that will give a list of statements available and their associated syntax.
At present I am trying to do a if "If xx is null, then, else" type statement and am struggling! These statements are all so different in Excel, Access and SQL so be nice to know what WinShuttle likes to avoid too much trial and error.
Thanks in advance.
Andy.
------------------------------
Andy Reid | Data Migration Consultant
AstraZeneca plc |andrew.reid1@astrazeneca.com
------------------------------