drop table clobTets
 create table clobTets(
 col1 nclob
 )
 select * from clobTets
 insert into clobTets values('11111')
 alter table clobTets add (col2 varchar2(4000))
 update clobTets set col2 = dbms_lob.substr(col1,4000)
 alter table clobTets drop column col1
 alter table clobTets rename column col2 to col1; 
 
 alter table clobTets add (col2 clob)
 update clobTets set col2 = col1
 alter table clobTets drop column col1
 alter table clobTets rename column col2 to col1;

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-04
  • 2022-12-23
  • 2021-10-18
  • 2022-01-24
  • 2021-07-22
相关资源
相似解决方案