This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Searching words in VARCHAR2 & CLOB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Searching words in VARCHAR2 & CLOB" Watch "Searching words in VARCHAR2 & CLOB" New topic
Author

Searching words in VARCHAR2 & CLOB

yashendra chandrakar
Greenhorn

Joined: Mar 22, 2002
Posts: 22
hi
all,
i m using jdbc2.0,Oracle8.I want to provide search facility to client,for that i need to search client entered words in database table columns(with datatype VARCHAR2 & CLOB).should i get all the rows in resultset then serch that words usning jdbc method methods like
int position(String searchtext) of Clob class?
Or can i use any SQL query for that search so that i get only required rows in resultset?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Searching words in VARCHAR2 & CLOB