I have a Table with column firstName and lastName as String. Now want to take all unique first char of those column.my table have thousand of row in that table ,but i just want to have Is the any string function in SQL to do this?
One more thing I need to find only alphabets no special characters.As my table is big it contains firstname and lastname with special character i need to ignore them
EG:assume my table contains firstname entry as ::jack,tom,riddle,monk,*opeth
In that case my sql should return j,m,r,t
Try this: