Microsoft
Software
Hardware
Network
Question : CHARINDEX whole word match
I'm building SQL stored procedure logic that utilizes the "CHARINDEX" function. I'm trying to make CHARINDEX return only whole word matches. Such as:
A) CHARINDEX('fart', greasyFart) = 0
B) CHARINDEX('fart', 'greasy Fart) = 8
C) CHARINDEX('fart', 'greasy fart') = 8
Is this possible or am I attempting something that business logic should work out before SQL?
Answer : CHARINDEX whole word match
its possible, you can also use the PATINDEX
Random Solutions
Tools send mail to old Exchange server is there any way to forward these emails to new server.
How to get an auto incremented value in the primary key column in ms-access?
How to prevent duplicate records from being entered in Db.
.BFK file restore on windows 7
SQL 2008 express setup question
refreshing tree view
Everytime the computer boots up, i'm prompted with a "restart required now"
Syntax Error
how do you close x2 winforms programmically
System Process 95-100%