Subject | Re: [firebird-support] create a table every year |
---|---|
Author | Mark Rotteveel |
Post date | 2012-06-12T09:02:45Z |
On Tue, 12 Jun 2012 10:36:57 +0200, "Olaf Kluge" <olaf.kluge@...>
wrote:
move all records into that table at year end. Then there is no need to
create a table per year (and it is easier to provide a unified view on
'archived' records).
Mark
wrote:
> Hello,the
>
> I would like to save the old records in a separate table every year. On
> end of the year I would Copy the empty main-table to an new table namedIf it is just for backup, why not just create a single backup table and
> like
> "Backup" and the old year for example. The new backup table needs no
> triggers.
>
> How can I realize this?
move all records into that table at year end. Then there is no need to
create a table per year (and it is easier to provide a unified view on
'archived' records).
Mark