Re: Stripping white-space in SELECT statments

From: Thorbjörn Eriksson <thorbjorn(dot)eriksson(at)ec(dot)se>
To: <_pppp(at)mail(dot)ru>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Stripping white-space in SELECT statments
Date: 2002-09-19 11:41:25
Message-ID: MFEPJLNKECPAPFDGGEIMEENLCBAA.thorbjorn.eriksson@ec.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

By "our system" I mean the software that uses the database. It is a quit old
software written in C that has been ported a couple of times to different
*NIX platforms using different DBMS's. It uses in-house developed functions
that, depending on parameters, creates a variety of SQL statements that in
the end gets executed by PQexec (from libpq i guess).

> -----Ursprungligt meddelande-----
> Från: dima [mailto:_pppp(at)mail(dot)ru]
> Skickat: den 19 september 2002 13:08
> Till: thorbjorn(dot)eriksson(at)ec(dot)se
> Kopia: pgsql-sql(at)postgresql(dot)org
> Ämne: Re: [SQL] Stripping white-space in SELECT statments
>
>
> > If I want to search for records where the first column (artnrgrpmtrln_1)
> > begins with
> > '201901 ', our system that uses the database creates the following SQL
> > statement:
> >
> > select artnrgrpmtrln_1 from sr where (artnrgrpmtrln_1>='201901 ' and
> > artnrgrpmtrln_1<='201901 ÿ'
> what does "our system" mean?
>
>

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message CN LIOU 2002-09-19 14:11:13 How To Get Bytea Data Instead Of Its Oid
Previous Message Thorbjörn Eriksson 2002-09-19 11:20:38 Stripping white-space in SELECT statments