Subject | Re: [firebird-support] flamerobin, declare a variable |
---|---|
Author | Mark Rotteveel |
Post date | 2011-06-12T14:41:16Z |
On 12-6-2011 16:22, firebirdsql wrote:
http://www.firebirdsql.org/refdocs/langrefupd20-execblock.html
--
Mark Rotteveel
> I'm executing a query and would like to use a variable in flamerobin, how would I do it? The following fails (I don't want to create a stored procedure or a function)Use EXECUTE BLOCK:
>
> DECLARE VARIABE test VARCHAR(25);
> test = 'a';
> SELECT *, :test FROM accounts;
http://www.firebirdsql.org/refdocs/langrefupd20-execblock.html
--
Mark Rotteveel