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

Re: string function

From: Frank Bax <fbax(at)sympatico(dot)ca>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: string function
Date: 2007-11-21 03:53:54
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-php
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:

Perhaps you meant to use ...

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

In response to

pgsql-php by date

Next:From: Richard Broersma JrDate: 2007-11-21 04:33:56
Subject: Re: VB ADODB .Open failing
Previous:From: Finn LassenDate: 2007-11-21 00:54:52
Subject: VB ADODB .Open failing

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group