Bug with large IN query |
@michaelv,
You could easily test that yourself. All you have to do is test both queries in MySQL Workbench. Also, to give your query more flexibility try the query binding approach ( https://codeigniter.com/user_guide/datab...y-bindings ). PHP Code: $prod_list = array(12666,29593,20398,17415,..... over 1000 ids); |
Messages In This Thread |
Bug with large IN query - by michaelv - 07-25-2018, 07:08 AM
RE: Bug with large IN query - by php_rocs - 07-25-2018, 08:10 AM
RE: Bug with large IN query - by michaelv - 07-25-2018, 08:43 AM
RE: Bug with large IN query - by dave friend - 07-25-2018, 09:15 AM
RE: Bug with large IN query - by zurtri - 07-25-2018, 04:14 PM
RE: Bug with large IN query - by michaelv - 07-26-2018, 01:18 AM
RE: Bug with large IN query - by php_rocs - 07-26-2018, 08:56 AM
|