Subject | Re: [firebird-support] execute statement and in(variable) |
---|---|
Author | Martijn Tonies |
Post date | 2008-10-16T07:51:40Z |
Hello Olaf,
about [FOR] EXECUTE STATEMENT?
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
>I've a little problem with this:This isn't a Firebird error, are you using a tool that doesn't know
>
>CREATE PROCEDURE P_TEST(
>INPUTPARAM1 varchar(50))
>returns(
>menge double precision)
>AS /**/
>declare variable statement1 varchar(100);
>BEGIN
> statement1 = 'Select Menge from auftraege where auftrag_pos in('||
>inputparam1 || ')';
> for execute statement :statement1 into :menge do suspend;
>END
>
>The result is: Precompiler Error: parsing error - execute.
>Any ideas?
about [FOR] EXECUTE STATEMENT?
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