Oh that it were that simple!!!
The MSP_TASKS table only flags external tasks - it doesn't contain any more
detail.
The secret, I have since discovered, is that tasks which are flagged as
external tasks have a corresponding record in the MSP_TEXT_FIELDS table
(which I thoght was only for Custo, Text fields but is apparently used for
much more).