pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wei Weng <wweng@kencast.com>
To: pgsql-sql@postgresql.org
Subject: Is there anyway to do this?
Date: 18 Oct 2002 12:45:56 -0400
Message-ID: <1034959557.27181.3.camel@Monet> (raw)

I have a table 

               Table "Users"
  Column   |          Type          | Modifiers 
-----------+------------------------+-----------
 userid    | character varying(40)  | not null
 username  | character varying(64)  | 

I want to get all the distinct first character of all usernames. And do
it in a way that is the most portable to MS SQL server.

Is there anyway?

Thanks

-- 
Wei Weng
Network Software Engineer
KenCast Inc.





view thread (3+ messages)  latest in thread

Message-ID: <1034959557.27181.3.camel@Monet>
Permalink:  ../1034959557.27181.3.camel@Monet/
Also on:    postgresql.org/message-id/1034959557.27181.3.camel@Monet

 · 

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: wweng@kencast.com
  Subject: Re: Is there anyway to do this?
  In-Reply-To: <1034959557.27181.3.camel@Monet>

* 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