Skip to content

Commit 85497cf

Browse files
authored
Update Print Prime Numbers.sql
1 parent e17513f commit 85497cf

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Medium/Print Prime Numbers.sql

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
/*
2-
Enter your query here.
3-
Please append a semicolon ";" at the end of the query and enter your query in a single line to avoid error.
4-
*/
5-
--Sql Server 2014 Express Edition
6-
--Batches are separated by 'go'
7-
81
DECLARE @counter INT =2
92
DECLARE @numb INT = 5
103
DECLARE @result VARCHAR(2000)
@@ -31,4 +24,4 @@ WHILE @numb <1000
3124
SET @numb +=1
3225
END
3326
SET @result = LEFT(@result, LEN(@result) - 1)
34-
SELECT @result;
27+
SELECT @result;

0 commit comments

Comments
 (0)