sql - How find column data with special character at end -
i have column called houseinfo contains both alphabets, number , special characters.
column data format: aannnnx
where alphabet character a-z , n number 0-9 , x can contain both alphabet, number , special character eg 'ab1234a', 'ac32158' or 'dk8954;' or 'ds5466:' or 'sk1245>'
i trying write query finds column has special character @ end only. have tried in case have pass special character it.
select * testtable houseinfo '______[;,:,<,>,=]' is there way detect special chacter other number , alphabet character @ end position only?
what this
select * testtable houseinfo not '%[a-z0-9]'
Comments
Post a Comment