init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,21 @@
|
|||
--Migration
|
||||
DECLARE intezmenytanevekCursor CURSOR LOCAL FOR
|
||||
SELECT IntezmenyAdatok.C_INTEZMENYID
|
||||
,IntezmenyAdatok.C_TANEVID
|
||||
FROM T_INTEZMENYADATOK IntezmenyAdatok
|
||||
INNER JOIN T_TANEV Tanev ON Tanev.ID = C_TANEVID AND Tanev.TOROLT = 'F' AND Tanev.C_AKTIV = 'T'
|
||||
|
||||
DECLARE @intezmenyId int, @tanevId int
|
||||
|
||||
OPEN intezmenytanevekCursor
|
||||
FETCH NEXT FROM intezmenytanevekCursor INTO @intezmenyId, @tanevId
|
||||
|
||||
WHILE @@FETCH_STATUS = 0
|
||||
BEGIN
|
||||
EXECUTE dbo.uspGenerateTeljesOrarend @pIntezmenyId = @intezmenyId, @pTanevId = @tanevId
|
||||
|
||||
FETCH NEXT FROM intezmenytanevekCursor INTO @intezmenyId, @tanevId
|
||||
END
|
||||
|
||||
CLOSE intezmenytanevekCursor
|
||||
DEALLOCATE intezmenytanevekCursor
|
Loading…
Add table
Add a link
Reference in a new issue