olisemalis
MIS
Hello,
I need a script to move some records from one table to another table (an history table). I need then to delete the moved records from the original table. Both tables are at the same databases. The fields are the same and the history table doesn´t have any keys defined. To define the records to move, I just need to specify a date to a datetime fields.
Certanly I will need to put this sql instruction in a begin/commit transaction.
Any help would be appreciate.
Thank you
I need a script to move some records from one table to another table (an history table). I need then to delete the moved records from the original table. Both tables are at the same databases. The fields are the same and the history table doesn´t have any keys defined. To define the records to move, I just need to specify a date to a datetime fields.
Certanly I will need to put this sql instruction in a begin/commit transaction.
Any help would be appreciate.
Thank you