Select from following answers:- DECLARE @testvalue float; SET @testvalue = 1.00; WHILE @testvalue < 21.00 BEGIN SELECT @testvalue as 'Value', Power(@testvalue,5) as 'Power'; SET @testvalue = @testvalue +1; END;

- DECLARE @testvalue float; SET @testvalue = 1.00; WHILE @testvalue < 21.00 BEGIN SELECT @testvalue as 'Value', SQUARE(@testvalue) as 'Power'; SET @testvalue = @testvalue +1; END;
- DECLARE @testvalue float; SET @testvalue = 1.00; WHILE @testvalue < 21.00 BEGIN SELECT @testvalue as 'Value', EXP(@testvalue) as 'Power'; SET @testvalue = @testvalue +1; END;
- All Above
This statement will generate a list of integers and the integer raised to the power of 5 where the integers have a value between one 1 and 20.
Answer 2 outputs a list of integers and their squares between 1 and 20.
Show Correct Answer
Source: Measureup.com | |
Alert Moderator