====== invalidSql ====== ~~NOTOC~~ == Syntax == string invalidSql() ===== Description ===== The function ''invalidSql()'' returns a list of invalid SQL statements collected by the performance monitor logSql feature, formatted as an HTML table. ===== Usage ===== /* * Connection to DB2 database */ $perf = newPerfMonitor($db); /* * Enable logging */ $db->logSql(); /* * Execute invalid SQL statement */ $SQL = "SELECT * FROM act where actno > 'A'"; $db->execute($SQL); $h = $perf->invalidSql(); ==== Output ==== {{:v5:performance:performance-invalid-sql.png?nolink}}