Proper implementation for --technique=Q --dbms=Firebird