Like Operator??

gmatriix

Registered User.
Local time
Today, 03:52
Joined
Mar 19, 2007
Messages
365
Hello All,

I trying to use a LIKE operator on a couple of fields. If the first field is Like the second field then return results. Obviously, I'm not writing this right.

Code:
(CharlesPart.PartName LIKE RoutingPeram.PartName)

Any Ideas?

Thanks
 
Ok so I have never used SQL Sever but I am sure that Like is for partial string matches and wild cards not a simple = which what you need, I take it this is part of an If or Where clause.

Brian
 
Yes it is part of a Where Clause
 
Doing a like without a wildcard will make it act like an =
See the link provided by david for the wildcards
 

Users who are viewing this thread

Back
Top Bottom