![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I messed around with the 'INSERT INTO' SQL command, but this assumes that the table you are 'selecting into' does not exist and you want to create that table. My problem is that the table exists and I just want to append the information to the archive table. |
#3
| |||
| |||
|
|
"Alan T. Miller" <amiller (AT) hollywood101 (DOT) com> writes: I messed around with the 'INSERT INTO' SQL command, but this assumes that the table you are 'selecting into' does not exist and you want to create that table. My problem is that the table exists and I just want to append the information to the archive table. I think you are looking for INSERT ... SELECT. See the INSERT man page or any book about SQL. regards, tom lane |
![]() |
| Thread Tools | |
| Display Modes | |
| |