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
TMG/ISA 2006 - Kerberos Authentication Issues
Incorrect syntax near 'MyReportServerTempDB'. (rsRPCError)
Grouping by pallet#
Problem trying to download files to the desktop via ftp using remote desktop....
How to specify OS variables from VFP
"Get External Data" disabled in Acess by Company...workarounds?
Event ID 5706, The system can not find SYSVOL, SCRIPTS in path specified.
Can I disable ListView column resizing?
ASP.NEt Error : "An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file "
SUMPRODUCT not working