View Single Post
Old 05-06-2009, 11:58 PM   #6 (permalink)
allworknoplay
The Gregarious
 
allworknoplay's Avatar
 
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
allworknoplay is on a distinguished road
Default

Quote:
Originally Posted by Village Idiot View Post
You are not telling the database where to update, put a where clause at the end. Instead of modifying every row, mysql just doesn't do it (to do every row, do WHERE 1=1)
Good catch, that would be horrible to have all site names with the same name! Assuming that column is not unique....
allworknoplay is offline  
Reply With Quote