Unavailable change domain type for existed field
-------------------------------------------------
Key: CORE-5539
URL: http://tracker.firebirdsql.org/browse/CORE-5539
Project: Firebird Core
Issue Type: Bug
Affects Versions: 3.0.2
Environment: firebird 64 bit windows sqldialect = 1
Reporter: Konstantin Streletsky
my database has the following two domains:
CREATE DOMAIN DM_INTEGER AS
INTEGER;
CREATE DOMAIN DM_VC10 AS
VARCHAR(10) CHARACTER SET WIN1251
COLLATE WIN1251 ;
then I added a new table with column of type DM_INTEGER
CREATE TABLE NEW_TABLE (
TEST_FIELD DM_INTEGER);
but when I tried to change the type of the column
ALTER TABLE NEW_TABLE ALTER COLUMN TEST_FIELD TYPE DM_VC10;
I got an error:
This operation is not defined for system tables.
unsuccessful metadata update.
ALTER TABLE NEW_TABLE failed.
New size specified for column TEST_FIELD must be at least 11 characters.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel