Quick Ref.
Compatibility
SUBSTRING(s, i, j)
Engine OK Alternative
ingres yes SUBSTRING(s FROM i FOR j)
mysql yes SUBSTRING(s FROM i FOR j)
oracle no SUBSTR(s , i , j)
postgres yes SUBSTRING(s FROM i FOR j)
sqlserver yes

SUBSTRING

SUBSTRING allows you to extract part of a string.

 SUBSTRING('Hello world', 2, 3) -> 'llo' 

Results
See also: