0

I need to calculate amount of spaces in string by this query

SELECT LEN(RTRIM(LTRIM('Im i student of the Academy')))-LEN(REPLACE('Im i student of the Academy',' ',''))  as Spacecount 

But i get "ORA-00923: FROM keyword not found where expected" Probably this question seems stupid but i really dont know how to deal with it

Максим
  • 113
  • 1
  • 1
  • 8

0 Answers0