Microsoft
Software
Hardware
Network
Question : how to search a clob field in Oracle database
I ran the following query however it is not returning any results:
select admin_content_id
from csp_tbl_article
where dbms_lob.instr(lower(conte
nt_body),'
%Times New Roman%',1,1) > 0
I know a result should be returned because the following record contains the value of Times New Roman in its CONTENT_BODY field:
<font face="Times New Roman" size="3"><p>article_trigge
r_1. 
I am adding body text now.</p>
I do not understand why no records are being returned. I also tried the following query:
select admin_content_id
from csp_tbl_article
where lower(content_body) like '%Times New Roman%'
Answer : how to search a clob field in Oracle database
lower(content_body) and '%Times New Roman%' are not compatible.
if the content is all lower case, you can't find "T" or "N" or "R"
try '%times new roman%' for the LIKE or 'times new roman' for the INSTR
Random Solutions
Exchange 2010 & GroupWIse 7
I am having trouble opening a .bat file in a VBA Excel Macro
Include C++ header files in .Net Application
Linked Servers to "Thunk" 64-bit to 32-bit OLEDB
Cannot open help files in WIN7
PHP Loading Bar
Is it possible to hide a map network drive?
2 IP to same windows 2003 server for RDP and VPN issue
How to figure out input value passed via XML
Your log in to the Switchboard timed out. Please click OK to reload or Cancel to quit.