error executing query
SELECT * FROM (SELECT *, ROW_NUMBER() OVER (ORDER BY ID DESC) AS RowNum FROM qry_contestentries WHERE Entry_Date > '3/1/2009 12:00:00 AM' AND AdminID > 126 AND SubContestID=141 AND ISNULL(status_code,0) >= 0) AS PAGED_qry_contestentries WHERE PAGED_qry_contestentries.RowNum BETWEEN 161 AND 240;
Array ( [0] => Array ( [0] => HYT00 [SQLSTATE] => HYT00 [1] => 0 [code] => 0 [2] => [Microsoft][ODBC Driver 11 for SQL Server]Query timeout expired [message] => [Microsoft][ODBC Driver 11 for SQL Server]Query timeout expired ) )