成人视屏在线观看-国产99精品-国产精品1区2区-欧美一级在线观看-国产一区二区日韩-色九九九

您的位置:首頁(yè)技術(shù)文章
文章詳情頁(yè)

Oracle如何對(duì)CLOB行字段來(lái)執(zhí)行全文檢索

瀏覽:161日期:2023-11-29 11:32:51
本文講解Oracle如何對(duì)CLOB行字段來(lái)執(zhí)行全文檢索。 大家知道,超過(guò)4000字的文本一般存儲(chǔ)在CLOB中(MSQL、Sysbase是存放在Text中),在Oracle8i版本,對(duì)大字段CLOB仍然不支持在where子句直接的Like操作,如何實(shí)現(xiàn)對(duì)存儲(chǔ)在CLOB字段中的內(nèi)容進(jìn)行Like查找呢? 下面的文章或則能給你幫助。雖然在SQL*PLUS中能實(shí)現(xiàn)用Select直接看到CLOB的內(nèi)容,但是如何通過(guò)DBMS_LOB包實(shí)現(xiàn)對(duì)中文環(huán)境下的CLOB內(nèi)容的讀取我一直沒(méi)有找到好的方法(使用Documents中提到的Samples只適用英文字符集),這極大的限制了使用第3方軟件開(kāi)發(fā)工作的自由度。 表結(jié)構(gòu): 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包中的過(guò)程函數(shù): 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.
主站蜘蛛池模板: 夜色www国产精品资源站 | aaa一级毛片免费 | 国产三级日产三级日本三级 | 亚洲一级毛片免费观看 | 亚洲久久视频 | 国产欧美日韩综合精品一区二区 | 亚洲欧美久久精品一区 | 三级中文字幕永久在线视频 | 亚洲国产成人在线视频 | 亚洲综合性 | 日本乱人伦片中文字幕三区 | 欧美一级片a | 国产成人精品日本亚洲专区6 | 免费一级特黄3大片视频 | 国产一级做a爱片久久毛片a | 国产精品7m凸凹视频分类大全 | 男人性天堂 | 一区一精品 | 国产大片免费天天看 | 日本加勒比在线视频 | 欧美一区永久视频免费观看 | 国产免费怡红院视频 | 免费一级毛片在线观看 | 国产伦精品一区二区三区精品 | 99久久国产| 免费播放国产性色生活片 | 欧美亚洲国产视频 | 欧美一级爆毛片 | 日本天堂视频在线观看 | 免费香蕉成视频成人网 | 高清一级毛片免免费看 | 亚洲精品在线观看视频 | 国产美女视频一区 | 久久99综合国产精品亚洲首页 | 久草新 | 欧美精品xx | 久久久精品久久久久三级 | 日本三级精品 | 国产精选一区 | 亚洲男女免费视频 | 国产欧美在线不卡 |