Hi all,
Thanks for your replies, I've not been able to respond before due to illness.
Matt: That's really interesting, I'll bear that in mind, thanks.
Pei Zhu: This is the way that MS chose to write the code inside sp_spaceused.
DLRDBA: Glad this worked for you.
Rich