Subject | Re: AW: [firebird-support] create a table every year |
---|---|
Author | Thomas Steinmaurer |
Post date | 2012-06-12T08:49:16Z |
>>> Hello,No direct DDL statement, but if this can involve user interaction via a
>>>
>>> I would like to save the old records in a separate table every year.
>>> On the
>>> end of the year I would Copy the empty main-table to an new table
>>> named like "Backup" and the old year for example. The new backup table
>>> needs no triggers.
>>>
>>> How can I realize this?
>>>
>> What's the problem?
>>
>> Kjell
>>
> I would not use a text-based ddl-string, the main-table has many columns. Is
> there a simple solution available? For example ""copy"" table etc.
tool, use "Duplicate Table" in Database Workbench, but you know, I'm
biased. ;-)
Regards,
Thomas