The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

SQL is awesome. WilliamAshbless is also awesome. by Llyr2004-12-19 00:35:15
  Bah by Hoth2004-12-19 01:33:26
    *carefully backs away from obviously delusional by tnglives2004-12-19 01:59:08
      Not what I meant by Hoth 2004-12-19 02:57:43
>And if it's actually faster for you to open one table,
>retrieve a record, open another table, retrieve all records >attached to that ID, close the second table, and iterate

No, that's not what I mean at all. I know that's slow. What I do, inevitably, is add the needed field onto every table I want it queried with and make my PHP script update the values in all the tables at once when needed. Basically, I put PHP to work on making the table be such that I only need one query of the one table. That *is* faster. I find with large tables (and I'm working with a message board with aobut 235,000 records in the posts table) that it's the difference between the page loading and not loading.
[ Reply ]

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)