Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: deleting from a mysql database

by tachyon (Chancellor)
on Jan 06, 2004 at 12:10 UTC ( #319089=note: print w/replies, xml ) Need Help??


in reply to deleting from a mysql database

DELETE FROM table WHERE Name ! IN ( 'a', 'b', 'c' )

cheers

tachyon

Replies are listed 'Best First'.
Re: Re: deleting from a mysql database
by exussum0 (Vicar) on Jan 06, 2004 at 13:02 UTC
    Becareful /w large IN statements... they can slow down DB's if nested and/or are large.

    Update: they lack indexes, so where's on them can be quite slow.


    Play that funky music white boy..

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://319089]
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: (2)
As of 2023-05-28 00:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?