I am using something like this:
$scanned = DB::table("Persons")
->whereNotIn("Person_Id", $exclude)
->get();
The problem is $exclude has more than 2101 records, and I get the following error:
SQLSTATE[IMSSP]: Tried to bind parameter number 2101. SQL Server supports a maximum of 2100 parameters.
Is there a way around? how can I solve this?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/xwOMC81
via IFTTT
Aucun commentaire:
Enregistrer un commentaire