pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
SELECT Command? Messed again?
2+ messages / 2 participants
[nested] [flat]

* SELECT Command? Messed again?
@ 1998-06-01 21:16  Daniel W. Forsyth <forsyth@wchat.on.ca>
  0 siblings, 1 reply; 2+ messages in thread

From: Daniel W. Forsyth @ 1998-06-01 21:16 UTC (permalink / raw)
  To: 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 :-).

Thanks

-- 
Daniel W. Forsyth

DATAFORGE
PHONE: 905-632-9918  FAX: 905-632-1907



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [SQL] SELECT Command? Messed again?
@ 1998-06-01 21:37  Bruce Momjian <maillist@candle.pha.pa.us>
  parent: Daniel W. Forsyth <forsyth@wchat.on.ca>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 1998-06-01 21:37 UTC (permalink / raw)
  To: forsyth@wchat.on.ca; +Cc: 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)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1998-06-01 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-06-01 21:16 SELECT Command? Messed again? Daniel W. Forsyth <forsyth@wchat.on.ca>
1998-06-01 21:37 ` Bruce Momjian <maillist@candle.pha.pa.us>

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