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

Well, you people are right about MySQL... by bwkaz2007-05-09 10:31:47
  ouchie by dennismv2007-05-09 10:37:23
    Eeeew, Office... :-P by bwkaz 2007-05-09 10:47:29
(I don't run Windows. OO.o would probably work just as well, but I don't have that installed either, because I haven't needed it yet.)

I can hack a Python program together to pull all the records out of the database, figure out the required value for the Points field in each row (based on another WhoPlayedWhom table), and run an update easily enough. I just wish I didn't have to. :-)

(And I'm not comfortable changing lots of rows in the mysql client after this, either, so the "port them back to the database" part may not work either. At least with Python, I can just print out the update statement and the parameter values that it would use in each case, and double check them before running it "live".)
[ Reply ]
      ya by dennismv2007-05-09 11:02:23
      Sounds like it could be done with SQL by Arachnid2007-05-09 13:23:47
        one liner ? by dennismv2007-05-09 14:22:06
          Sure. CASE WHEN blah THEN foo ELSE bar END (n/t) by Arachnid2007-05-09 14:58:43
            mm thanks ! learn something new every day :) (n/t) by dennismv2007-05-09 15:27:05
        Eh, you may be right, but it's done already. :-) by bwkaz2007-05-09 16:07:27

 

[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.)