We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e17513f commit 85497cfCopy full SHA for 85497cf
Medium/Print Prime Numbers.sql
@@ -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
-
8
DECLARE @counter INT =2
9
DECLARE @numb INT = 5
10
DECLARE @result VARCHAR(2000)
@@ -31,4 +24,4 @@ WHILE @numb <1000
31
24
SET @numb +=1
32
25
END
33
26
SET @result = LEFT(@result, LEN(@result) - 1)
34
- SELECT @result;
27
+ SELECT @result;
0 commit comments