|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Tuesday, April 23, 2013 8:00 AM
Points: 1,065,
Visits: 698
|
|
First thought: How can values like 'AA' be found with LIKE '_' ?
Zero rows. Click. Zero points.
Next time I will wait for the caffeine to do its work. I learned something, hope I remember it when I need it.
Dutch Anti-RBAR League
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Yesterday @ 6:14 AM
Points: 1,102,
Visits: 1,197
|
|
gserdijn (5/27/2010)
First thought: How can values like 'AA' be found with LIKE '_' ? Zero rows. Click. Zero points. Next time I will wait for the caffeine to do its work. I learned something, hope I remember it when I need it. I was surprised too. I watched it after one of my coworkers came with a question: "How it is possible, this query returned this data?" His pattern was little bit more complicated, something like '__[_]_[_][[]%'. And the best point: I could write a question with "It depends" option
See, understand, learn, try, use efficient © Dr.Plch
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Monday, May 13, 2013 11:21 AM
Points: 2,163,
Visits: 2,148
|
|
I almost picked "It Depends" because, but I thought no, it couldn't be possible with a standard VARCHAR. Learned another thing today, at the cost of a point.
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 9:29 AM
Points: 7,089,
Visits: 7,144
|
|
A beautiful question, which may have made some of the backwoodsmen notice that there are collations other than the one which fits US ASCII perfectly and fits nothing else. But I'm not holding my breath while waiting for the average US (or should that be "U/S"?) DBA or DB designer to notice our weird "foreign" collation stuff.
Tom Que conclure à la fin de tous mes longs propos? C'est que les préjugés sont la raison des sots. (Voltaire, 1756)
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Yesterday @ 6:14 AM
Points: 1,102,
Visits: 1,197
|
|
Tom.Thomson (9/22/2010) A beautiful question, which may have made some of the backwoodsmen notice that there are collations other than the one which fits US ASCII perfectly and fits nothing else. But I'm not holding my breath while waiting for the average US (or should that be "U/S"?) DBA or DB designer to notice our weird "foreign" collation stuff.
Thank you.
See, understand, learn, try, use efficient © Dr.Plch
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Wednesday, June 13, 2012 3:26 PM
Points: 566,
Visits: 341
|
|
Great question, thanks! I lost a point here, but it was well worth it as I hadn't even considered collation when I answered.
|
|
|
|