就像是:
select longcolumn (only 10 chars) from mytable;
我该怎么做?
SELECT substring(longcolumn for 10) FROM mytable; SELECT substring(longcolumn from 1 for 10) FROM mytable;