Subject | Re: [firebird-support] field name as parameter in stored procedure |
---|---|
Author | Martijn Tonies |
Post date | 2009-12-07T08:18:21Z |
Hello Maurizio,
If you want to make a dynamic SQL statement, take a look
at the EXECUTE STATEMENT statement in the Docs
folder.
With regards,
Martijn Tonies
Upscene Productions
http://www.upscene.com
Download Database Workbench for Oracle, MS SQL Server, Sybase SQL
Anywhere, MySQL, InterBase, NexusDB and Firebird!
Database questions? Check the forum:
http://www.databasedevelopmentforum.com
>i tried something likeParameters only work for -values- not for anything else.
>Update myTable set :myfield = .......
>
>... where myfield is a parameter of the procedure ,
>but it doesn't work ,
>is it possible to use a parameter as a a field name ?
If you want to make a dynamic SQL statement, take a look
at the EXECUTE STATEMENT statement in the Docs
folder.
With regards,
Martijn Tonies
Upscene Productions
http://www.upscene.com
Download Database Workbench for Oracle, MS SQL Server, Sybase SQL
Anywhere, MySQL, InterBase, NexusDB and Firebird!
Database questions? Check the forum:
http://www.databasedevelopmentforum.com