Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Tools

Archive::Tools Archive area for Tools's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-18-2003, 01:22 AM
Marratook
Fire Beetle
 
Join Date: Dec 2003
Posts: 19
Default mysql control center-prolly stupid question:)

i have my query set to 1000, and it only show 1000 querys, but its always the first 1000 posts, ie items has about 26000 post if i want it to show that last 1000 post as 25000-26000 can i edit that somewhere?

Also if i want it to show post/ids 2455-3455 is there anyway to do this?

Or is the only way to set up query to like 30000, seems like it eat up alot of memory and a little slow.

Thx in advance

Marratook
Reply With Quote
  #2  
Old 12-18-2003, 02:13 AM
Muuss
Dragon
 
Join Date: May 2003
Posts: 539
Default

if you have an index field, lets say ID for example, which is a numerical value, you can add a ADD statement to your query, like WHERE ... AND ID>1000 (or whatever)

that's simple but still functionnal
__________________
Muuss - [PEQGC] Dobl, the ogre that counts for 2 !
http://www.vilvert.fr/page.php?id=10
Reply With Quote
  #3  
Old 12-18-2003, 02:38 AM
Marratook
Fire Beetle
 
Join Date: Dec 2003
Posts: 19
Default

Sounds great, but i am so bad at sql syntax so would be great if you help me with that

Ive tryed a few combos to see if i could find a good syntax

this already exists

Code:
SELECT  *
FROM `items`
Thx in advance

Marratook[/code]
Reply With Quote
  #4  
Old 12-18-2003, 03:53 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

http://www.1keydata.com/sql/sql.html
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #5  
Old 12-18-2003, 05:52 AM
Muuss
Dragon
 
Join Date: May 2003
Posts: 539
Default

select * from `items` where id>1000;
__________________
Muuss - [PEQGC] Dobl, the ogre that counts for 2 !
http://www.vilvert.fr/page.php?id=10
Reply With Quote
  #6  
Old 12-18-2003, 06:29 AM
lagmann
Fire Beetle
 
Join Date: Mar 2002
Location: Montreal, Canada
Posts: 3
Default Re: mysql control center-prolly stupid question:)

Quote:
Originally Posted by Marratook
i have my query set to 1000, and it only show 1000 querys, but its always the first 1000 posts, ie items has about 26000 post if i want it to show that last 1000 post as 25000-26000 can i edit that somewhere?
Here the query to return the last 1000 item :

Select * from items order by ID desc limit 1000;


Quote:
Originally Posted by Marratook
Also if i want it to show post/ids 2455-3455 is there anyway to do this?
Select * from items where (id between 2455 and 3455);

hope that help
__________________
If it move KILL IT! NO! NO! NO! Don't eat it!
Reply With Quote
  #7  
Old 12-18-2003, 07:35 PM
Marratook
Fire Beetle
 
Join Date: Dec 2003
Posts: 19
Default

Really great help guys.

Thx alot
Reply With Quote
  #8  
Old 12-19-2003, 10:09 AM
Kgaul
Hill Giant
 
Join Date: Apr 2003
Posts: 225
Default

also in Control Center you can right click the table you want to view and set your query to 10000 to get all, say, items.

just right click on your table highlight open table, then click return limited and enter the number of items you want to see...

Helps with NPC's and things


Kg
Reply With Quote
  #9  
Old 12-19-2003, 02:31 PM
Shawn319
Demi-God
 
Join Date: Jan 2002
Posts: 2,073
Default

Try mysql-Front (2.5).. its a really great program and i hear the people that used to use CC love it...


read bottom of my sig for a link.
__________________
Shawn319
Semi-Retired EQ Addict

(Retired)EQEmu Lead Tester
(Retired)EQEmu Tech Support

(Retired)Host/ServerOP - [LIVE] Official EQEmu Test Server
(Retired)Host/ServerOP - Shawn319's All-GM Dev Test Server
(Retired)ServerOP - EQEmu Beta Server
(Retired)ServerOP - GuildWars Server
(Retired)ServerOP - Raid Addicts
--------------------------
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:15 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