TQ

0

Please login or register to vote for this query.

(click on this box to dismiss)

Role-playing Games

Q&A for gamemasters and players of tabletop, paper-and-pencil role-playing games

DECLARE @T TABLE (FIELD1 VARCHAR (200))
INSERT INTO @T (FIELD1) VALUES ('S4')
SELECT * FROM @T

SELECT CASE WHEN FIELD1='S1' THEN 'RESULT'
WHEN FIELD1='S2' THEN 'N/A'
WHEN FIELD1 = 'S3' THEN '(EMPTY)'
ELSE 'N/A' END
FROM @T

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results