Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

print/return only the first X chars of a varchar column?



Hi all;

I'm selecting from a table that has a varchar(1000) but I only want to display 
the firs 20 characters.  Looked at the string functions in the docs but nothing 
jumped out...

Suggestions?


Thanks in advance




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group