Académique Documents
Professionnel Documents
Culture Documents
TABLE VARIABLE:
BEGIN
--Load current value from the Table
SELECT @CurrentValue = ProductName FROM @Elements WHERE Number = @N
--Process the current value
print @CurrentValue
--Increment loop counter
SET @N = @N + 1;
END