using vars in scripts

Поиск
Список
Период
Сортировка
От pablo sebastian rodriguez
Тема using vars in scripts
Дата
Msg-id cb75972f0606231737m6d959268jf0993db5fb82f323@mail.gmail.com
обсуждение исходный текст
Список pgsql-novice
hi,

i know this is silly, but i can't find the way...

with mssql i can do this:

declare @my_var varchar(20) ;
set @my_var = 'something' ;
select @my_var ;


with mysql it's even easier:

set @my_var = 'something' ;
select @my_var ;


but, with postgre ? i don't know how to do that...


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

Предыдущее
От:
Дата:
Сообщение: Re: Copy Data Question
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: really simple example of c-code and pqlib library