Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

Value-Range Pattern Matching in SQL Command

$
0
0

I like using the SQL Command under the Database Expert. However, I noticed that pattern matching against a range of values doesn't seem to work as it should.

I want to return all records whose ID# ends with an alphabetic letter. (Note that this ID field is a String)

When I use the following command, nothing shows up:

..... WHERE ID LIKE '%[A-Z]'

Some example values in the ID table:
26219A
23960B
26829C

Edit: (I also tried [a-z], doesn't work either)


Viewing all articles
Browse latest Browse all 1507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>