Hi,
On Mon, 2 Jun 2003, shoaib wrote:
> I want to run a process of archival which will delete data form one
> table and insert into another based on date critria.
If you've created the new table; then the following might be useful for
you:
INSERT INTO new_table SELECT * FROM old_table WHERE date_condition;
If you haven't creted the table; then use:
CREATE TABLE new_table AS SELECT * FROM old_table WHERE date_condition.
Regards,
--
Devrim GUNDUZ
devrim(at)gunduz(dot)org devrim(dot)gunduz(at)linux(dot)org(dot)tr
http://www.tdmsoft.com
http://www.gunduz.org