select distinct name
from sysobjects o left join syscomments s on o.id = s.id
where text like '%update OINV%'
and o.xtype = 'P'
from sysobjects o left join syscomments s on o.id = s.id
where text like '%update OINV%'
and o.xtype = 'P'
转载于:https://blog.51cto.com/kanshan/653296