Jump to content

INSERT LIMITS


jaymc

Recommended Posts

Strictly speaking the INSERT command does not recognise LIMIT and a

 

INSERT ... SET col=... LIMIT 1 will fail as will INSERT  ... VALUES (...),(...) LIMIT 2 command

 

You can use LIMIT on an INSERT .... SELECT ... Command but there the LIMIT is an optional part of the SELECT command component, its use here should improve performance in many cases

 

Link to comment
https://forums.phpfreaks.com/topic/63219-insert-limits/#findComment-315427
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.