Assuming that the structure of the tables are identical, you could do a:
insert into new_table
select * from some_table;
If they are not the same you could do a:
insert into new_table (column1, column2)
select column1, column2 from some_table;
Cheers,
Wilco Boschman
"Jason" <jzhu(at)dental(dot)temple(dot)edu> schreef in bericht
news:9srij6$gre$1(at)cronkite(dot)temple(dot)edu(dot)(dot)(dot)
| I want to insert the existing values of one table into a new table. It
| needs the combination of these to sql commands:
|
| " insert into new_table values ( values_of_AtrributeA,
| values_of_AttributesB) "
| " select AttributeA, AttributeB from some_table "
|
| Thanks for your suggestions! -- Jason
|
|
|