pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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



view thread (5+ messages)  latest in thread

Message-ID: <20030515200526.31852.qmail@linuxmail.org>
Permalink:  ../20030515200526.31852.qmail@linuxmail.org/
Also on:    postgresql.org/message-id/20030515200526.31852.qmail@linuxmail.org

 · 

reply

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