static void drop ( CallInfo callInfo , DB db , String tableName ) { String sql = String . format ( "DROP TABLE %s" , tableName ) ; db . access ( callInfo , ( ) -> { db . logSetup ( callInfo , sql ) ; try ( WrappedStatement ws = db . compile ( sql ) ) { PreparedStatement dropStmt = ws . getStatement ( ) ; dropStmt . execute ( ) ; } return 0 ; } ) ; }
Drop a table .