I'd rather override the BindParameters method of the CDatabase object and do the SQLBindParameter there.