if ( sqlStmt.startsWith("@") )
sqlStmt = FileManager.get().readWholeFileAsUTF8(sqlStmt.substring(1)) ;
getModTime().startTimer() ;
long queryTime = 0 ;
ResultSetJDBC rs = null ;
try {
rs = getModStore().getConnection().exec(sqlStmt) ;
queryTime = getModTime().readTimer() ;
if ( rs == null )
System.out.println("Executed with no errors or results") ;
else
{
if ( isQuiet() )
RS.consume(rs.get()) ;
else
RS.printResultSet(rs.get()) ;
}
} catch (SQLException ex)
{
System.err.println("SQL Exception: "+ex.getMessage()) ;
throw new TerminationException(9) ;