解决sql developer 连接数据库总是断开
点击工具栏的“preference”--》"Contention" 勾选“check Contention”
在表中已经有值的时候修改表字段的类型 NUNBER修改为VARCHAR2
declareicount number;begin select count(*) into icount from user_tab_cols uc where uc.TABLE_NAME='CONVERTNUMBERTOVARCHAR' and uc.COLUMN_NAME='OBJECTID'; if icount = 0 then ----原来objectid 改名 objectid2 execute immediate' alter table CONVERTNUMBERTOVARCHA...