Viewing 8 posts - 1 through 9 (of 9 total)
Hehe... thanks for all your help, the slimming down of this query has really sped up the results. Now all that is left...
September 10, 2007 at 1:00 am
that is exactly what I was trying to do... Thanks for all the help. Just one thing though, you need to prefix the cast columns with M. otherwise it gives...
September 10, 2007 at 12:37 am
Thanks alot, that works, but it fills every row with that statement, which isn't exactly what i want. I'll explain...
I want it only to mark the person who has requested...
September 7, 2007 at 8:14 am
@ Jeff: Thanks, I have just tested it and it works without the min statement.
@ ALZDBA: I will definitely look into BOL and SSC, but I have one last thing...
September 7, 2007 at 6:43 am
Thanks for the heads up on CTE... Much easier than my previous query and much faster when i tested it on the real table.
Here is the new stored procedure which...
September 7, 2007 at 6:14 am
excuse my ignorance... I am new to SQL Server.
Yes this is SQL Server 2005.
Can CTE's be used within a Stored Procedure? It works fine within SQL Server Management Studio if...
September 7, 2007 at 5:33 am
tblMPVLeaderBoard - is the main table that the data is taken from
and the create statement for that is
create table tblMPVLeaderBoard(
LeaderBoardID int,
Yearmonth varchar(50),
Alias nvarchar(40),
Country varchar(50) int,
PrizeAmount decimal(10,2)
)
and the insert statement...
September 7, 2007 at 4:49 am
Hi John.
I was able to come up with something that works exactly the way I need, but I think that it may be very server intensive if many people are...
September 7, 2007 at 4:41 am
Viewing 8 posts - 1 through 9 (of 9 total)