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

Invoke: SQL gurus. by Tomo2008-09-15 05:52:04
  You can't. by Arachnid 2008-09-15 06:15:28
SQL operates only on input and output rows as individual units; you can't use information from one row to calculate values for another.

Oracle has some extensions to perform this, but I'm pretty sure MySQL doesn't. You could do it with a stored procedure, though.
[ Reply ]
    Dammit. by Tomo2008-09-15 06:56:16
      Can MySQL do cursors? by MatthewDBA2008-09-15 07:44:15
        Yes it can, in the context of stored procedures. by Tomo2008-09-15 08:42:50

 

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