- Yakov Werde
- PowerBuilder
- Thursday, 27 April 2017 05:34 PM UTC
Hello All,
We are about to expand and alter a frequently referenced column's size from char(2) to varchar(10) This column appears in multiple tables, is part of data integrity FKs and is referenced in 100's of DWOs. The impact on the application is wide ranging.
Datawindow syntax from go from (something like)
column=(type=char(2) updatewhereclause=yes name=state_province_code dbname="s1_feed_tax.state_province_code" )
To
column=(type=char(10) updatewhereclause=yes name=state_province_code dbname="s1_feed_tax.state_province_code" )
Since the PB IDE doesn't have a refactoring tool, I anticipate the need to edit source every occurance.
Aside from UI display issues, what are the ramifications of leaving the column type defined as char(2)? Will retrieving more than char(2) overflow the buffer ?
Assuming refactoring is required Is there a better way to refactor the DW syntax?
TIA
Yakov
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.