Обсуждение: Re: [HACKERS] preprocessor question: prepare statement

Поиск
Список
Период
Сортировка

Re: [HACKERS] preprocessor question: prepare statement

От
Zeugswetter Andreas IZ5
Дата:
> >Could anyone tell me whether the EXEC SQL PREPARE statement is to be
> >interpreted by the preprocessor or during run-time?
> 
> run time
> 
> >That is can it be placed outside a function?
> 
> yes ?
> 
> > Does it have to stand above the DECLARE or EXECUTE
> > statement that references it or does it have to be executed prior to
> this
> > statement? 
> 
> no, only has to be executed prior 
> 
> > The DECLARE statement AFAIK is to be processed by the preprocessor.
> > Hopefully that one is correct too. :-)
> 
> yes :)
> 
> Andreas
> 


Re: [HACKERS] preprocessor question: prepare statement

От
Michael Meskes
Дата:
On Thu, Feb 04, 1999 at 12:47:54PM +0100, Zeugswetter Andreas IZ5 wrote:
> > run time

Good. That's how it works now.

> > >That is can it be placed outside a function?
> > 
> > yes ?

No. :-) Only declarations can be put outside I think.

> > no, only has to be executed prior 

Good.

> > > The DECLARE statement AFAIK is to be processed by the preprocessor.
> > > Hopefully that one is correct too. :-)
> > 
> > yes :)

Thanks.

Michael
-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael.Meskes@gmx.net          | Use PostgreSQL!