Column Editing
Column Editing
Okay I've been adding numbers to theroam column in mob_group sql for over an hour. I've barely made a dent. There's gotta be a way to edit an entire column at once. I have sublime, visual, and notepad++. Who's my hero?
Re: Column Editing
use an sql query?
Re: Column Editing
Yeah, we figured out how to write an update query.
Got another question though. How can I import a custom sql? Like, I have a custom item_mod sql that I usually just execute after item_mod, but I'd like to be able to add it so that it shows in Navicat and has its tables shown.
Got another question though. How can I import a custom sql? Like, I have a custom item_mod sql that I usually just execute after item_mod, but I'd like to be able to add it so that it shows in Navicat and has its tables shown.
Re: Column Editing
sql file is just a bunch of queries
since your queries have it'll run the queries on the item_mods table (since that's the table you're making changes to)
easiest way would be to write a separate SELECT query for your custom items and save it in navicat e.g.
SELECT * FROM item_mods WHERE itemid IN(itemid, anotheritemid, etc)
since your queries have
Code: Select all
UPDATE `item_mods`
easiest way would be to write a separate SELECT query for your custom items and save it in navicat e.g.
SELECT * FROM item_mods WHERE itemid IN(itemid, anotheritemid, etc)
Click here for a guide on scripting missions.<Giblet[NewBrain]> kj with this first step would be fine on my shit
Re: Column Editing
Okay. Always learning something new lol. Thanks all.demolish wrote:sql file is just a bunch of queries
since your queries haveit'll run the queries on the item_mods table (since that's the table you're making changes to)Code: Select all
UPDATE `item_mods`
easiest way would be to write a separate SELECT query for your custom items and save it in navicat e.g.
SELECT * FROM item_mods WHERE itemid IN(itemid, anotheritemid, etc)