gustafn
committed
on 29 Jul 07
use more portable sql cast operation