SELECT Command? Messed again?

Поиск
Список
Период
Сортировка
Искать

SELECT Command? Messed again?

От:
"Daniel W. Forsyth" <forsyth@wchat.on.ca>
Дата:
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

Re: [SQL] SELECT Command? Messed again?

От:
Bruce Momjian <maillist@candle.pha.pa.us>
Дата:
> 
> 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)
FAQ