I am getting the following error message with SQL Server 2005
Msg 120, Level 15, State 1, Procedure usp_AttributeActivitiesForDateRange, Line 18 The
You're missing a comma here:
[Local-User-ID] [Activity-Type]
Should be:
[Local-User-ID], [Activity-Type]