sql - db2 alter column length named:"Group" -


"group" used column name wity 'char' type.

i have increase column length, following error message.

alter table "db2.faqa_group" specified attributes column "group" not compatible existing column.

alter table <table-name> alter column group set data type char(10) 

group reserved keyword why getting syntax error. however, can still alter column provided escape column name " "

alter table <table-name> alter column "group" set data type char(10) 

Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

What is the difference between data design and data model(ERD) -

ios - Can NSManagedObject conform to NSCoding -