Viewing 7 posts - 1 through 7 (of 7 total)
rbarryyoung Rocks!
Thank you Lord Vader!
September 16, 2008 at 10:44 am
I thought it was @@ for local variables?
Isn't order by new id() random?
September 16, 2008 at 8:34 am
There is something not quite right with the TOP syntax. Any idea?
Msg 156, Level 15, State 1, Procedure sp_GetInstantWinCodePlusUpdate, Line 16
Incorrect syntax near the keyword 'top'.
Msg 319, Level 15,...
September 16, 2008 at 8:33 am
Thanks!
September 11, 2008 at 8:34 am
OK, Thanks!
Just one more.. Can this be done? I have to count each for 20 different REFID's
CREATE PROCEDURE [dbo].[sp_CountByRefID]
@CountA as integer output,
@CountB as integer output,
@CountC as integer output,
@CountD...
September 10, 2008 at 9:24 pm
What if they were different tables?
CREATE PROCEDURE [dbo].[sp_CountAll]
@CountHigh as integer output,
@CountExams as integer output,
@CountStudents as integer output
As
SELECT @CountHigh = count( *) from exams where score between 36 and 52
SELECT...
September 10, 2008 at 8:03 pm
Thanks! you rock!
That works perfectly!
August 21, 2008 at 7:30 pm
Viewing 7 posts - 1 through 7 (of 7 total)