Re: [SQL] copying/moving from one table to another

2000-09-27 Thread Jie Liang
Hi, there, I do not quite sure is this what you want? 1. if newtable(one you want save) does not exist: select * into newtable from oldtable; or create table newtable as select * from oldtable; 2. if newtable existed, you append some record into it: insert into newtable select * from oldtable whe

[SQL] copying/moving from one table to another

2000-09-27 Thread Joachim Trinkwitz
Hi all, is there a handy way to copy or (preferrably) move a whole record from one table to another, equally structured table in the same DB? Background: I have some tables which hold information concerning our staff, where people quite so often come and go, because their employment contract is