string function
string function
От:
"gunartha" <gunartha.nyoman@ptjas.co.id>
Дата:
Hi All,
Having a little issue, and cant seem to figure it out!
Every time I try to run this select command I get this error:
select left(kd_aln,2) as code from airlin
the error msg is : function left(character varying, integer) does not exist
How to resolve this problem
Thank for your attention
Regards
Nyoman/Bali
Re: string function
От:
Frank Bax <fbax@sympatico.ca>
Дата:
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