Subject | Re: [firebird-support] Dynamic SQL |
---|---|
Author | Martijn Tonies |
Post date | 2003-07-16T13:00:12Z |
Hi,
procedure dependin' upon some logic vatrchar variable ,and then execute it.
release notes for details on 'EXECUTE STATEMENT'.
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com
> Is there a way to execute dynamic SQL from within a stored procedure? Forexample, I've declared a VARCHAR and form the query in the stored in
procedure dependin' upon some logic vatrchar variable ,and then execute it.
>Yes, in Firebird 1.5 - there is such a thing. Check the Firebird 1.5
> It is something like 'Execute Immediate' in oracle & 'Exec' in SQL Server.
release notes for details on 'EXECUTE STATEMENT'.
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com