r/SQLServer•
Str8F4zed

Simple question involving the like operator

So I'm trying to perform a simple task - pull numbers from a table of representatives that have the area code 765.

The query functions properly when I write

WHERE X Like ("765*"

but not when I write

WHERE X Like "(765"

Why is this? What does that asterisk actually do that's making the difference?

Posted Sep 26, 2016, 6:16 AM UTC

16
Loading comments…