Mega Code Archive

 
Categories / PostgreSQL / String Functions
 

Substr(varchar 1234, 3)

postgres=# SELECT substr(varchar '1234', 3);  substr --------  34 (1 row) postgres=#