Strange condition in Mysql query -
basically have edit someone's else code , query is:
delete some_table 1
googling around didn't find similar.
i can't understand condition. explain me please?
as written, delete rows (because 1
true). if want delete rows, more efficient use truncate table
:
truncate table some_table
one reason might want generate statement where 1
can add additional clauses afterwards.
Comments
Post a Comment