I need to update a fairly wide non-indexed column for a very large
number of rows in several tables. One solution we were tossing around
was to avoid all the problems with performance and log space by
exporting the data to flat files, using an external program to make the
changes, then reload the data into the target tables. Preliminary tests
showed good results.
We ran into a problem where one table had a column defined as VARCHAR
FOR BIT DATA. Several of the rows had binary values that when exported
to flat files showed up as strange control characters and newline
characters which confused most text processing utilities. Is there a
way to get around this situation by materializing the data in a
non-binary format and reloading it as such?
Thanks,
Mike L. Bell
number of rows in several tables. One solution we were tossing around
was to avoid all the problems with performance and log space by
exporting the data to flat files, using an external program to make the
changes, then reload the data into the target tables. Preliminary tests
showed good results.
We ran into a problem where one table had a column defined as VARCHAR
FOR BIT DATA. Several of the rows had binary values that when exported
to flat files showed up as strange control characters and newline
characters which confused most text processing utilities. Is there a
way to get around this situation by materializing the data in a
non-binary format and reloading it as such?
Thanks,
Mike L. Bell
Comment