Re: [SQL] SELECT Command? Messed again? - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: [SQL] SELECT Command? Messed again?
Date
Msg-id 199806012137.RAA14852@candle.pha.pa.us
Whole thread Raw
In response to SELECT Command? Messed again?  ("Daniel W. Forsyth" <forsyth@wchat.on.ca>)
List pgsql-sql
>
> Hi there, I'm currently using 6.3.
>
> When I issue the command SELECT * FROM client_database WHERE client ~~
> '%%' it displays nobody, when i use 6.1 it works fine, as %% or %%%%
> defaults to every entry? Does anyone know what is going on?
>
> PS: Please help, the companies client database is quite important :-).
>

Actually, % is all that is needed.  %% is actually a single %, I think.
I had it wrong in earlier version, but it was fixed in 6.something.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-sql by date:

Previous
From: "Daniel W. Forsyth"
Date:
Subject: SELECT Command? Messed again?
Next
From: Walt Bigelow
Date:
Subject: problem with the 'date' data type and msaccess95 :(