Chin Chin - 1 year ago 91
SQL Question

Select only values that start with an uppercase letter in sqlite

I have a table with a column

. The values in this column can be capitalized or not (e.g. both "adam" and "Adam"). How can I select only values that are capitalized (start with an uppercase letter)?

Answer Source

If you're using SQLite3, you can employ the REGEXP expression

WHERE name REGEXP '^[A-Z]'

There's some good information in this answer regarding installation ~

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download