Hey I've been playing around with a sql command to do this and I botched it a couple of times and dropped all rows instead of the rows that had the field prefix I was targeting here is what I want to do DELETE * FROM table WHERE fieldname LIKE 'prefix_' but the above didnt do what I wanted. What have I done wrong? adbox
RenownedMedia provided the correct syntax for your SQL Statement. In your statement, the data had to exactly match "prefix_" in order to be deleted and none of your data matched that. Adding the percent sign acts as a wildcard. In this case, prefix_% means anything anything that begins with prefix_ %prefix_ means anything that ENDS in prefix_ %prefix_% means if the data contains prefix_ anywhere in the data, beginning, middle, or end.