php - What could possibly be wrong with this query in phpmyadmin? -


this query

update `sites_configuration` set `configuration_value`= `value`  `configuration_id` = 41 , `sites_id` = 2 limit 0, 30  

gives me error

#1064 - have error in sql syntax; check manual corresponds mysql server version right syntax use near ' 30' @ line 1 

what syntax error referring to? tried putting semicolon or wrapping statement in quotation marks, doesn't work.

as can see in mysql documentation can give rowcount in limit not offset.

update [low_priority] [ignore] tbl_name     set col_name1=expr1 [, col_name2=expr2 ...]     [where where_condition]     [order ...]     [limit row_count] 

cange query

update `sites_configuration` set `configuration_value`= `value`  `configuration_id` = 41 , `sites_id` = 2 limit 30  

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -