Redid Firebird query to fetch field information and updated data type method.