Skip to content

Commit 5548c45

Browse files
authored
Update sqlserver.html
Fixing CASE statement. Incorrect FROM clause.
1 parent 40099f0 commit 5548c45

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

injectionTechniques/conditionalStatements/sqlserver.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h3 id="conditionals">Conditionals</h3>
1212
<tbody>
1313
<tr>
1414
<td>Case</td>
15-
<td>SELECT * FROM CASE WHEN 1=1 THEN 1 ELSE 0 END</td>
15+
<td>SELECT CASE WHEN 1 = 1 THEN 1 ELSE 0 END AS Result;</td>
1616
</tr>
1717
<tr>
1818
<td>If/Else</td>

0 commit comments

Comments
 (0)