substring ..

Поиск
Список
Период
Сортировка
От Jeff MacDonald
Тема substring ..
Дата
Msg-id Pine.BSF.4.21.0012191505370.3386-100000@rage.hub.org
обсуждение исходный текст
Ответы RE: substring ..  ("Francis Solomon" <francis@stellison.co.uk>)
Re: substring ..  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Re: substring ..  ("Joel Burton" <jburton@scw.org>)
Re: substring ..  ("Robert B. Easter" <reaster@comptechnews.com>)
Re: substring ..  (Karel Zak <zakkr@zf.jcu.cz>)
Re: substring ..  (Jie Liang <jliang@jliang.ipinc.com>)
Список pgsql-sql
hi folks..

i want to do this to a datetime field..

select foo from table where substr(datefoo,1,11) = '2000-12-14';

it returns no results yet..

select substr(datefoo,1,11) does return some values that say
2000-12-14

any clues ?

Jeff MacDonald,

-----------------------------------------------------
PostgreSQL Inc        | Hub.Org Networking Services
jeff@pgsql.com        | jeff@hub.org
www.pgsql.com        | www.hub.org
1-902-542-0713        | 1-902-542-3657
-----------------------------------------------------
Facsimile : 1 902 542 5386
IRC Nick  : bignose
PGP Public Key : http://bignose.hub.org/public.txt



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

Предыдущее
От: Jie Liang
Дата:
Сообщение: Re: SQL query not working when GROUP BY / HAVING is used
Следующее
От: Jie Liang
Дата:
Сообщение: Re: question on SELECT