Subject | Re: [Firebird-Architect] Exec. statement parameters |
---|---|
Author | Adriano dos Santos Fernandes |
Post date | 2007-12-14T13:25:29Z |
Alex Peshkov escreveu:
Another possibles syntaxes:
select * from proc with (x = 1, y = 2)
select * from proc set (x = 1, y = 2) -- set seems better outside
the parenthesis (but not very like UPDATE...SET)
Adriano
> On Friday 14 December 2007 16:08, Adriano dos Santos Fernandes wrote:I prefer :-) to have lists inside parenthesis, as others PSQL constructions.
>
>> select * from proc(set x = 1, y = 2);
>> execute statement 'select 1 from t where a = :a and b = :b' (set a =
>> 1, b = 2);
>>
>
> In that case () are not needed - just:
>
> select * from proc set x = 1, y = 2;
Another possibles syntaxes:
select * from proc with (x = 1, y = 2)
select * from proc set (x = 1, y = 2) -- set seems better outside
the parenthesis (but not very like UPDATE...SET)
Adriano