试:
DECLARE dbmx_cursor CURSOR SCROLL_LOCKS  FOR SELECT djbh,spid,recnum FROM dbmx order by djbh for update