alter table tb_org_structurepicture_temp rename column c_oid to c_oid1; ALTER TABLE tb_org_structurepicture_temp ADD c_oid number(19); UPDATE tb_org_structurepicture_temp t SET t.c_oid = to_number(t.c_oid1); ALTER TABLE tb_org_structurepicture_temp DROP COLUMN c_oid1;