procedürlerde standart bi isim yok db'ye adam kafasına estiği gibi eklemiştir şu isimlerde bak bi ilk5q0 - clan - allq0 - grad0 - res - rank gibi ..
---------- Yorum eklendi 07:42'da ---------- Önceki yorum 07:37'da ----------
exec rank_knights
update knights set points = '1',ranking = '0'
update knights set points = '1',ranking = '1'
where idname = (Select strname from KNIGHTS_RATING where nrank = 1)
update knights set points = '1',ranking = '1'
where idname = (Select strname from KNIGHTS_RATING where nrank = 2)
update knights set points = '1',ranking = '1'
where idname = (Select strname from KNIGHTS_RATING where nrank = 3)
update knights set points = '1',ranking = '1'
where idname = (Select strname from KNIGHTS_RATING where nrank = 4)
update knights set points = '1',ranking = '1'
where idname = (Select strname from KNIGHTS_RATING where nrank = 5)
bu kodlar işine yarıyabilir belki..