> >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
>