|
On 4/20/2016 3:20 PM, Rob Berendt wrote:
In general, anything that changes the length or position of any fields in
the record format used by the program requires that the program be
recompiled.
Yep, that's what I thought too ... but it appears a columns default value effects it too.
I created a test table with the following SQL:
CREATE TABLE DEVDMGWRK/TEST1 (FIELD1 CHAR ( 10) NOT NULL WITH
DEFAULT 'ABC', FIELD2 CHAR ( 10) NOT NULL WITH DEFAULT)
The format level identifier on the table is '1E0C965CBDD7E'.
I then dropped the default from FIELD1
ALTER TABLE DEVDMGWRK/TEST1 ALTER COLUMN FIELD1 DROP default
Now the format level identifier is '1E0C9664BDD7E'.
It seems to me that the default value of a field should have nothing to do with the format of the file, just its contents.
david
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.