See Also
You are here: SQL Reference > SQL Functions and Operators > String Functions > SUBSTRING
ContentsIndexHome
PreviousUpNext
SUBSTRING
SUBSTRING

 

Syntax

SUBSTRING(input,start[,length])

 

Returns the portion of input starting at the character at start_int (where 0 is the first character). If length_int is specified and is greater than zero, only length_int characters of the string will be returned. 

If any of the arguments is NULL, the result will be NULL. If the substring requested doesn't fall entirely within the string, an error will be returned. 

 

 

Related