Показать сообщение отдельно
Старый 23.09.2005, 17:49   #10  
AndyD is offline
AndyD
Участник
КОРУС Консалтинг
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
 
2,560 / 2480 (88) +++++++++
Регистрация: 20.08.2005
А откуда эти переменные, из Axapta'ы?

В MS SQL Server переменные используются так

declare @count_buys0 int
set @count_buys0 = 0
declare @count_buys1 int
set @count_buys1 = 1
declare @count_buys2 int
set @count_buys2 = 2
declare @count_buys3 int
set @count_buys3 =3
declare @count_buys4 int
set @count_buys4 = 4
declare @actual_period int
set @count_buys5 = 5
declare @date_start datetime
set @date_start = '09-23-2005'
declare @date_end datetime
set @date_end = '09-23-2005'
exec [AXTest].[dbo].[GET_DISC_CARD_REP] @count_buys0, @count_buys1, @count_buys2, @count_buys3,
@count_buys4, @count_buys5, @date_start, @date_end
__________________
Axapta v.3.0 sp5 kr2