Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-27-2010, 12:25 AM
ryder911
Hill Giant
 
Join Date: Jun 2002
Posts: 212
Default Changing an entire column

So I am trying to update the start zone on my server. I want all of the columns to be the same location - is there any way to do this other the by hand?
__________________
Chris---
Reply With Quote
  #2  
Old 02-27-2010, 12:51 AM
pfyon's Avatar
pfyon
Discordant
 
Join Date: Mar 2009
Location: Ottawa
Posts: 495
Default

Code:
update start_zones set start_zone=somezoneid
Since the above does not have a WHERE condition, it will apply it to every row in the table. You'll have to go through and make sure the rest of the columns in that table to make sure that it all works, but that's the syntax you'll need to use.

edit: You need to set somezoneid to whatever zone id you wanted to use.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:36 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3