simplification of the method invocation sqlHistory and sqlDetails