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 -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -