http://www.perlmonks.org?node_id=1013749


in reply to Re^2: Extracting only required length in a column in perl DBI
in thread Extracting only required length in a column in perl DBI

OP stated they're using Oracle, substring(col1 from 1 for 3) doesn't work (ORA-00907). substr.