I am trying to run a query to select values from a column in a table, which doesn't have space at specific position in the data in the column. i.e. first two positions.
Select test_col from A where SUBSTR(test_col, 0 ,2) <> ' '
So far, it's returning columns with have space in the beginning two position.
Any Suggestion.
Example:
test_col
Quick Brown Fox
Black Sheep
This a test
Mary had a little lamb
So the query should return Black Sheep and Mary had a little lamb.
test_colaVARCHARor aCHARcolumn?