Quote:
Originally Posted by xExorcist
Okay use this to select the Data2 of the expert thing.
PHP Code:
SELECT DATA2 FTOM _TimedJob WHERE CharID = 'whatever'
now you get the required number simply add it to the other query.
|
You mean it`ll be like that?
Code:
if
(@JobID= '59704')
BEGIN
DECLARE @CharName16 Varchar (MAX)
Select @CharName16=CharName16 from _Char where CharID = @CharID
Begin
DELETE FROM _TimedJob WHERE Data2 between 1 AND 11000 AND CharID = @CharID
SELECT DATA2 FROM _TimedJob WHERE CharID = 'whatever'
end
end
Event tried this and didn`t work.
Code:
if
(@JobID= '59704')
BEGIN
DECLARE @CharName16 Varchar (MAX)
Select @CharName16=CharName16 from _Char where CharID = @CharID
Begin
DELETE DATA2 FROM _TimedJob WHERE CharID = 'whatever'
end
end