Thanks for that.
I tried the SQLExec tool, and it worked fine, but it wasn't any faster than our own C# code (which, I suppose, is not too surprising). A very helpful sanity-check, though.
By way of a follow-up, it seems that (for us at least, using P9 client/server and .NET 2.0 -- lowest common denominator of our ...