I am using PostgreSQL, and I have a column in a table which contains very long text. I want to select this column in a query, but limit its display length.
Something lik
Slightly shorter:
SELECT left(longcolumn, 10) from mytable;