Problem with an SQL function

Поиск
Список
Период
Сортировка
От chris.gamble@CPBINC.com
Тема Problem with an SQL function
Дата
Msg-id 00CA54A79070D411A9E20090273CEF1C14F335@inet1.cpbinc.com
обсуждение исходный текст
Ответы Re: Problem with an SQL function
Список pgsql-general
Is it possible to define the following in language='SQL' ?

select (69.1 * $1 - $2) as x, (53 * $3 - $4) as y;
select sqrt(x * x + y * y) as distance;

I was trying to create this but keep getting the error that x does not
exist...

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