/*ALIAS>prop_db*/
/*Hist_TBL>SQL_UPDATES_INCOMES*/


/*SQLStart>7023*/
update RDB$FIELDS set
RDB$FIELD_LENGTH = 40,
RDB$CHARACTER_LENGTH = 40
where RDB$FIELD_NAME = (SELECT RDB$FIELD_SOURCE FROM RDB$RELATION_FIELDS
  WHERE RDB$RELATION_NAME='PAYTAKING' AND  RDB$FIELD_NAME='PT_PAYDOCNUM');
/*SQLStop>7023*/