Thread: ≈ Olympiad Points
View Single Post
Old 04.04.2007, 06:55   #6
godfather
Архивный участник
 
Join Date: Oct 2005
Posts: 35
Default

Quote:
CREATE PROCEDURE dbo.lin_AddAllOlympiadBonusPoint
(
@season INT,
@step INT,
@bonus_point INT
)
AS
SET NOCOUNT ON

UPDATE user_nobless
SET olympiad_point = olympiad_point + @bonus_point

UPDATE olympiad
SET step = @step
WHERE season = @season

GO

this is my lin_AddAllOlympiadBonusPoint procdure
godfather is offline