135 Comments
- itsallgeektome, on 10/12/2007, -12/+292That's pretty funny. Obviously a programming error, how can someone be so stupid as to Update [Comments] set Com_comment_text='That's pretty funny. Obvious...' where C_ID=2147361 and User_id='itsallgeektome'
- RetroRufio, on 10/12/2007, -8/+231* may contain sql queries *
- sundancekid503, on 10/12/2007, -2/+219UPDATE tblUserComments SET digg_count=digg_count+1 WHERE comment_type = 'SQL Joke' AND blnFunny=1
-----------------
(0 row(s) affected) - clinko, on 10/12/2007, -11/+220That''s
(If you understand that, get back to work and stop reading digg.) - punch, on 10/12/2007, -10/+213Worst joke ever.
- liambarron, on 10/12/2007, -4/+191Too bad I am on a SELECT * FROM [Equipment Table] free diet.
- jcblitz, on 10/12/2007, -3/+130As long as you TRUNCATE and your thighs don't INNER JOIN you'll be fine.
- countmandible, on 11/15/2007, -12/+127What the hell do raisins have to do with political preference?
- spyrochaete, on 10/12/2007, -2/+111It's the PRIMARY KEY to a balanced diet.
- jasz, on 10/12/2007, -2/+102----------------------------
150 raisin(s) returned. - 10001110101, on 10/12/2007, -4/+100I would like to believe that if someone has the brains to do a photoshop that realistic that they would also be able to come up with a funnier joke for a bag of raisins.
- sidster1011, on 10/12/2007, -4/+88I'm allergic to SQL.
- kingkilr, on 10/12/2007, -4/+72Its ok to indulge every once in a while.
- strangewill, on 10/12/2007, -7/+64Yummmm, open source, where thousands of people have been TOUCHING IT.
- markdr123, on 10/12/2007, -2/+57"I'll always remember you, Fry...
MEMORY DELETED." - zephc, on 10/12/2007, -3/+55"You are one sexy man PHILLIP J FRY."
"It's amazing the way you NOTICE TWO THINGS" - noisymime, on 10/12/2007, -3/+53"Oh Fry... I love you more than the moon and the stars and the *POETIC IMAGE NUMBER 37 NOT FOUND*"
- HarryHunt, on 10/12/2007, -1/+41LOL, nice one!
The best "error" of that kind I ever saw was the instructions for an emergency brake in a train. It would start like "In case of an emergency, pull the lever with both hands" and then continue with "lorem ipsum dolor sit amet consectetuer..." for two more paragraphs. Made me laugh really hard. The worst part was that the instructions didn't look at all "temporary". I know without a pic to prove it, it didn't happen, but still... - inactive, on 10/12/2007, -7/+45@newstart
You're high. - mmalone, on 10/12/2007, -1/+36Reminds me of when I got a blockbuster "total access" video in the mail a while back that said it was item "1 of NULL" on the shipping label. I never returned the movie. And, surprise! Blockbuster never noticed.
I know, I'm a rebel. - stopple, on 10/12/2007, -8/+43whoever names tables and columns with spaces in them deserves to be dragged into the street and beaten
- UnFriendlyFire, on 10/12/2007, -2/+28I've heard of bugs in food before, but this is ridicules!
- inactive, on 10/12/2007, -10/+33Glad to see there are a lot of devs here =)
sundancekid503: You name your database tables with "tbl"? Isn't that a little redundant? - conman16x, on 10/12/2007, -2/+24You should write a book. People need to know about the CAN EAT MORE.
- bourgeoisie05, on 10/12/2007, -6/+23just DROP TABLE every once in a while and you'll be fine
- formergthing, on 10/12/2007, -3/+19@incabulos: Chiiiill buddy. Why not sit down and drink a glass of lemonade. All he was saying is that we don't need to bring politics into raisins. This has nothing to do with politics. He was just pointing that out, not saying bring politics into a story about raisins is only okay if it's conservatively-biased.
You might be retarded, but we still love you.
NO RAISINS FOR OIL!!!! - strangewill, on 10/12/2007, -4/+19@clinko:
Nice catch on the SQL joke error ;) - NoodleGuy, on 10/12/2007, -1/+16@donwilson2: I don't think it's redundant, it's "Systems Hungarian." I prefer "Apps Hungarian" but to each his own.
http://en.wikipedia.org/wiki/Hungarian_notation - dirtyhand, on 10/12/2007, -2/+16Why are there spaces in the column names?
- ahill7, on 10/12/2007, -4/+18WTF is running a "classics week" so this is a repost of an oldie (but goodie).
- bradkovach, on 10/12/2007, -3/+17I, for one, welcome our new SQL-providing dietitians!
- ThatsUnpossible, on 10/12/2007, -0/+13Well since the table and column names contain spaces, they brackets are required ... in any standards-compliant system.
- bashfulczar, on 10/12/2007, -3/+14RAIS(IN) ERROR.
- bryhhh, on 10/12/2007, -3/+13Well done. You spotted the real WTF.
- GeneralKickass, on 10/12/2007, -1/+11Sure is ridicules.
- dbalaski, on 10/12/2007, -2/+11HR needs the following SQL
> update employees
> set TERMINATED_FLAG = 'Y'
> where employee_id in (select employee_id from employees where JOB ='Packaging Proof-Reader' )
(being a DBA by trade -- i couldn't resist ) - LTetraX, on 10/12/2007, -0/+9http://www.juliangraves.co.uk/pages/history.html
A page on the company's site... notice the upper left corner. lol. - jordan314, on 10/12/2007, -0/+7Yeah that's what I could never figure out about stuff like this, since when does illustrator, indesign or photoshop or whatever use SQL to populate their data fields?
I'm guessing they must have had an ingredients database and some intern did some gross negligent copying and pasting. - gdm9000, on 10/12/2007, -0/+7It's written by an MS Access newbie. Access encourages that stupid naming convention.
- streetstealth, on 10/12/2007, -4/+11DROP INDEX political.namecalling
- bieber, on 10/12/2007, -2/+8I know I'm probably just stupid, but I completely missed the political humor here. Anyone want to point it out for a less-mentally-endowed brother?
- dbalaski, on 10/12/2007, -1/+6ahh your assuming MS-SQL-Server -- equally it could be Oracle, DB2, MYSQL, Postgres
- trogdoor, on 10/12/2007, -0/+5It was probably completely automated and for something so simple ( just text ) there would be no reason to use an application like Photoshop, and at least when I am programming ( especially with an unreasonable time constraint ) I get errors that I didn't even know were possible. One random possibility would be that the guy had one function to get the SQL query as a string and another that actually got the result of that query and he mixed them up. Doesn't seem that far fetched to me.
- Malhavoc, on 10/12/2007, -3/+7I've been writing SQL statements all day, so I definitely got a kick out of this :)
- fooplex, on 10/12/2007, -0/+4I noticed that too. You don't need to put the word "Table" into the name of your tables. They are obviously tables. Just like you don't need to put the word "Web Site" into the name of your web site. (How about DiggWebSite.com for instance?) In that case, all web sites would end with the word "WebSite.com" and all tables would end with "Table". All functions would end in the word "Function" and contain arguments ending in the word "Argument".
It's not necessary, and if anyone reading this is coding their variables and objects in this way, please stop. It's very annoying to the rest of us. - BIGGY350z, on 10/12/2007, -3/+7I'm a Crystal Reports developer and have made labels like that one. I really don't see how the code can get on there like that. I'm sure there's some way, but doesn't make much sense. Other than that, it's still pretty entertaining.
- ricosalomar, on 10/12/2007, -0/+4InDesign can populate text from SQL. Same with Quark. It's really the only way to do a 200+ page catalog.
- emadsenus, on 10/12/2007, -1/+5wow - you dorked that one up... how can you be a DBA?!
try...
> update employees
> set TERMINATED_FLAG = 'Y'
> where JOB ='Packaging Proof-Reader' - andyd273, on 10/12/2007, -0/+4its possible, just [really really stupid] because it messes everything up if you forget the []
- barryh777, on 10/12/2007, -0/+3I take it back. Here's the list of ingredients from Julian Graves web site, from which we can deduce that the missing data likely is the "glazing agents". The web site also has a picture of what the package should look like, but it is exceedingly lo-res.
Milk Chocolate (54%), (Sugar, Skimmed Milk Powder, Cocoa Butter, Cocoa Mass, Butter Oil, Lactose, Vegetable Oil, Whey Powder, Emulsifier: Soya Lecithin, Flavouring), Raisins (45%), Glazing Agents: Modified Tapioca Starch, Gum Arabic, Milk Chocolate contains, Cocoa Solids 20% minimum, Milk Solids 20% minimum
mmmmmm, glaaaazing agennnnts -
Show 51 - 100 of 133 discussions



What is Digg?
Check out the new & improved