Quick Ref.
Functions
date
number
string
Data Types
date
number
string
Compatibility
LEFT(s, i)
Engine OK Alternative
mysql yes
oracle no SUBSTR(s , 1 , i)
postgres no SUBSTRING(s , 1 , i)
sqlserver yes

LEFT

LEFT(s,n) allows you to extract n characters from the start of the string s.

 LEFT('Hello world', 4) -> 'Hell' 

Results
See also: