this must be one of the leakiest pieces of code i've come across (including my own ). - fixing up a production box - does anybody know which, if any, of the sql server default stored procs sap portal needs so that i don't remove them.