EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   Question on Navicat Usage (https://www.eqemulator.org/forums/showthread.php?t=34155)

Emmeric 09-12-2011 12:17 PM

Question on Navicat Usage
 
I've been altering some spawn rates from Djerv's solo server setup using the spawn2 table in Navicat.

I figured there would be an easy mass way to change these spawn time numbers and I can select a column range just fine but any pasting of a number only effects one field. Navicat Help didn't list a solution either.

I can hold shift down to select multiple entries in a column. Is there a simple way to then change the data in the selected fields all at once? :?

sorvani 09-12-2011 12:48 PM

when you make a change, look at the bottom of the naivcat window you will see the actual SQL used to make the change.

You can copy that and tweak it a little to do a mass update.

UPDATE `Some_Table` SET `Some_Column` = Your_Value WHERE `Some_Other_Column` = Some_Value

Change the WHERE part to this
WHERE `Some_Other_Column` BETWEEN Some_Start_Value AND Some_End_Value


All times are GMT -4. The time now is 05:27 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.