dcsimg
LinkedIn
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

Tip: Compare Only Alphabetic Values

Learn how to force a like condition to compare only alphabetic values.


advertisement

You can force a like condition to compare only alphabetic values. Here is how:

ORDER BY CASE WHEN LTrim(RTrim(Place.Name)) NOT LIKE '%[^0-9]%' THEN 1 ELSE 2 END, Place.Name

 

Visit the DevX Tip Bank

 



   
Email AuthorEmail Author
Close Icon
Thanks for your registration, follow us on our social networks to keep up-to-date