Reformatting in firebird