Re: Looks are important

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: "George Weaver" <georgew1(at)mts(dot)net>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Looks are important
Date: 2003-11-12 23:56:12
Message-ID: 200311121556.12887.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

George,

> SELECT RPAD(no,30,' ') || tableb.kind FROM tablea
> WHERE tablea.kind = tableb.kind

Try SELECT RPAD(no, (35 - LENGTH(tableb.kind)), ' ')

--
-Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message George Weaver 2003-11-13 03:14:34 Re: Looks are important
Previous Message Louise Cofield 2003-11-12 23:19:43 Re: Looks are important