Subject | Re: [firebird-support] Set generator values in Stored Procedure |
---|---|
Author | Martijn Tonies |
Post date | 2004-09-30T09:01:05Z |
Hi Tim,
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com
> I have a stored procedure that I use to empty out tables and set up anWell, not via SET GENERATOR.
> empty Database.
>
> Is there any way of setting generator values (to 0) in a stored procedure?
> Dropping and recreating the DB every time I want to reset it is a REALpain
> in the neck ...If you're using Firebird 1.5, use the EXECUTE STATEMENT statement.
>
> And so is dropping and recreating the generators, tables, and associated
> triggers.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com