Hi Simon,
Thanks for your feedback and yes, sure I get your drift for that matter.
To cover for mentioned eventualities it would definitely be advised to go for an explizit CAST or CONVERT.
Nevertheless, presuming mentioned implicit conversion is and remains supported by vendor, in such case the outlined example would indeed work just fine as long as DW_ID_LONG contains only integer values, correct?
Best regards
Guido