SQL help

Moriboe

King
Joined
Nov 30, 2010
Messages
662
Location
Belgium
I've been trying to change the required tech for all unit (worker/GP) builds that remove jungle or marsh, using SQL. I've got other SQL working before (moving all renaissance+ techs one column right), but after many variations of this one I've had no success:

UPDATE BuildFeatures
SET PrereqTech = 'TECH_BIOLOGY'
WHERE FeatureType = 'FEATURE_JUNGLE'
AND Remove = 'true';

UPDATE BuildFeatures
SET PrereqTech = 'TECH_BIOLOGY'
WHERE FeatureType = 'FEATURE_MARSH'
AND Remove = 'true';

I put an UpdateDatabase command for it in Actions. Any ideas are welcome! :)
 
Back
Top Bottom