Hi folks,
I have the following query that returns the unique rows from a couple of tables...
SELECT DISTINCT GameOptionsMap.Value, GameOptionsMap.PositionID FROM playergamepositionmap
INNER JOIN GameOptionsMap ON (playergamepositionmap.GameID = GameOptionsMap.GameID)
WHERE playergamepositionmap.GameOutcome = 1 AND playergamepositionmap.PlayerID = 27
AND GameOptionsMap.GameOptionID = 2
What I want to do is return the number of rows returned by this query without returning any actual values to the output of the SP. Any ideas greatfully received!
G
-Geeeeeeeeeeeeeeeeeeeeeeee-
I have the following query that returns the unique rows from a couple of tables...
SELECT DISTINCT GameOptionsMap.Value, GameOptionsMap.PositionID FROM playergamepositionmap
INNER JOIN GameOptionsMap ON (playergamepositionmap.GameID = GameOptionsMap.GameID)
WHERE playergamepositionmap.GameOutcome = 1 AND playergamepositionmap.PlayerID = 27
AND GameOptionsMap.GameOptionID = 2
What I want to do is return the number of rows returned by this query without returning any actual values to the output of the SP. Any ideas greatfully received!
G
-Geeeeeeeeeeeeeeeeeeeeeeee-