I'm using a windows server 2012 R2 with IIS 8.5.9600.16384 and MSSQL 2008 R2 SP1 (10.50.2500.0). The version of PHP is 5.4.24.
Front-end error:
Code: Select all
Error displaying the error page: Application Instantiation Error: [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near the keyword 'WHERE'.SQL=SELECT * FROM ( SELECT [session_id] , ROW_NUMBER() OVER (ORDER BY (select 0)) AS RowNumber FROM [mwi13_session]) _myResults WHERE RowNumber BETWEEN 1 AND 1 WHERE [session_id] = 'e6147t7nk1sttupg3fi5sb8e81'
Code: Select all
Error displaying the error page: Application Instantiation Error: [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near ','.SQL=SELECT * FROM ( DELETE , ROW_NUMBER() OVER (ORDER BY (select 0)) AS RowNumber FROM [mwi13_session] WHERE [time] < '1395067805') _myResults WHERE RowNumber BETWEEN 1 AND 0