Advertisement
Advertisement
| 04.01.2008 at 09:03PM PDT, ID: 23288079 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: |
declare @endcursor int = 0 declare not_found condition for '02000' declare cr_exclude cursor for select f_maj, f_min, f_ctg from rebatesubtype where rebatetype = @stype and upper(rebatesubtype) = 'CASH' declare cr_bipcurs cursor for select agreementno, lineno from bip where upper(sampletype) = 'CASH' declare continue handler for not_found set @endcursor = 1 set @sbiptype = 'Cash' open cr_exclude fetch cr_exclude into @imaj, @imin, @ictg |