色综合图-色综合图片-色综合图片二区150p-色综合图区-玖玖国产精品视频-玖玖香蕉视频

您的位置:首頁技術文章
文章詳情頁

Oracle如何對CLOB行字段來執行全文檢索

瀏覽:139日期:2023-11-29 11:32:51
本文講解Oracle如何對CLOB行字段來執行全文檢索。 大家知道,超過4000字的文本一般存儲在CLOB中(MSQL、Sysbase是存放在Text中),在Oracle8i版本,對大字段CLOB仍然不支持在where子句直接的Like操作,如何實現對存儲在CLOB字段中的內容進行Like查找呢? 下面的文章或則能給你幫助。雖然在SQL*PLUS中能實現用Select直接看到CLOB的內容,但是如何通過DBMS_LOB包實現對中文環境下的CLOB內容的讀取我一直沒有找到好的方法(使用Documents中提到的Samples只適用英文字符集),這極大的限制了使用第3方軟件開發工作的自由度。 表結構: create table prodUCts( productid number(10) not null ,name varchar2(255) ,description CLOB) ;方法: SELECT productid, name FROM products WHERE dbms_lob.instr(products.description,'some text',1,1) > 0;下面列出了DBMS_LOB包中的過程函數: APPEND procedure Appends the contents of the source LOB to the destination LOB. CLOSE procedure Closes a previously opened internal or external LOB. COMPARE function Compares two entire LOBs or parts of two LOBs. COPY procedure Copies all, or part, of the source LOB to the destination LOB. CREATETEMPORARY procedure Creates a temporary BLOB or CLOB and its corresponding index in the user's default temporary tablespace. ERASE procedure Erases all or part of a LOB. FILECLOSE procedure Closes the file. FILECLOSEALL procedure Closes all previously opened files. FILEEXISTS function Checks if the file exists on the server. FILEGETNAME procedure Gets the Directory alias and file name. FILEISOPEN function Checks if the file was opened using the input BFILE locators. FILEOPEN procedure Opens a file. FREETEMPORARY procedure Frees the temporary BLOB or CLOB in the user's default temporary tablespace. GETCHUNKSIZE function Returns the amount of space used in the LOB chunk to store the LOB value.GETLENGTH function Gets the length of the LOB value. INSTR function Returns the matching position of the nth occurrence of the pattern in the LOB. ISOPEN function Checks to see if the LOB was already opened using the input locator. ISTEMPORARY function Checks if the locator is pointing to a temporary LOB. LOADFROMFILE procedure Loads BFILE data into an internal LOB. OPEN procedure Opens a LOB (internal, external, or temporary) in the indicated mode. READ procedure Reads data from the LOB starting at the specified offset.SUBSTR function Returns part of the LOB value starting at the specified offset. TRIM procedure Trims the LOB value to the specified shorter length. WRITE procedure Writes data to the LOB from a specified offset. WRITEAPPEND procedure Writes a buffer to the end of a LOB.
標簽: Oracle 數據庫
主站蜘蛛池模板: 免费观看a毛片一区二区不卡 | 久久免费激情视频 | 国产精品久久久久久久久99热 | 国产在线观看第一页 | 国产浮力第一页草草影院 | 美女黄色在线网站大全 | 中文字幕日本不卡 | 国产韩国精品一区二区三区久久 | 中文字幕成人 | 亚洲一区二区三区香蕉 | 国产a精品三级 | 视频日韩| 国产精品一区高清在线观看 | 久久亚洲欧洲日产国码 | 国产日韩一区二区三区在线观看 | 亚洲国产成人在线视频 | 日韩视频一区二区 | 欧日韩视频777888 | 国产成人高清一区二区私人 | 欧美成人看片黄a免费看 | 目韩一区二区三区系列片丶 | 国产极品一区 | 一区二区三区精品国产 | 国产自在自线午夜精品视频在 | 日本一区二区免费在线观看 | 男人天堂网在线观看 | 看片亚洲 | 一级一片一_级一片一 | 中文精品久久久久国产网址 | 国产成人综合久久精品红 | 国产手机在线精品 | 亚洲国产成人久久 | 亚洲国产午夜精品理论片的软件 | 国产啪精品视频网免费 | 精品三级国产一区二区三区四区 | 日本三级一区 | 欧美成人吃奶高清视频 | 深夜爽爽爽gif福利免费 | 久久亚洲精品无码观看不卡 | 成人精品一区二区激情 | 日本手机在线视频 |