[Info-Ingres] alter table alter column weirdness
- From: martin.bowes@xxxxxxxxxxxxx
- Date: Thu, 19 Jul 2007 14:12:12 +0100
Hi Everyone,
I'm running II 9.0.4 (a64.lnx/105)NPTL + p12125
I have two databases, one being a test version of the other. These are
copies of each other and both exist on the same Ingres installation.
In one table within each database I wish to change a column from not
null to nullable. The column is not part of any key on the table, there are
no secondary indexes on the table, there are no constraints on the
table.
So I did:
alter table odin_postal_reply alter column dob_str varchar(20) with
null not default;
This worked without a problem on the test version of the database. But
fails on the production version with error:
E_US0F13 ALTER TABLE: invalid change of attributes on an ALTER
COLUMN
I have confirmed the table has 4k page size in both, it is a journaled
table in both databases.
Anyone got any ideas what I've done wrong?
Martin Bowes
--
Random Farscape Quote #32:
John - I don't believe I've left a Nuclear bomb on an elevator.
Chiana - You've done worse.
- Prev by Date: Re: [Info-Ingres] SQL question - off topic
- Next by Date: Re: [Info-Ingres] alter table alter column weirdness
- Previous by thread: [Info-Ingres] Remote INGRES access through PHP?
- Next by thread: Re: [Info-Ingres] alter table alter column weirdness
- Index(es):
Relevant Pages
|
|