From: Cyber Join <cyberjoin@linuxmail.org>
To: pgsql-sql@postgresql.org
Subject: select 3 characters
Date: Fri, 16 May 2003 04:05:26 +0800
Message-ID: <20030515200526.31852.qmail@linuxmail.org> (raw)
Hi I need select the first 3 characters from a table
I try this but doesn't work
"SELECT left(data,3) AS value FROM table;"
i see the left function doesn't work what is the similar function in postgresql
Thanks
CJ
--
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr
Powered by Outblaze
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: cyberjoin@linuxmail.org
Subject: Re: select 3 characters
In-Reply-To: <20030515200526.31852.qmail@linuxmail.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox