Subject | Re: [Firebird-Architect] Exec. statement parameters |
---|---|
Author | Adriano dos Santos Fernandes |
Post date | 2007-12-12T09:50:20Z |
Alex Peshkov escreveu:
I think something more or less:
EXECUTE STATEMENT S (@a = CURRENT_TRANSACTION, @b = CURRENT_CONNECTION);
would be ok. And I also want a syntax that could be used to call procedures:
select * from sp(@p1 = 1, @p2 = 2)
But @ is used to denote client parameters in ADO.NET. I think we need
opinions if this could cause problems.
Adriano
>> Don't introduce ambiguities with boolean expressions, please. :-)No, this is ambiguous with function call syntax.
>>
>
> EXECUTE STATEMENT S (a(CURRENT_TRANSACTION), b(CURRENT_CONNECTION));
>
> Does this look better for you?
I think something more or less:
EXECUTE STATEMENT S (@a = CURRENT_TRANSACTION, @b = CURRENT_CONNECTION);
would be ok. And I also want a syntax that could be used to call procedures:
select * from sp(@p1 = 1, @p2 = 2)
But @ is used to denote client parameters in ADO.NET. I think we need
opinions if this could cause problems.
Adriano