Quote:
Originally Posted by NagySandor96
USE SRO_VT_SHARD
set CanRepair = 0 where in (select ID from _refobjcommon where Codename128 like '%09%EARRING%')
I used the db's long time ago, im not sure about the earrings' codename... but you can figoure it out easily how it works...
NS
|
That query is wrong on so many levels I can't even count it.
UPDATE _RefObjCommon SET CanRepair = 0 WHERE CodeName128 LIKE 'ITEM_%_%_HEAVY_05_%_A_RARE'
(This will do it for CH/EU, Male + Female, Heavy Armor / Armor, 5th degree, ALL types of clothes, SOS)
% = anything
Use the example above and just build for whatever you need. I strongly advise you to "select" first and then "update" to prevent affecting rows you don't want to. Have fun.
https://www.w3schools.com/sql/sql_wildcards.asp