Subject | Re: [firebird-support] SELECT from variable |
---|---|
Author | Martijn Tonies |
Post date | 2007-04-02T16:18:42Z |
>SELECT MAX(GENE) FROM TEMPORALPRUEBA1 WHEREUse a ":" in front of variable/parameter names when used in
>CLIENTID = MINCLIENTID INTO :IDMAX;
>
>and I'm getting the error
>Column unknown MINCLIENTID.
>
>MINCLIENTID is the name of a variable in the procedure:
>DECLARE VARIABLE MAXCLIENTID SMALLINT;
>DECLARE VARIABLE MINCLIENTID SMALLINT;
SQL statements.
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com