Groups | Blog | Home
all groups > sql server data mining > november 2003 >

sql server data mining : SQL substring


Guy Korland
11/12/2003 1:40:32 PM
Hi,
How can I comapre two fields if one is the a substing of the other?
Thanks,

Kai Boenke
11/12/2003 2:13:54 PM
[quoted text, click to view]

How about this one:
... where StringA like '%' + StringB + '%';

--
Kai Boenke, QI/LBS-Hi

Robert Bosch GmbH Hildesheim
Invotion
11/19/2003 12:30:06 PM
You could also accomplish this with a Full Text index
using CONTAINS.

Sincerely,
Invotion Engineering Team
Advanced Microsoft Hosting Solutions
http://www.invotion.com

[quoted text, click to view]
AddThis Social Bookmark Button