Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Use command line argument in script

by soonix (Canon)
on Dec 19, 2014 at 10:08 UTC ( [id://1110831]=note: print w/replies, xml ) Need Help??


in reply to Use command line argument in script

to your second question: the DELETE deletes all records matching the WHERE clause, and does so in one go

This usually has better performance than doing it one record at a time. If you want to delete a date range (or all records with a date earlier than x), then the most effective way would be to modify your WHERE clause accordingly - of course, after having tested it extensively :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-26 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found