Are you going to just the first character?
select * from TestTable WHERE substr(TestNames,1) NOT LIKE '%[^a-zA-Z]%'
The substr function (can also be called as left () in some SQL languages) will help isolate the first char in a string for you.
edit: Maybe substr (TestNames, 1,1) in sqllite, I do not have a ready-made instance to check the syntax there.
Added:
select * from TestTable WHERE Upper(substr(TestNames,1,1)) NOT in ('A','B','C','D','E',....)
It does not seem optimal, but it will functionally work. Not sure which char commands should execute a series of letters in SQLlite.
I used the "top" to do this, so you donโt need to make lowercase letters in the instructions in the form ... curious hope SQLlite knows what it is.
source share