substitute variable in sql?

Поиск
Список
Период
Сортировка
От Johnson, Shaunn
Тема substitute variable in sql?
Дата
Msg-id 73309C2FDD95D11192E60008C7B1D5BB04C74131@snt452.corp.bcbsm.com
обсуждение исходный текст
Список pgsql-general
Running PostgreSQL 7.2.1 on RedHat Linux 7.2:  
 
I have a query where I have to replace the
date parameter each time I run the query.
 
Is there a way to substitute just the date
parameter in the sql without having to
edit the script, re-run and edit again?
 
(Quiet as it's been kept, this looks like a
job for Perl ...)
 
Thanks!
 
-X

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

Предыдущее
От: "Johnson, Shaunn"
Дата:
Сообщение: ps_dump -a
Следующее
От: Doug McNaught
Дата:
Сообщение: Re: substitute variable in sql?