Does DolphinDB support the following script?
update tmp set exchangecd='XSHG' if exchangecd='SH' set exchangecd='XSHE' if exchangecd='sz'
Does DolphinDB support the following script?
update tmp set exchangecd='XSHG' if exchangecd='SH' set exchangecd='XSHE' if exchangecd='sz'
Copyright © 2021 Jogjafile Inc.
DolphinDB does not support the
IFstatement, but you can use theCASEstatement withWHEN...THEN..., as shown in the following script: