Olá !

Ymperyanos, será que algum de vocês poderiam me ajudar ?
É o seguinte, estou com problemas no meu Ranking de Hero, o mesmo não esta contabilizando ..
Eu ja coloquei ao contrário no site, ao inves de "DESC" coloquei "ASC" , ja rodei esta trigger

Código HTML:
SET QUOTED_IDENTIFIER ON 
GO
SET ANSI_NULLS ON 
GO

ALTER  TRIGGER [dbo].[RankingHeroPK]
ON [dbo].[Character]
after update
as
IF UPDATE(pkcount)
begin SET NOCOUNT ON;
Update [Character] set [Character].PkCountWebHero=PkCountWebHero+1,[Character].HeroDay=HeroDay+1,
[Character].HeroWeek=HeroWeek+1,[Character].HeroMonth=HeroMonth+1, pkcount=0
Where [Character].accountid=(SELECT accountid FROM Inserted)
and [Character].name=(SELECT name FROM Inserted) and [character].pkcount < 0
end
IF UPDATE(pkcount)
begin SET NOCOUNT ON;
Update [Character] set [Character].PkCountWeb=PkCountWeb+1,[Character].PKDay=PKDay+1,
[Character].PKWeek=PKWeek+1,[Character].PKMonth=PKMonth+1, pkcount=0
Where [Character].accountid=(SELECT accountid FROM Inserted)
and [Character].name=(SELECT name FROM Inserted) and [character].pkcount > 0
end

GO
SET QUOTED_IDENTIFIER OFF 
GO
SET ANSI_NULLS ON 
GO
Então, será que alguem de bom coração poderia me ajudar ?
Se for possivel, me passe tambem as JOB/QUERY para contabilizar e zerar o top HERO e PK Diário, Semanal e Mensal
Desde já, muito obrigado!

Att, Poower_Mix