declare @i int
DECLARE @ROWS INT
SET @i=0
SELECT @ROWS=COUNT(*) FROM tbNews
while @i<@ROWS
begin
update tbNews set i_index=@i+281 WHere NEWSID=281+@i
set @i=@i+1
end
declare @i int
DECLARE @ROWS INT
SET @i=0
SELECT @ROWS=COUNT(*) FROM tbNews
while @i<@ROWS
begin
update tbNews set i_index=@i+281 WHere NEWSID=281+@i
set @i=@i+1
end
默認的:最高權限用戶:system 密碼:manager(我自己system) 管理員權限用戶:sys 密碼:change_on_install 普通用戶:scott