Subject | RE: [firebird-support] Re: Help with trigger syntax - Email found in subject |
---|---|
Author | Leyne, Sean |
Post date | 2011-10-31T17:06:51Z |
> Thanks for the advise but I don't think that is the issue. If you remove theActually, that is the issue.
> second select statement it compiles and runs fine.
It is the 2nd SELECT which is the problem, so by removing it, you removed the problem.
To invoke the SendMail UDF, you should define a dummy variable, and then either:
SELECT SendMail(...) FROM RDB$Database INTO dummyvar;
OR
dummyvar = SendMail( ...);
Sean