Does sqlsrv_query limit the number of statements that can be exectuted in one query?
问题 I am generating a SQL insert statement within a PHP for loop. The SQL string generated is a large number of individual SQL statements like this: INSERT INTO tbl VALUES(1,2,3); INSERT INTO tbl VALUES(4,5,6); INSERT INTO tbl VALUES(7,8,9); etc... Then I execute with: $InsertResult = sqlsrv_query($conn, $InsertSQL); The problem is that only the first 312 statements get executed instead of the full 2082 lines (only 312 rows are inserted into the table). When I output the $InsertSQL variable to