2

I am not a bona fide SQLizard, so this may be a naive question, but what's the difference between and ? Should they be one-and-the-same?

excerpt:

The LIKE operator is used to search for a specified pattern in a column.

excerpt:

The like operator in SQL allows you to compare strings using wildcards. While not as powerful as a regular expression, often it's good enough.

If yes, probably merge into , a la , , ( is a synonym of )

venn diagram

If no (as slugster suggests), perhaps clarify the tag excerpt/wiki (I'm not familiar with like as an operator, so I disqualify myself). Maybe rename it to (or is it used in other languages?)

11
  • Where did the image come from? Oct 5, 2014 at 20:10
  • Ok, I see it now... it is the distribution of questions with the specific tags. you may want to explain the image to eliminate confusion Oct 5, 2014 at 20:13
  • 4
    It's not a distribution per se, but a Venn diagram.
    – Nick T
    Oct 5, 2014 at 20:16
  • I couldn't think of the name off the top of my head... but yes. Still, the lack of a description makes it seems like it is blindingly obvious what the diagram represents, and it isn't Oct 5, 2014 at 20:19
  • There isn't any difference. Both tags look to be used arbitrarily to represent the same thing. Oct 5, 2014 at 20:46
  • I've just upvoted the synonym request here stackoverflow.com/tags/like-operator/synonyms Oct 5, 2014 at 20:53
  • 1
    VB has a Like operator for string operations which need not have anything to do with SQL (or facebook) Oct 5, 2014 at 20:56
  • 2
    @Plutonix the like operator tag wiki description indicates that the tag is specifically for SQL The like operator in SQL allows you to compare strings using wildcards. While not as powerful as a regular expression, often it's good enough.. Maybe that should be changed then. In practice I only can find a few questions using the tag for that though. Oct 5, 2014 at 21:03
  • @Plutonix: sounds like a vb-like-operator tag is called for then.
    – Martijn Pieters Mod
    Oct 5, 2014 at 21:13
  • 1
    @MartijnPieters my experience is that most people inclined to ask a LIKE related question are not that fussy about tags. just as likely to be tagged Microsoft, VisualStudio, visual, basic and .NET (many tagged as DO NOT USE) Oct 5, 2014 at 21:15
  • Was approved by the community vote. Feb 14, 2019 at 2:11

1 Answer 1

2

The is used to discern the comparison type 'like', the is the SQL specific version of that.

A clean up was started some time ago on the tag, as it was meaningless by itself - especially with the amount of facebook oriented questions that were coming in.

I'm pretty sure there's another question dealing with this somewhere, I'll see if I can dig it out.

4
  • 2
    especially with the amount of facebook oriented questions that were coming in -- facepalm Oct 6, 2014 at 0:15
  • The clean-up post is apparently deleted (10k+?)
    – Nick T
    Feb 18, 2015 at 21:25
  • Thanks @NickT, it's been deleted as it was off topic for Meta.SE, I'll see if I can get it moved back to this Meta.
    – slugster
    Feb 18, 2015 at 21:31
  • I may have duped it then (to downvotes) here meta.stackoverflow.com/q/286388/194586
    – Nick T
    Feb 18, 2015 at 21:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .