Re: Right-justification of column results

Поиск
Список
Период
Сортировка
От Joshua b. Jore
Тема Re: Right-justification of column results
Дата
Msg-id Pine.BSO.4.40.0204202337380.23923-100000@kitten.greentechnologist.org
обсуждение исходный текст
Ответ на Right-justification of column results  ("pinkrain ." <pinkrain@lycos.com>)
Список pgsql-novice
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Consider using lpad() to prepend stuff. lpad('text',5,'_') evaluates to
'_text'::text.

Joshua b. Jore
http://www.greentechnologist.org

On Fri, 19 Apr 2002, pinkrain . wrote:

> Hi,
>
> Is there any way of justifying the text in a column that is returned as a result of the SQL query?  This
(right-justificationof text in a column) has been asked of me, but intuitively, I can't think of a way to do it.  I'm
usingPgAccess to view the SQL results. 
>
> Thanks.
>
>
> See Dave Matthews Band live or win a signed guitar
> http://r.lycos.com/r/bmgfly_mail_dmb/http://win.ipromotions.com/lycos_020201/splash.asp
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (OpenBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8wkPmfexLsowstzcRAmIfAKDFkhj242hscxsJb1kOOL9W8kjTkwCfcdgQ
Th583AGN3do9WszTKz2GQCM=
=B4rs
-----END PGP SIGNATURE-----


В списке pgsql-novice по дате отправления:

Предыдущее
От: alberto bolchini
Дата:
Сообщение: Correctly quoting inside plpgql functions
Следующее
От: "Joshua b. Jore"
Дата:
Сообщение: Re: Permission denied when executing a query from a file