On 03 Aug 2012 11:05, Paul Therrien wrote:
Alter Table should fail on a multi-membered file.  Not SQL-elian.
  Only some specific actions like ADD CONSTRAINT will be prevented for 
an SQL ALTER TABLE on multiple member [i.e. non-SQL TABLE] database 
files.  A simple ALTER COLUMN SET DATA TYPE CHAR(100), for example, will 
not prevented simply due to MAXMBRS(greater-than-1) nor actual member 
count greater than one.  An attempt to add a constraint for instance, 
would be diagnosed as an error and prevented by SQLCODE -7008.  A SQL 
TABLE with multiple partitions [implemented as members] are not 
restricted in the same manner.  The attempt to ALTER TABLE of a Source 
Physical File, however, I confirmed [on v5r3] fails with -7001; as "not 
a database [data] file" versus being due to multiple members.
 
As an Amazon Associate we earn from qualifying purchases.
	
 
This mailing list archive is Copyright 1997-2025 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.