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?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire