Database Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Click Here
Go Back   Codewalkers ForumsOther TechnologiesDatabase Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old January 15th, 2003, 02:52 AM
austinderrick2 austinderrick2 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 23 austinderrick2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Set Options???

In MySQL:

When using this code:
( SELECT t1.oid, MAX(t2.score) + MAX(t1.score) + MAX(t3.score) + MAX(t4.score) + MAX(t5.score) + MAX(t6.score) as score FROM whitetailtypical t1, whitetailnontypical t2, blacktailnontypical t3, blacktailtypical t4, mulenontypical t5, muletypical t6 WHERE t1.name=t2.name GROUP BY t1.name ORDER BY score DESC; )
it tells me to use the code SET OPTION SQL_BIG_SELECTS=1. Where would I put it in the code at?

Reply With Quote
  #2  
Old January 15th, 2003, 03:51 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Set Options???

wherever you are trying to run that first query at....

Reply With Quote
  #3  
Old January 15th, 2003, 12:35 PM
austinderrick2 austinderrick2 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 23 austinderrick2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Set Options???

Like just put it in the PHP code in a different query on the same page?

Reply With Quote
  #4  
Old January 15th, 2003, 12:36 PM
austinderrick2 austinderrick2 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 23 austinderrick2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Set Options???

or like this?

SET OPTION SQL_BIG_SELECTS=1;
SELECT t1.oid, MAX(t2.score) + MAX(t1.score) + MAX(t3.score) + MAX(t4.score) + MAX(t5.score) + MAX(t6.score) as score FROM whitetailtypical t1, whitetailnontypical t2, blacktailnontypical t3, blacktailtypical t4, mulenontypical t5, muletypical t6 WHERE t1.name=t2.name GROUP BY t1.name ORDER BY score DESC;

Reply With Quote
  #5  
Old January 18th, 2003, 01:10 PM
austinderrick2 austinderrick2 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 23 austinderrick2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Set Options???

? :

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesDatabase Help > Set Options???


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway