BEGIN
Update _Items
SET MagParam2=876173328830, MagParam3=283467841986
WHERE ID64 IN (select ItemID from _Inventory where Slot IN (0,1,4) and CharID = (select CharID from _Char where CharName16 = @CharName))
Update _Items
SET MagParam2=283467841986,MagParam3=51539607997
WHERE ID64 IN (select ItemID from _Inventory where Slot IN (2,3,5) and CharID = (select CharID from _Char where CharName16 = @CharName))
Update _Items
SET MagParam2=51539607997,MagParam3=85899346375
WHERE ID64 IN (select ItemID from _Inventory where Slot IN (9,10,11,12) and CharID = (select CharID from _Char where CharName16 = @CharName))
END
BEGIN
Update _Items
SET MagParam2=876173328830, MagParam3=283467841986
WHERE ID64 = (select ItemID from _Inventory where Slot IN (0,1,4) and CharID = (select CharID from _Char where CharName16 = @CharName))
Update _Items
SET MagParam2=283467841986,MagParam3=51539607997
WHERE ID64 = (select ItemID from _Inventory where Slot IN (2,3,5) and CharID = (select CharID from _Char where CharName16 = @CharName))
Update _Items
SET MagParam2=51539607997,MagParam3=85899346375
WHERE ID64 = (select ItemID from _Inventory where Slot IN (9,10,11,12) and CharID = (select CharID from _Char where CharName16 = @CharName))
END
BEGIN
Update _Items
SET MagParam2=876173328830, MagParam3=283467841986
WHERE ID64 = (select ItemID from _Inventory where Slot IN (0,1,4))
Update _Items
SET MagParam2=283467841986,MagParam3=51539607997
WHERE ID64 = (select ItemID from _Inventory where Slot IN (2,3,5))
Update _Items
SET MagParam2=51539607997,MagParam3=85899346375
WHERE ID64 = (select ItemID from _Inventory where Slot IN (9,10,11,12))
END
Thanks so much Bro :*
Not Worked
if i use Execute got this problem
Msg 512, Level 16, State 1, Line 2
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
if i use Execute got this problem
Msg 512, Level 16, State 1, Line 2
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
if i use Execute got this problem
Msg 512, Level 16, State 1, Line 2
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
Sorry my fault, i've edited the query above, try once more.
instead of
WHERE ID64 =
you have to use
WHERE ID64 IN
Are you saying you never asked any questions when you where learning?
You got me so wrong, the problem is not the 'Asking' part but asking for a ready stuff isn't actually learning, we can help him learn with hints tips few help on his stuff and so then he will get experience and then we 'Actually helped him'
You got me so wrong, the problem is not the 'Asking' part but asking for a ready stuff isn't actually learning, we can help him learn with hints tips few help on his stuff and so then he will get experience and then we 'Actually helped him'
You do realize he attempted to do it himself first... couldn't... then asked...
He didnt ask for "ready stuff", he asked for help with his own attempt.
[Help] My Pet Query -_- 11/09/2012 - EO PServer Hosting - 1 Replies Ok i have no clue what im doing wrong can someone help me?
Query Before Entering it
Then After i enter it in console i get this
Error in console
# Nvm , fixed , was a space in the wrong spot XD
Some Query UseFul 04/11/2012 - SRO Private Server - 10 Replies Some Query UseFul
Some One By Me And Some No :D
Download
Password:King$
Query
[Suche]Query für "Alteklinge, Reichsklinge" &' Stichdolche NUR QUERY! 08/18/2010 - Metin2 Private Server - 1 Replies Ich weiß ich werd nervig aber ich suche die Query's
für Alteklinge, Reichsklinge &' Strichdolche
Why?
Naya, weil ich in der DB i-wie nur Drachenmaulglocke hab
... not more -.-
Auf jeden Fall Icon's etc. etc. etc. hab ich ich brauche nur die Query's
query 05/05/2010 - Metin2 Private Server - 0 Replies So es gab mal ein ttut wie man query fur navicat usen kan nur ich finde in nicht mehr hat jemand den link?