--TEST-- Simple Query Test --DESCRIPTION-- Basic verification of query statements (via "sqlsrv_query"): - Establish a connection - Creates a table (including all 28 SQL types currently supported) - Executes a SELECT query (on the empty table) - Verifies the outcome --ENV-- PHPT_EXEC=true --SKIPIF-- --FILE-- 0) { die("Table $tableName, expected to be empty, has $rows rows."); } sqlsrv_close($conn1); endTest($testName); } try { simpleQuery(); } catch (Exception $e) { echo $e->getMessage(); } ?> --EXPECT-- Test "Statement - Simple Query" completed successfully.