the default value works when you did not supply value to the column.in your case, insert into MODULE_ROLE values (null,null,1,null,1)
you are supplying NULL value to ADD_FLAG, UPDATE_FLAG and VIEW_FLAGYou can do it this wayinsert into MODULE_ROLE values (default,default,1,default,1)
OR just specify the column lists with valueinsert into MODULE (BIT , INPUT_USER) values (1, 1)
Anyway you should not omit the column lists in the INSERT INTO statement. The existing insert statement will not work when a new column is added to the table
KH[spoiler]Time is always against us[/spoiler]