![]() |
#37 |
Участник
|
Почему???
declare @recid int; set @recid = 1; insert into axtest.bmssa.disc_card_rep(disc_code, production, pay_sum, data, groups, rep_date, is_work, recid) (select dc.disc_code, dc.production, dc.pay_sum, dc.data, groups, @date_rep1, @work, @recid from axtest.dbo.discont_card dc where dc.disc_code=@cod and dc.data between @date_rep1 and @date_rep2); set @recid = @recid + 1;
__________________
Axapta v.3.0 sp5 kr2 |
|
|
|