Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: CGI Program To Delete Old Data From MySQL Table?

by talexb (Canon)
on Sep 30, 2013 at 15:50 UTC ( #1056380=note: print w/ replies, xml ) Need Help??


in reply to Re: CGI Program To Delete Old Data From MySQL Table?
in thread CGI Program To Delete Old Data From MySQL Table?

I wouldn't recommend running delete from <tablename>; -- that's going to delete everything from the table, leaving you with nothing.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.


Comment on Re^2: CGI Program To Delete Old Data From MySQL Table?
Download Code
Replies are listed 'Best First'.
Re^3: CGI Program To Delete Old Data From MySQL Table?
by Laurent_R (Prior) on Sep 30, 2013 at 16:50 UTC

    that's going to delete everything from the table

    Yes, including the records older than 60 days. The aim will have been reached. ;-)

      I'm happy to see that at least one Monk has some kind of humor. I forgot the irony tags. But with this kind of asking you can only get angry or sarcastic, IMO.

      Best regards
      McA

        I didn't downvote above but probably should. A sarcastic answer to punish one lazy hacker might bite neophyte seekers down the road who will ask with tears in glassy eyes: WHY? WHY DOES TEH PERL DO THIS TO ME?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1056380]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2015-07-08 06:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (96 votes), past polls