Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 01-03-2005, 12:35 AM
Branks
Sarnak
 
Join Date: May 2004
Posts: 58
Default mysql

whats the command to add a value to a 2D table, a single values i mean, or is it only possible to replace the etire row? ive tried everything i can think of and it seems google and the help file have failed me. so it would be much appreciated if anyone knows, again i have a table with 2 indexes, and i need to replace only a few of the values, and commands such as "replace into 'table' where indexA = blah and indexB= blahblah values val1, val2, val3", just keep giving errors, i hope i explained that clearly enough and if anyone knows, thanks in advance.
Reply With Quote
  #2  
Old 01-03-2005, 12:47 AM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

update TABLENAME set COLUMN = VALUE where CONDITION
is probably what you want
Reply With Quote
  #3  
Old 01-03-2005, 01:13 AM
Branks
Sarnak
 
Join Date: May 2004
Posts: 58
Default

omg, thank you! that was just simple enough to confuse me for hours! =/
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 05:55 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