歡迎您光臨本站 註冊首頁
小知識  >  Oracle >

oracle中如何將long型的數據轉換為char型

admin @ 2017-12-03 reply:0
←手機掃碼閱讀

LONG類型列不能用大部分SQL函數。。建議ORACLE別用LONG 轉換可以INSERT 方法: 含有LONG的表table_with_long 需要創建個有CHAR的表:table_with_varchar begin for cv in ( select col_long from table_with_long) loop if instr(cv.col_long,'key_word') > 0 then insert into table_with_varchar(col_varchar) values (cv.col_long); end if; end loop; end;


[admin via ] oracle中如何將long型的數據轉換為char型已經有764次圍觀

http://coctec.com/room/show-497.html