Re: PLPGSQL: DECLARE more variable with same type at once

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: PLPGSQL: DECLARE more variable with same type at once
Дата
Msg-id CAFj8pRCQMScbrX1gQLkKRVEOdWmKfZ4p6A-w64zLDpX7R+J7Pg@mail.gmail.com
обсуждение исходный текст
Ответ на PLPGSQL: DECLARE more variable with same type at once  (Durumdara <durumdara@gmail.com>)
Список pgsql-general


st 25. 3. 2020 v 13:53 odesílatel Durumdara <durumdara@gmail.com> napsal:
Hello!

I want to ask how to shortening code?

    Delta double precision;
    UjErtek double precision;
    UjDErtek double precision;

For example - but this makes an error:
    Delta, UjErtek, UjDErtek double precision;

Do you know any other form?

Short form not supported, because it is not supported in PLpgSQL origin - PL/SQL

Regards

Pavel

Thank you for it!

Best regards
   dd

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: PLPGSQL: DECLARE more variable with same type at once
Следующее
От: Ekaterina Amez
Дата:
Сообщение: Re: How to plpgsql scripting