database - mysql bulk delete -


i'm doing bulk delete in mysql , works when 100 records fails syntax error thing.

my goal 10k records in every delete statement.

i'm not sure if has memory settings mysql.

if you're using sql editor, may need enable particular setting large deletes. example, in mysql workbench, it's this:

set sql_safe_updates=0; -- delete statement goes here set sql_safe_updates=1; 

Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -