The latter will almost certainly be faster, probably by a large margin. However, the former will be far simpler to set up and maintain. How about option C, create a full text index on your CLOB from option A, and use that? I know SQL Server and MySQL both support such indexes, I'd imagine others do as well. Or you could go with Verity.
cheers, barneyb On Thu, 3 Mar 2005 11:54:38 -0600, Greg Morphis <[EMAIL PROTECTED]> wrote: > Quick question... > I'm wanting to do a keyword search would be it best to > A. have one huge text field (varchar2 or clob) and search using like > '%keyword%' > or > B. set up the database where these search-a-ble words are each a row > themselves.. with an ID. > So you'd have 50+ fields with each searchable word or phrase has it's own row? > This is more of a preformance question.. > > -- > Auxilium meum a Domino -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197298 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

