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 for
  Advanced Search

Re: string function



gunartha wrote:
select left(kd_aln,2) as code from airlin

the error msg is : function left(character varying, integer) does not exist



For a complete list of string functions, look here:

http://www.postgresql.org/docs/8.2/interactive/functions-string.html

Perhaps you meant to use ...

select substr(kd_aln,1,2) as code from airlin




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group