Re: Operator to compare numeric and double precision

Поиск
Список
Период
Сортировка
От Christoph Dalitz
Тема Re: Operator to compare numeric and double precision
Дата
Msg-id 20021028084359.7ed79396.christoph.dalitz@hs-niederrhein.de
обсуждение исходный текст
Ответ на Operator to compare numeric and double precision  (Terry Yapt <pgsql@technovell.com>)
Список pgsql-general
> Date: Sun, 27 Oct 2002 13:02:38 +0100
> From: Terry Yapt <pgsql@technovell.com>
>
> Are there any operator to compare numeric with double precision ?
>
Try the SQL-Function CAST (its part of the SQL2 standard), eg.

... WHERE doublefield = (CAST numericfield AS DOUBLE) ...

I don't know whether ODBC supports SQL-Functions directly; you will
probably need to use the "PASSTHROUGH" parameter.

Hope this helps,

Christoph Dalitz

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

Предыдущее
От: Savita
Дата:
Сообщение: Re: performance issue
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: performance issue